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.curl --location -g --request GET '{{BASE_URL}}/admin/promotions/rule-attribute-options/'
{
"attributes": [
{
"id": "customer_group",
"value": "customer.groups.id",
"label": "Customer Group",
"operators": [
{
"id": "in",
"value": "in",
"label": "In"
}
]
}
]
}