Discount types - combine discount codes

Ufi
Shopify Partner
11 0 0

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?

Ufi_0-1710835706998.pngUfi_1-1710835711238.png

 

 

Replies 0 (0)