---
title: "DiscountShippingDestinationSelectionInput"
description: "Input field for the destination where the free shipping discount will be applied"
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-shipping-destination-selection-input'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/inputs/discount-shipping-destination-selection-input.md'
---
# DiscountShippingDestinationSelectionInput

Input field for the destination where the free shipping discount will be applied

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

## Type Signature

`DiscountShippingDestinationSelectionInput`

## Input Fields

* `all`

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

  Does the discount code apply to all countries?

* `countries`

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

  List of countries/regions where the discount code is applicable

## Schema Definition

```graphql
input DiscountShippingDestinationSelectionInput { 
	all: Boolean
	countries: DiscountCountriesInput 
}
```

## Input field from

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

  List of destinations eligible for the discount

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

  A list of destinations where the discount will apply.
  

## 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).

