coupons/deleteByCodes

coupons/deleteByCodes

post/V1/coupons/deleteByCodes

Delete coupon by coupon codes.

Request
Request Body schema:
codes
required
Array of strings
ignoreInvalidCoupons
boolean
Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

500

Internal Server error

default

Unexpected error

Request samples
{
  • "codes": [
    ],
  • "ignoreInvalidCoupons": true
}
Response samples
{
  • "failed_items": [
    ],
  • "missing_items": [
    ]
}