Happy Business Starts Here

How to get all promos details in the API call

Highlighted
Zuora Support

How to get all promos details in the API call

Questions: How to get all promos details in the single API call? We have a lot of promo codes in our promo code app but getting only the first 20 promos. I want all promos available in the API response. Is there any way to get all promos in the API call?

 

Answers:

No, not possible to get all promos in the single API call. This is not a tool issue, the app was designed like this. As per the design, you will get only 20 promos per page. Please add ?page=2 parameter in the URL, you will get another 20 promo code details and likewise you have to view another set of details.

End Point URL: https://promotion-codes.apps.zuora.com/api/v1/tools/promos?page=2

 

Promocode_page2.png

Hopefully, the above information could help to address your inquiry, and please feel free to let me know if you need further assistance.




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