Discount types - combine discount codes

Shopify Partner
11 0 0



We have changed the creation of discount codes in our app from REST API pricing rules and discount codes 

PriceRule ( to new GraphQL API Getting started with discounts (
The problem we are facing is when using methods discountCodeBasicCreate ( or discountCodeFreeShippingCreate ( 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?




Replies 0 (0)