stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > DiscountProductsInput

AdminTypes.DiscountProductsInput interface

The input fields for the products and product variants attached to a discount.

Signature:

export interface DiscountProductsInput 

Properties

Property Modifiers Type Description
productsToAdd?   InputMaybe<Array<Scalars[‘ID’][‘input’]>> (Optional) Specifies list of product ids to add.
productsToRemove?   InputMaybe<Array<Scalars[‘ID’][‘input’]>> (Optional) Specifies list of product ids to remove.
productVariantsToAdd?   InputMaybe<Array<Scalars[‘ID’][‘input’]>> (Optional) Specifies list of product variant ids to add.
productVariantsToRemove?   InputMaybe<Array<Scalars[‘ID’][‘input’]>> (Optional) Specifies list of product variant ids to remove.