Skip to main content

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โ€‹

ParameterTypeLocationDescription
idintegerpathThe product ID
pricingIdintegerpathThe 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โ€‹

StatusCodeDescription
401authentication_requiredNo API key provided
403insufficient_scopeAPI key lacks products:write scope
404resource_not_foundProduct 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