Delete Store Product
Permanently delete a store product.
Endpointโ
DELETE /v1/store-products/{id}
Authenticationโ
Requires an API key with the store:write scope.
Parametersโ
| Parameter | Type | Location | Description |
|---|---|---|---|
id | integer | path | The store product ID |
Responseโ
Success (204 No Content)โ
No response body.
Errorsโ
| Status | Code | Description |
|---|---|---|
| 401 | authentication_required | No API key provided |
| 401 | invalid_api_key | Invalid API key |
| 403 | insufficient_scope | API key lacks store:write scope |
| 404 | resource_not_found | Store product does not exist |
| 422 | store_product_error | Cannot delete (e.g., product has active bookings) |
caution
Deleting a product cannot be undone. If a product is associated with existing bookings, the deletion will be rejected. Consider archiving the product by setting its status to archived instead.
Example Requestโ
curl -X DELETE "https://app.equipdash.com/api/v1/store-products/1" \
-H "Authorization: Bearer eqd_live_abc123xyz789..."