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

# Delete Product

> Delete a product

# Delete Product

Permanently deletes a product and all its variants. This action cannot be undone.

## Request

<CodeGroup>
  ```bash cURL theme={null}
  curl -X DELETE "https://api.launchmystore.io/api/v1/products/482910.json" \
    -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
  ```

  ```javascript Node.js theme={null}
  const response = await fetch('https://api.launchmystore.io/api/v1/products/482910.json', {
    method: 'DELETE',
    headers: {
      'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
    }
  });
  ```
</CodeGroup>

## Path Parameters

<ParamField path="id" type="string" required>
  The product to delete. Accepts either the UUID product ID or the
  6-digit numeric product ID.
</ParamField>

## Response

On success the endpoint returns the standard response envelope with a
confirmation message. There is no `data` payload.

## Example Response

```json theme={null}
{
  "status": 200,
  "state": "success",
  "message": "Product deleted successfully"
}
```

## Error Response

If no product matches the given ID:

```json theme={null}
{
  "status": 404,
  "state": "error",
  "message": "Product not found"
}
```

## Notes

* Deleting a product also deletes all associated variants, images, and inventory records
* Products that are part of active orders will have their order line items preserved for historical records
* Consider using `status: "archived"` instead of deletion if you need to preserve product history
