Newer Version Available
Commerce Webstore Promotions, Coupon Code Redemption, Decrease
Get coupon code redemption usage to revert a previously redeemed
coupon code.For example, use when an item that used a coupon code is returned so that the
coupon code can be reverted.
- Resource
-
1/commerce/promotions/actions/decrease-use/coupon-codes - Available version
- 58.0
- Requires Chatter
- No
- HTTP methods
- POST
- Request body for POST
-
- JSON example
-
1{ 2 "couponCodes":["code1","code2","code3","code4"], 3 "transactionId": "0a6D20000004CETIA2", 4 "effectiveAccountId": "001xx000003GZ6NAAW" 5} - Properties
-
Name Type Description Required or Optional Available Version couponCodes String Input representation for all coupon codes. Required 58.0 effectiveAccountId String ID of the account. Required 58.0 transactionId String ID of the transaction, which must be a valid cart ID. Required 58.0
- Response body for POST
- Coupon Code Redemption Collection