# Cancel a scheduled price change

`POST /api/v1/price-changes/{id}/cancel`

Requires `catalog.write`.

Needs a full-access key (`*`). No narrower scope opens this route.

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | required |  |

## Headers

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `Idempotency-Key` | string | optional | A unique value for this operation, chosen by you. A retry with the same key and the same body returns the first response instead of running again. The same key with a different body answers 409 `idempotency_key_reused`; a key whose first request is still running answers 409 `idempotency_in_progress`. |

## Responses

### 200

The canceled change; pending subscribers stay on their current price.

JSON Schema:

```json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "example": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
        },
        "from_plan_id": {
          "type": "string",
          "format": "uuid",
          "example": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
        },
        "to_plan_id": {
          "type": "string",
          "format": "uuid",
          "example": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
        },
        "effective_at": {
          "type": "string",
          "format": "date-time"
        },
        "status": {
          "type": "string",
          "enum": [
            "scheduling",
            "scheduled",
            "canceled",
            "completed"
          ]
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        },
        "canceled_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "completed_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "counts": {
          "type": "object",
          "properties": {
            "pending": {
              "type": "integer"
            },
            "applied": {
              "type": "integer"
            },
            "skipped": {
              "type": "integer"
            },
            "canceled": {
              "type": "integer"
            },
            "notified": {
              "type": "integer"
            },
            "awaiting": {
              "type": "integer",
              "description": "Subscribers the change should move but has not notified yet: batches still running (`scheduling`), or a late joiner or reactivated subscriber the next sweep picks up."
            }
          },
          "required": [
            "pending",
            "applied",
            "skipped",
            "canceled",
            "notified",
            "awaiting"
          ]
        }
      },
      "required": [
        "id",
        "from_plan_id",
        "to_plan_id",
        "effective_at",
        "status",
        "created_at",
        "canceled_at",
        "completed_at",
        "counts"
      ]
    },
    "_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"
  ]
}
```

### 404

`not_found`.

### 409

`price_change_not_open`.
