Menu
Get Coupon Codes
Get Coupon Codes
GET
/organizations/{organizationId}/coupons/{couponId}/codesUse it in a workflow
- Add a step and choose the Salesforce Commerce Cloud connector.
- Pick the Get Coupon Codes action (under Coupons (Data API)).
- Fill in the fields below, then reference the result from later steps as
{{getCouponCodes.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getCouponCodes.response.data.<field>}}.
{
"data": [
{
"code": "Code1",
"issued": false,
"redemptionCount": 0
}
]
}
Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.
Was this page helpful?