Products

Delete Product

Deletes a product and all related SKUs. This operation cannot be undone.

If the force parameter is set to false or not set at all, the product and all related SKUs will be moved to the bin.

delete/v1/products/{productId}

Request

  • Base URL
    https://api.voucherify.io
  • URL
    https://api.voucherify.io/v1/products/{productId}
  • 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 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.

Changes

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