> ## 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 the seller's pending change request for a product.

Cancels the product's pending change request; responds `404` when no pending change exists.

## Path parameters

**id** `string` *required*

The product's ID.

## Body parameters

**internal\_note** `string`

Optional note recorded with the cancellation.

## Response

**product\_change** `object`

**properties**

**id** `string`

The change request's ID.

**product\_id** `string`

ID of the product the change targeted.

**status** `string`

`canceled` after this call.

**canceled\_by** `string`

ID of the seller that canceled the change.

**canceled\_at** `string`

Timestamp of the cancellation.

**actions** `object[]`

The staged operations that were discarded.

```bash cURL theme={null}
curl -X POST 'http://localhost:9000/vendor/products/prod_01HXYZ/cancel' \
  -H 'Authorization: Bearer <token>' \
  -H 'x-seller-id: <seller_id>' \
  -H 'Content-Type: application/json' \
  -d '{}'
```

```ts JS Client theme={null}
const { product_change } = await client.vendor.products.$id.cancel.mutate({
  $id: "prod_01HXYZ",
})
```

```json 200 theme={null}
{
  "product_change": {
    "id": "prodch_01HXYZ",
    "product_id": "prod_01HXYZ",
    "status": "canceled",
    "canceled_by": "sel_01HXYZ",
    "canceled_at": "2026-07-03T12:00:00.000Z"
  }
}
```


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