List Rule Values Given a Rule Attribute
Retrieve all potential values for promotion rules and target and buy rules based on the specified rule attribute and type.
For example, if you provide the ID of the currency_code
rule attribute, and set rule_type
to rules
, a list of currencies are retrieved in label-value pairs.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The rule type.
rules
, target-rules
, buy-rules
The rule attribute's ID.
Query Parameters
The number of items to skip when retrieving a list.
Limit the number of items returned in the list.
The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with -
.
The promotion type to retrieve rules for.
standard
, buyget
The application method type to retrieve rules for.
fixed
, percentage
Whether to include deleted records in the result.
Response
OK
The paginated list of rule values. The pagination fields. The list of rule values.