API version: unstable
API version: 2021-01 Release candidate
API version: 2020-10 Latest
API version: 2020-07
API version: 2020-04
API version: 2020-01
API version: 2019-10 Unsupported
API version: 2019-07 Unsupported

DiscountCountriesInput input object

Version unstable

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

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 2021-01 (Release candidate)

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

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 2020-10 (Latest)

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

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 2020-07

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

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 2020-04

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

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 2020-01

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

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 (Unsupported)

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

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-07 (Unsupported)

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

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-04 (Unsupported)

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

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.