Admin Promotions
List Rule Attribute Options of a Rule Type
Retrieve a list of potential rule attributes for the promotion and application method types specified in the query parameters. Only the attributes of the rule type specified in the path parameter are retrieved:
-
If
rule_type
isrules
, the attributes of the promotion’s type are retrieved. -
If
rule_type
istarget-rules
, the target rules’ attributes of the application method’s type are retrieved. -
If
rule_type
isbuy-rules
, the buy rules’ attributes of the application method’s type are retrieved.
GET
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The rule type.
Available options:
rules
, target-rules
, buy-rules
Query Parameters
The promotion type to retrieve rules for.
Available options:
standard
, buyget
The application method type to retrieve rules for.
Available options:
fixed
, percentage
Response
200
application/json
OK
The list of attributes.