Menu
Update Coupon Codes
Update Coupon Codes
POST
/organizations/{organizationId}/coupons/{couponId}/codesUse it in a workflow
- Add a step and choose the Salesforce Commerce Cloud connector.
- Pick the Update Coupon Codes action (under Coupons (Data API)).
- Fill in the fields below, then reference the result from later steps as
{{updateCouponCodes.response.data}}.
Request
Path parameters
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"codes": [
"CodeA",
"CodeB"
]
}
Response
Returns 204 with a any. Read it in later steps with {{updateCouponCodes.response.data.<field>}}.
Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.
Was this page helpful?