Questions, troubleshooting, and feedback on Subscription APIs
Hi.
I would like to make sure my understanding of the subscriptionDraftDiscountCodeApply mutation is correct.
Let's say I create a discount code that can only be used once for an order (per customer) and apply it to a subscription contract using the subscriptionDraftDiscountCodeApply mutation. Will the discount only apply to the next order of the subscription and not to the orders that come after?
Or do I have to do something else to ensure that the discount code applies to a contract correctly?
Thanks.
Solved! Go to the solution
This is an accepted solution.
Hi DanielTehrani,
The `subscriptionDraftDiscountCodeApply` will apply a discount code to a `ContractDraft` that later on can be committed to create a real contract.
The discount code for subscription will have it's own rules, so the discount needs to have the `pruchase type` as subscriptions or both:
After that, on the usage limit rules you will have the options:
This is an accepted solution.
Hi DanielTehrani,
The `subscriptionDraftDiscountCodeApply` will apply a discount code to a `ContractDraft` that later on can be committed to create a real contract.
The discount code for subscription will have it's own rules, so the discount needs to have the `pruchase type` as subscriptions or both:
After that, on the usage limit rules you will have the options:
Thanks, this clarified things.
User | RANK |
---|---|
3 | |
3 | |
1 | |
1 | |
1 |
Thanks to all who participated in our AMA with 2H Media on planning your 2023 marketing bu...
By Jacqui Mar 30, 2023Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023