Products

Delete SKU

Deletes a product SKU. This operation cannot be undone.

If the force parameter is set to false or not set at all, the SKU will be moved to the bin.

delete/v1/products/{productId}/skus/{skuId}

Request

  • Base URL
    https://api.voucherify.io
  • URL
    https://api.voucherify.io/v1/products/{productId}/skus/{skuId}
  • Auth
    • API key in header X-App-Id and API key in header X-App-Token
    • or OAuth 2
      Implicit: https://api.voucherify.io/v1/oauth/token
      Scopes: api, products

Query parameters

forceboolean

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.

Changes

No recorded changes to this operation across all 1 revision of this API.