DiscountCollectionsInput

Version 2019-04

Specifies the collections attached to a discount.

Show definition
"""
Specifies the collections attached to a discount.
"""
input DiscountCollectionsInput {
  """
  Specifies list of collection ids. This argument is deprecated: Use `add` and `remove` instead.
  """
  collectionIds: [ID!]
}

Input Fields

collectionIds ([ID!])

Specifies list of collection ids. This argument is deprecated: Use add and remove instead.

Version 2019-07 (Latest)

Specifies the collections attached to a discount.

Show definition
"""
Specifies the collections attached to a discount.
"""
input DiscountCollectionsInput {
  """
  Specifies list of collection ids to add.
  """
  add: [ID!]
  """
  Specifies list of collection ids to remove.
  """
  remove: [ID!]
}

Input Fields

add ([ID!])

Specifies list of collection ids to add.

remove ([ID!])

Specifies list of collection ids to remove.

Version 2019-10 (Release candidate)

Specifies the collections attached to a discount.

Show definition
"""
Specifies the collections attached to a discount.
"""
input DiscountCollectionsInput {
  """
  Specifies list of collection ids to add.
  """
  add: [ID!]
  """
  Specifies list of collection ids to remove.
  """
  remove: [ID!]
}

Input Fields

add ([ID!])

Specifies list of collection ids to add.

remove ([ID!])

Specifies list of collection ids to remove.

Sign up for a Partner account to get started.

Sign up