Discussing APIs and development related to customers, discounts, and order management.
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?