List Rule Values Given a Rule Attribute
GET
/admin/promotions/rule-value-options/{rule_type}/{rule_attribute_id}
Promotions
For example, if you provide the ID of the
currency_code
rule attribute, and set rule_type
to rules
, a list of currencies are retrieved in label-value pairs.Request Request Example
JavaScript
Shell
Java
Swift
curl --location -g --request GET '{{BASE_URL}}/admin/promotions/rule-value-options//'
Response Response Example
200 - Example 1
{
"limit": 0,
"offset": 0,
"count": 0,
"values": [
{
"value": "reg_123",
"label": "Europe Region"
}
]
}
Request
Path Params
rule_type
enum<string>Â
required
Allowed values:
rulestarget-rulesbuy-rules
rule_attribute_id
stringÂ
required
Query Params
offset
numberÂ
offset
limit
numberÂ
limit
order
stringÂ
order
-
.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