Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Discounts GraphQL for Subscriptions

Discounts GraphQL for Subscriptions

anon1923
Shopify Partner
2 0 1

Hello

Regarding GQL API https://shopify.dev/docs/api/admin-graphql/2024-01/queries/codeDiscountNode

Screenshot 2024-03-12 at 2.20.14 pm.png


The above discount code, has the following subscription specific properties 

Recurring payments for subscriptions

Recurring payments options

  • Limit discount to the first payment
  • Limit discount to multiple recurring payments
  • Discount applies to all recurring payments

 

What GQL query response syntax should I use to get these properties? They are not documented in the spec. 

Replies 0 (0)