API reference · Price Rule
List Price Rules
https://api.sandbox.cws.digital/v1/priceRuleDescription
Lists the active price rules of your store. A deactivated rule does not appear here.
Parameters
Query parameters
| Field | Type | Required | Description | Value |
|---|---|---|---|---|
| name | string | No | Filters by the rule name. See The name filter is exact. | |
| limit | integer | No | Rules per page. Default 5, maximum 25 — a value above that is reduced to 25, without error. | |
| offset | integer | No | First record of the page. Default 0. |
Business rules
The name filter is exact
name compares the whole name, not a part of it: ?name=Desconto does not find the rule Desconto Atacado.
Send the full name, with the same spaces and accents as registered.
Responses
- 401
Missing, malformed or expired token.