# List promotion codes

`GET /api/v1/promotion-codes`

Needs the `catalog:read` scope, or a full-access key.

## Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `coupon_id` | string | optional |  |
| `code` | string | optional |  |

## Responses

### 200

Codes.

JSON Schema:

```json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "items": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "example": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
              },
              "coupon_id": {
                "type": "string",
                "format": "uuid",
                "example": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
              },
              "code": {
                "type": "string"
              },
              "first_time_only": {
                "type": "boolean"
              },
              "max_redemptions": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "times_redeemed": {
                "type": "integer"
              },
              "expires_at": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "active": {
                "type": "boolean"
              },
              "created_at": {
                "type": "string",
                "format": "date-time"
              },
              "updated_at": {
                "type": "string",
                "format": "date-time"
              }
            },
            "required": [
              "id",
              "coupon_id",
              "code",
              "first_time_only",
              "max_redemptions",
              "times_redeemed",
              "expires_at",
              "active",
              "created_at",
              "updated_at"
            ]
          }
        }
      },
      "required": [
        "items"
      ]
    },
    "_agent": {
      "type": "object",
      "properties": {
        "summary": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "ok"
          ]
        },
        "next_actions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "warnings": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "summary",
        "status",
        "next_actions",
        "warnings"
      ]
    },
    "api_version": {
      "type": "string",
      "example": "2026-07-01"
    }
  },
  "required": [
    "data",
    "_agent",
    "api_version"
  ]
}
```
