Delete Product

Delete a product. Deleting a product is only possible if it has no prices associated with it. Additionally, deleting a product with type=good is only possible if it has no SKUs associated with it

Path Parameters
  • id
    Type: string
    max length:  
    100
    required
Responses
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for delete/v1/products/{id}
curl 'https://api.paypercut.io/v1/products/{id}' \
  --request DELETE \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "active": true,
  "name": "string",
  "description": "string",
  "unit_label": "string",
  "id": "string"
}