AdminGetPromotionsRuleAttributeOptionsRule_type
Retrieve rule attributes for promotions based on specified rule type, application method, and promotion type to streamline admin tasks. Supports rules, target-rules, and buy-rules.
Instructions
This tool helps store administors. 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.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
application_method_type | No | ||
promotion_type | No | ||
rule_type | No |