> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mercurjs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Cancel Product Change

> Cancel a pending product change without applying it.

Cancels the pending change set and returns the updated change record.

## Path parameters

**id** `string` *required*

The product change's ID.

## Body parameters

**internal\_note** `string`

Note recorded with the cancellation, visible to operators only.

## Response

**product\_change** `object`

**properties**

**id** `string`

The product change's ID.

**product\_id** `string`

ID of the product the change applied to.

**status** `string`

Change status after cancellation.

**canceled\_by** `string`

ID of the actor who canceled the change.

**canceled\_at** `string`

When the change was canceled.

**actions** `object[]`

The change's individual actions with `action`, `ordering`, `details`, and `applied`.

**created\_at** `string`

Creation timestamp.

**updated\_at** `string`

Last update timestamp.

```bash cURL theme={null}
curl -X POST 'http://localhost:9000/admin/product-changes/prodch_01HXYZABCDEF/cancel' \
  -H 'Authorization: Bearer <token>' \
  -H 'Content-Type: application/json' \
  -d '{}'
```

```ts JS Client theme={null}
const { product_change } = await client.admin.productChanges.$id.cancel.mutate({
  $id: "prodch_01HXYZABCDEF",
})
```

```json 200 theme={null}
{
  "product_change": {
    "id": "prodch_01HXYZABCDEF",
    "product_id": "prod_01HXYZABCDEF",
    "status": "canceled",
    "canceled_by": "user_01HXYZABCDEF",
    "canceled_at": "2026-06-02T09:00:00.000Z",
    "actions": [
      {
        "id": "prodchact_01HXYZABCDEF",
        "action": "update_product",
        "ordering": 0,
        "details": { "title": "Linen Shirt v2" },
        "applied": false
      }
    ]
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.