Menu
Get coupons/search
Get coupons/search
GET
/V1/coupons/searchUse it in a workflow
- Add a step and choose the Adobe Commerce connector.
- Pick the Get coupons/search action (under Promotions).
- Fill in the fields below, then reference the result from later steps as
{{getCouponsSearch.response.data}}.
Request
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getCouponsSearch.response.data.<field>}}.
{
"items": [
{
"rule_id": 0,
"times_used": 0,
"is_primary": false,
"coupon_id": 0,
"code": "string",
"usage_limit": 0,
"usage_per_customer": 0,
"expiration_date": "string",
"created_at": "string",
"type": 0,
"extension_attributes": {}
}
],
"search_criteria": {
"filter_groups": [
{
"filters": [
{
"field": "string",
"value": "string",
"condition_type": "string"
}
]
}
],
"sort_orders": [
{
"field": "string",
"direction": "string"
}
],
"page_size": 0,
"current_page": 0
},
"total_count": 0
}
Need more? See the Adobe Commerce guide for connection setup and behaviour shared by every action.
Was this page helpful?