AdminGetPromotionsIdRule_type
Retrieve promotion rules by specifying the rule_type
parameter—options include rules
, target-rules
, or buy-rules
—to manage and analyze promotion configurations effectively.
Instructions
This tool helps store administors. 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
isrules
, the promotion's rules are retrivied. - Ifrule_type
istarget-rules
, the target rules of the promotion's application method are retrieved. - If
rule_type
isbuy-rules
, the buy rules of the promotion's application method are retrieved.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
fields | No | ||
id | No | ||
rule_type | No |