DiscountShippingDestinationSelectionInput

Version 2019-07 (Latest)

Specifies the destinations where the free shipping discount will be applied.

Show definition
"""
Specifies the destinations where the free shipping discount will be applied.
"""
input DiscountShippingDestinationSelectionInput {
  """
  Whether the discount code applies to all countries.
  """
  all: Boolean = false
  """
  A list of countries where the discount code will apply.
  """
  countries: DiscountCountriesInput
}

Input Fields

all (Boolean)

Whether the discount code applies to all countries.

countries (DiscountCountriesInput)

A list of countries where the discount code will apply.

Version 2019-10 (Release candidate)

Specifies the destinations where the free shipping discount will be applied.

Show definition
"""
Specifies the destinations where the free shipping discount will be applied.
"""
input DiscountShippingDestinationSelectionInput {
  """
  Whether the discount code applies to all countries.
  """
  all: Boolean = false
  """
  A list of countries where the discount code will apply.
  """
  countries: DiscountCountriesInput
}

Input Fields

all (Boolean)

Whether the discount code applies to all countries.

countries (DiscountCountriesInput)

A list of countries where the discount code will apply.

Sign up for a Partner account to get started.

Sign up