Discounts GraphQL for Subscriptions

anon1923
Shopify Partner
2 0 0

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)