Admin Marketing: Promotions
Mass-delete coupons for a cart rule
Mass-delete coupons for a cart rule
post/marketing/cart-rules/{cartRuleId}/coupons/mass-delete
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
cartRuleIdinteger required
Parent cart rule ID
Request body
Example request
{
"indices": [
12,
13,
14
]
}Response
Coupons deleted
Changes
No recorded changes to this operation across all 8 revisions of this API.