---
title: "DiscountCombinesWithInput"
description: "Determine which discounts can be combined with this discount"
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-combines-with-input'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/inputs/discount-combines-with-input.md'
---
# DiscountCombinesWithInput

Determine which discounts can be combined with this discount

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

## Type Signature

`DiscountCombinesWithInput`

## Input Fields

* `productDiscounts`

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

  Combines with product discounts.

* `shippingDiscounts`

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

  Combines with shipping discounts.
  

* `orderDiscounts`

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

  Combines with order discounts.
  

## Schema Definition

```graphql
input DiscountCombinesWithInput { 
	productDiscounts: Boolean
	shippingDiscounts: Boolean
	orderDiscounts: Boolean 
}
```

## Input field from

* [DiscountAutomaticBasicInput](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/inputs/discount-automatic-basic-input.md).combinesWith

  Identify which discount levels can be stacked with this discount.

* [DiscountAutomaticAppInput](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/inputs/discount-automatic-app-input.md).combinesWith

  Identify which discount levels can be merged with this discount.

* [DiscountCodeBxgyInput](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/inputs/discount-code-bxgy-input.md).combinesWith

  Determines which discount classes the discount can combine with.

* [DiscountAutomaticDoniInput](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/inputs/discount-automatic-doni-input.md).combinesWith

  Determines which discount classes the discount can combine with.

* [DiscountAutomaticBxgyInput](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/inputs/discount-automatic-bxgy-input.md).combinesWith

  Determine which discount levels can be combined with this discount

* [DiscountCodeBasicInput](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/inputs/discount-code-basic-input.md).combinesWith

  Determine which discount levels can be combined with this discount

* [DiscountAutomaticPfntInput](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/inputs/discount-automatic-pfnt-input.md).combinesWith

  Determines which discount classes the discount can combine with.

* [DiscountAutomaticDoliInput](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/inputs/discount-automatic-doli-input.md).combinesWith

  Determines which discount classes the discount can combine with.

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

  Determine which discount tiers can be combined with the shipping discount

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

  Determine which discount levels can be combined with this discount

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

