---
title: "DiscountCountriesInput"
description: "A list of countries where the discount code will apply."
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/inputs/discount-countries-input'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/inputs/discount-countries-input.md'
---
# DiscountCountriesInput

A list of countries where the discount code will apply.


- **API Version:** v20270301
- **API Type:** Admin
- **API Protocol:** GraphQL
- **Operation Type:** Input

## Type Signature

`DiscountCountriesInput`

## Input Fields

* `remove`

  [[String]](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/string.md)

  Country/region codes to be removed from the list of those eligible for discounts

* `add`

  [[String]](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/string.md)

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

* `includeRestOfWorld`

  [Boolean](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/boolean.md)

  Does the discount code apply to countries/regions not defined in the store's delivery areas

## Schema Definition

```graphql
input DiscountCountriesInput { 
	remove: [String]
	add: [String]
	includeRestOfWorld: Boolean 
}
```

## Input field from

* [DiscountShippingDestinationSelectionInput](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/inputs/discount-shipping-destination-selection-input.md).countries

  List of countries/regions where the discount code is applicable

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/graph-ql-admin-api/overview.md#status-and-error-codes).

