Skip to main content
DELETE
/
v1
/
products
/
{productId}
Delete Product
curl --request DELETE \
  --url https://{cluster}.voucherify.io/v1/products/{productId} \
  --header 'Authorization: Bearer <token>' \
  --header 'X-App-Id: <api-key>' \
  --header 'X-App-Token: <api-key>'
{
  "code": 404,
  "key": "not_found",
  "message": "Resource not found",
  "details": "Cannot find product with id prod_0a4934c50ddc5dbae",
  "request_id": "v-0ae39cd7de8683dfd8",
  "resource_id": "prod_0a4934c50ddc5dbae",
  "resource_type": "product"
}

Authorizations

X-App-Id
string
header
required
X-App-Token
string
header
required
Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

productId
string
required

A Voucherify product ID or source ID.

Example:

"prod_3ttSkdxGuAfcv3"

Query Parameters

force
boolean

If this flag is set to true, the product and all related SKUs will be removed permanently. If it is set to false or not set at all, the product and all related SKUs will be moved to the bin. Going forward, the user will be able to create another product with exactly the same source_id.

Response

Returns no content if deletion is successful.

Last modified on December 3, 2025