Retrieve a list of rules in a promotion. The type of rules retrieved depend on the value of the rule_type
path parameter:
If rule_type
is rules
, the promotion’s rules are retrivied. - If rule_type
is target-rules
, the target rules of the promotion’s application method are retrieved.
If rule_type
is buy-rules
, the buy rules of the promotion’s application method are retrieved.
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The promotion's ID.
The type of rules to retrieve.
rules
, target-rules
, buy-rules
Comma-separated fields that should be included in the returned data. if a field is prefixed with +
it will be added to the default fields, using -
will remove it from the default fields. without prefix it will replace the entire default fields.
OK
The list of promotion rules.