Discussing APIs and development related to customers, discounts, and order management.
Regarding the Graphql API https://shopify.dev/docs/api/admin-graphql/2023-10/mutations/subscriptiondraftdiscountcodeapply, I want to know if the coupon options for combinations are applicable?
So for example, let's say I have two discounts with the following options:
And
If I apply both of these discounts to a subscription using the API subscriptionDraftDiscountCodeApply, and then create a billing attempt for this subscription, I see that both discounts are applied to the order on the same product:
According to the combination rules outlined in https://help.shopify.com/en/manual/discounts/combining-discounts/discount-combinations, if two product discounts are applicable to the same product, only one of them should be applied. Is this expected, or am I doing something incorrectly?
Thank you!