Discount API

Discount API

vaibhavrathod
Shopify Partner
16 1 9

Can you please let us know in API how and which API we use for "Purchase type" in the discounts section?

 

Please review the below screenshot.

 

image.png

Replies 2 (2)

KB77
Shopify Staff
59 6 11

Hi @vaibhavrathod it appears the guide here https://shopify.dev/apps/subscriptions/discounts, covers selecting or setting discounts on subscriptions. Hope this helps!

KB77 | API Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

vaibhavrathod
Shopify Partner
16 1 9

Hey @KB77,

 

Actually, we are using REST discount API for creating discounts automatically, is there any way we can manage that API to discount code type?

Thank you in advance!