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 "Authorization: Bearer your_access_token"
200Example response
json
{
  "message": "Product deleted successfully.",
  "content": {}
}