DiscountCountries

Version 2019-07 (Latest)

The shipping destination where the discount applies.

Show definition
"""
The shipping destination where the discount applies.
"""
type DiscountCountries {
  """
  The codes for the countries where the discount can be used.
  """
  countries: [CountryCode!]!
  """
  Whether the discount is applicable to countries that have not been defined in the shop's shipping zones.
  """
  includeRestOfWorld: Boolean!
}

Fields

countries ([CountryCode!]!)

The codes for the countries where the discount can be used.

includeRestOfWorld (Boolean!)

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

Version 2019-10 (Release candidate)

The shipping destination where the discount applies.

Show definition
"""
The shipping destination where the discount applies.
"""
type DiscountCountries {
  """
  The codes for the countries where the discount can be used.
  """
  countries: [CountryCode!]!
  """
  Whether the discount is applicable to countries that have not been defined in the shop's shipping zones.
  """
  includeRestOfWorld: Boolean!
}

Fields

countries ([CountryCode!]!)

The codes for the countries where the discount can be used.

includeRestOfWorld (Boolean!)

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

Sign up for a Partner account to get started.

Sign up