Delete Sku Cascade
DELETE/api/skus/deletesku/:id/:cascade
Tier: Public — stable, supported for third-party integration.
Deletes a SKU, optionally cascading to remove all items of the SKU first.
A failure partway through the cascade is not rolled back — the cascade is not wrapped in a database transaction.
Request
Responses
- 200
- 400
- 401
- 403
Returns true.
A non-cascading delete found the SKU still in use, the cascade failed, or {id} does not match an existing SKU (error array).
The caller is not authenticated.
The caller lacks Sku Delete permission.