DiscountProductsInput input object

Version unstable

Specifies the products and product variants attached to a discount.

Input fields

  • productVariantsToAdd ([ID!])

    Specifies list of product variant ids to add.

  • productVariantsToRemove ([ID!])

    Specifies list of product variant ids to remove.

  • productsToAdd ([ID!])

    Specifies list of product ids to add.

  • productsToRemove ([ID!])

    Specifies list of product ids to remove.

Version 2021-10 (Release candidate)

Specifies the products and product variants attached to a discount.

Input fields

  • productVariantsToAdd ([ID!])

    Specifies list of product variant ids to add.

  • productVariantsToRemove ([ID!])

    Specifies list of product variant ids to remove.

  • productsToAdd ([ID!])

    Specifies list of product ids to add.

  • productsToRemove ([ID!])

    Specifies list of product ids to remove.

Version 2021-07 (Latest)

Specifies the products and product variants attached to a discount.

Input fields

  • productVariantsToAdd ([ID!])

    Specifies list of product variant ids to add.

  • productVariantsToRemove ([ID!])

    Specifies list of product variant ids to remove.

  • productsToAdd ([ID!])

    Specifies list of product ids to add.

  • productsToRemove ([ID!])

    Specifies list of product ids to remove.

Version 2021-04

Specifies the products and product variants attached to a discount.

Input fields

  • productVariantsToAdd ([ID!])

    Specifies list of product variant ids to add.

  • productVariantsToRemove ([ID!])

    Specifies list of product variant ids to remove.

  • productsToAdd ([ID!])

    Specifies list of product ids to add.

  • productsToRemove ([ID!])

    Specifies list of product ids to remove.

Version 2021-01

Specifies the products and product variants attached to a discount.

Input fields

  • productVariantsToAdd ([ID!])

    Specifies list of product variant ids to add.

  • prod