DiscountCountriesInput

Version 2019-07 (Latest)

Specifies a list of countries to add or remove from the free shipping discount.

Show definition
"""
Specifies a list of countries to add or remove from the free shipping discount.
"""
input DiscountCountriesInput {
  """
  The country codes to add to the list of countries where the discount applies.
  """
  add: [CountryCode!]
  """
  Whether the discount code is applicable to countries that have not been defined in the shop's shipping zones.
  """
  includeRestOfWorld: Boolean = false
  """
  The country codes to remove from the list of countries where the discount applies.
  """
  remove: [CountryCode!]
}

Input Fields

add ([CountryCode!])

The country codes to add to the list of countries where the discount applies.

includeRestOfWorld (Boolean)

Whether the discount code is applicable to countries that have not been defined in the shop's shipping zones.

remove ([CountryCode!])

The country codes to remove from the list of countries where the discount applies.

Version 2019-10 (Release candidate)

Specifies a list of countries to add or remove from the free shipping discount.

Show definition
"""
Specifies a list of countries to add or remove from the free shipping discount.
"""
input DiscountCountriesInput {
  """
  The country codes to add to the list of countries where the discount applies.
  """
  add: [CountryCode!]
  """
  Whether the discount code is applicable to countries that have not been defined in the shop's shipping zones.
  """
  includeRestOfWorld: Boolean = false
  """
  The country codes to remove from the list of countries where the discount applies.
  """
  remove: [CountryCode!]
}

Input Fields

add ([CountryCode!])

The country codes to add to the list of countries where the discount applies.

includeRestOfWorld (Boolean)

Whether the discount code is applicable to countries that have not been defined in the shop's shipping zones.

remove ([CountryCode!])

The country codes to remove from the list of countries where the discount applies.

Sign up for a Partner account to get started.

Sign up