DELETE
/api/public/v1/products/{productId}

Delete a product

Delete a product. Existing orders that reference the product remain intact.

Path Parameters

NameTypeRequiredDescription
productIdstring
Required
Product ID.
DELETEExample request
curl
curl -X DELETE "https://www.pxb.app/api/public/v1/products/{productId}" \
  -H "X-Organization-Id: your_org_id" \
  -H "X-API-Key: your_api_key"
200Example response
json
{
  "message": "Product deleted successfully.",
  "content": {}
}