**Version: 202701**

# Configure which discount types can be combined

**PUT** `/openapi/2027-01/discounts/combine`

Configure which discount types can be combined.

## Request

**application/json**

**Body | Example**

**Body (required)**

- `ids` string[] (required)

  Discount IDs
- `discount_combines` string[] (required)

  Other discount categories that can be combined:

  *   `product`: Can combine with product discounts
  *   `order`: Can combine with order discounts
  *   `shipping`: Can combine with shipping discounts

```json
{
  "ids": [
    "string"
  ],
  "discount_combines": [
    "string"
  ]
}
```

## Responses

**200**

OK

**application/json**

**Schema | Example**

**Schema**

- `code` string

  error code
- `message` string

  error message
- `data` object

  - `ids` string[]

    IDs of discounts that were successfully updated

```json
{
  "code": "string",
  "message": "string",
  "data": {
    "ids": [
      "string"
    ]
  }
}
```
