> ## 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.

# Delete Product

> Delete a master catalog product.

Soft-deletes the product and its variants.

## Path parameters

<ParamField path="id" type="string" required>The product's ID.</ParamField>

## Response

<ResponseField name="id" type="string">The deleted product's ID.</ResponseField>
<ResponseField name="object" type="string">Always `product`.</ResponseField>
<ResponseField name="deleted" type="boolean">Always `true`.</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE 'http://localhost:9000/admin/products/prod_01HXYZABCDEF' \
    -H 'Authorization: Bearer <token>'
  ```

  ```ts JS Client theme={null}
  const result = await client.admin.products.$id.delete({
    $id: "prod_01HXYZABCDEF",
  })
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "id": "prod_01HXYZABCDEF",
    "object": "product",
    "deleted": true
  }
  ```
</ResponseExample>
