Happy Business Starts Here

Highlighted
Zuora Support

How do you import usage file via rest API?

Question:

How do you import usage file via rest API?

 

Solution:

Below are the steps we need to follow to upload a usage file:

 

Step 1:

We need to download the usage template file from the below KC article:

https://knowledgecenter.zuora.com/Billing/Billing_and_Payments/J_Billing_Operations/Usage/C_Import_U...

 

Step2:

Post downloading and fill all the mandatory columns which are required as per the above link, it can be a single line and Many lines in a single file, We recommend that you use the following CSV format for better upload.

 

Step3:

Then we need to use the postman tool to upload the usage file in the tenant and follow the endpoint URL from the https://www.zuora.com/developer/api-reference/#tag/Usage

 

Step4:

Below is the configuration which we need to set in the postman tool:

 

Key = Content-Type and Value= multipart/form-data

1.PNG

 

Key= file(mandatory)

2.PNG

 

Step:5

Upload the file(CSV format is recommended for better upload) in the value option, then execute it, then the response will get check import status result:

7.PNG

 

Step 6:

Then the status of the upload can be viewed:

8.PNG

 

More on: 

https://knowledgecenter.zuora.com/Billing/Billing_and_Payments/J_Billing_Operations/Usage/C_Import_U...






If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √