Delete Pricing Rule
Delete a pricing rule from a product.
Endpointโ
DELETE /v1/products/{id}/pricing/{pricingId}
Authenticationโ
Requires an API key with the products:write scope.
Parametersโ
| Parameter | Type | Location | Description |
|---|---|---|---|
id | integer | path | The product ID |
pricingId | integer | path | The pricing rule ID |
Responseโ
Success (204 No Content)โ
Returns no content on successful deletion.
Example Requestโ
curl -X DELETE "https://app.equipdash.com/api/v1/products/1/pricing/3" \
-H "Authorization: Bearer YOUR_API_KEY"
Errorsโ
| Status | Code | Description |
|---|---|---|
| 401 | authentication_required | No API key provided |
| 403 | insufficient_scope | API key lacks products:write scope |
| 404 | resource_not_found | Product or pricing rule not found |
Important Notesโ
- Deleting a pricing rule does not affect existing bookings
- If you delete all pricing rules, the product will have no price until new rules are added