Skip to main content
DELETE
/
v1
/
products
/
{productId}
/
skus
/
{skuId}
Delete SKU
curl --request DELETE \
  --url https://{cluster}.voucherify.io/v1/products/{productId}/skus/{skuId} \
  --header 'Authorization: Bearer <token>' \
  --header 'X-App-Id: <api-key>' \
  --header 'X-App-Token: <api-key>'
This response does not have an example.

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 unique Voucherify <!-- [product](OpenAPI.json/components/schemas/Product) -->product ID or product source ID.

Example:

"prod_3ttSkdxGuAfcv3"

skuId
string
required

A Voucherify <!-- [SKU](OpenAPI.json/components/schemas/Sku) -->SKU ID or SKU source ID.

Example:

"sku_0b661e41eccd35a8e9"

Query Parameters

force
boolean

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

Response

Returns no content if deletion is successful.

I