List Rule Attribute Options of a Rule Type
GET
/admin/promotions/rule-attribute-options/{rule_type}
Promotions
Only the attributes of the rule type specified in the path parameter are retrieved:
rule_type
is rules
, the attributes of the promotion's type are retrieved.rule_type
is target-rules
, the target rules' attributes of the application method's type are retrieved.rule_type
is buy-rules
, the buy rules' attributes of the application method's type are retrieved.Request Request Example
JavaScript
Shell
Java
Swift
curl --location -g --request GET '{{BASE_URL}}/admin/promotions/rule-attribute-options/'
Response Response Example
200 - Example 1
{
"attributes": [
{
"id": "customer_group",
"value": "customer.groups.id",
"label": "Customer Group",
"operators": [
{
"id": "in",
"value": "in",
"label": "In"
}
]
}
]
}
Request
Path Params
rule_type
enum<string>Â
required
Allowed values:
rulestarget-rulesbuy-rules
Query Params
promotion_type
enum<string>Â
promotion_type
Allowed values:
standardbuyget
application_method_type
enum<string>Â
application_method_type
Allowed values:
fixedpercentage
Responses
Modified at 2025-06-17 04:10:32