WinShopAPI docs
ReferenceProduct

Delete a product

Deletes the product with its child collections and returns 204. Cannot be undone. Call `GET {productId}/check-delete` first to find out whether the delete is allowed. Requires `Permissions.Product.Delete`.

DELETE
/api/products/{productId}

Authorization

Bearer
headerAuthorizationBearer <token>

OAuth 2.0 client credentials. Obtain a client id/secret from Winshop support ([email protected]), then POST to the token URL.

Path Parameters

productId*integer
Formatint32

Response Body

response?unknownapplication/octet-stream
curl -X DELETE 'https://<your-instance>/api/products/0' \  -H 'Authorization: Bearer <access-token>'
null