Discussing APIs and development related to customers, discounts, and order management.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hi,
We have changed the creation of discount codes in our app from REST API pricing rules and discount codes
PriceRule (shopify.dev) to new GraphQL API Getting started with discounts (shopify.dev).
The problem we are facing is when using methods discountCodeBasicCreate (shopify.dev) or discountCodeFreeShippingCreate (shopify.dev) we could not find an option to combine discount codes under one pricing rule as we could before. Here is an image from Shopify Discounts where discounts created with API are collected under one pricing rule.
Is this possible with the new GraphQL API?