---
title: "Create Coupon"
description: "How to call Create Coupon (POST /api/coupons) in the Klaviyo REST API: authentication, parameters, request and response bodies, and an example request."
url: "https://developers.klaviyo.com/en/v2025-01-15/reference/create_coupon"
revision: "2025-01-15"
latestUrl: "https://developers.klaviyo.com/en/reference/create_coupon"
operationId: "create_coupon"
method: "POST"
endpoint: "https://a.klaviyo.com/api/coupons"
authentication: "privateKey"
scopes: ["coupons:write"]
rateLimits: {"burst":"3/s","steady":"60/m"}
revisionHeader: {"name":"revision","required":true}
deprecated: false
related: ["https://developers.klaviyo.com/en/v2025-01-15/reference/coupons/llms.txt","https://developers.klaviyo.com/en/v2025-01-15/reference/get_coupons.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_coupon.md","https://developers.klaviyo.com/en/v2025-01-15/reference/update_coupon.md","https://developers.klaviyo.com/en/v2025-01-15/reference/delete_coupon.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_coupon_codes.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_coupon_code.md","https://developers.klaviyo.com/en/v2025-01-15/reference/create_coupon_code.md","https://developers.klaviyo.com/en/v2025-01-15/reference/update_coupon_code.md","https://developers.klaviyo.com/en/v2025-01-15/reference/delete_coupon_code.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_bulk_create_coupon_code_jobs.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_bulk_create_coupon_codes_job.md","https://developers.klaviyo.com/en/v2025-01-15/reference/bulk_create_coupon_codes.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_coupon_codes_for_coupon.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_coupon_code_ids_for_coupon.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_coupon_for_coupon_code.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_coupon_id_for_coupon_code.md"]
---

# Create Coupon

> This is the Markdown version of https://developers.klaviyo.com/en/v2025-01-15/reference/create_coupon

```http
POST https://a.klaviyo.com/api/coupons
```

Creates a new coupon.

- Revision header: `revision: 2025-01-15` (required)
- Scopes: `coupons:write`
- Rate limits: Burst: `3/s`, Steady: `60/m`

## Example request

```bash
curl --request POST \
     --url 'https://a.klaviyo.com/api/coupons' \
     --header 'Authorization: Klaviyo-API-Key your-private-api-key' \
     --header 'accept: application/vnd.api+json' \
     --header 'revision: 2025-01-15' \
     --header 'content-type: application/vnd.api+json' \
     --data '{
  "data": {
    "type": "coupon",
    "attributes": {
      "external_id": "10OFF",
      "description": "10% off for purchases over $50"
    }
  }
}'
```

## Headers

- `revision` (string, required): API endpoint revision (format: YYYY-MM-DD[.suffix]) Default: `2025-01-15`

## Request body

Content type: `application/vnd.api+json` (required)

- `data` (object, required)
  - `type` (string, required): Allowed values: `coupon`
  - `attributes` (object, required)
    - `external_id` (string, required): This is the id that is stored in an integration such as Shopify or Magento. Example: `10OFF`
    - `description` (string, nullable): A description of the coupon. Example: `10% off for purchases over $50`

### Example request body

```json
{
  "data": {
    "type": "coupon",
    "attributes": {
      "external_id": "10OFF",
      "description": "10% off for purchases over $50"
    }
  }
}
```

## Responses

### 201: Success

Content type: `application/vnd.api+json`

- `data` (object, required)
  - `type` (string, required): Allowed values: `coupon`
  - `id` (string, required): The internal id of a Coupon is equivalent to its external id stored within an integration. Example: `10OFF`
  - `attributes` (object, required)
    - `external_id` (string, required): This is the id that is stored in an integration such as Shopify or Magento. Example: `10OFF`
    - `description` (string, nullable): A description of the coupon. Example: `10% off for purchases over $50`
  - `links` (object, required)
    - `self` (string<uri>, required)

#### Example response body

```json
{
  "data": {
    "type": "coupon",
    "id": "10OFF",
    "attributes": {
      "external_id": "10OFF",
      "description": "10% off for purchases over $50"
    },
    "links": {
      "self": "https://www.example.com"
    }
  }
}
```

### 4XX: Client Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```

### 5XX: Server Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```
