API reference · Price Rule
Delete Price Rule
DELETE
https://api.sandbox.cws.digital/v1/priceRule/{id}Description
Deactivates a price rule.
It is a logical deletion: the rule is no longer applied in quotations and leaves the listing, but its history is kept — there is no way to reactivate it through this API.
Parameters
Path parameters
| Field | Type | Required | Description | Value |
|---|---|---|---|---|
| id | integer | Yes | Rule id, as it came in |
Responses
- 202
202 Accepted, no body. It is the confirmation.
- 400
Non-numeric or zero
id. - 401
Missing, malformed or expired token.