Discount API

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.

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

1 Like

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!