Menu
Get Rule Promotion Usages
Get Rule Promotion Usages
GET
/v2/rule-promotions/{promotionID}/usagesUse it in a workflow
- Add a step and choose the Elastic Path connector.
- Pick the Get Rule Promotion Usages action (under Promotions Builder).
- Fill in the fields below, then reference the result from later steps as
{{getRulePromotionUsages.response.data}}.
Request
Path parameters
Query parameters
Headers
Response
Returns 200 with an object. Read it in later steps with {{getRulePromotionUsages.response.data.<field>}}.
{
"data": [
{
"id": "string",
"order_id": "string",
"code_id": "string",
"code": "string",
"times_used": 0,
"used_on": "2025-01-01T00:00:00Z",
"customer_id": "string",
"account_id": "string",
"customer_email": "string",
"meta": {
"timestamps": {
"updated_at": "2025-01-01T00:00:00Z"
}
},
"updated_by": "string",
"anonymized": false
}
],
"links": {
"current": "string",
"first": "string",
"last": "string",
"next": "string",
"prev": "string"
},
"meta": {
"page": {
"current": 0,
"limit": 0,
"offset": 0,
"total": 0
},
"results": {
"total": 0,
"total_method": "string"
}
}
}
Need more? See the Elastic Path guide for connection setup and behaviour shared by every action.
Was this page helpful?