Skip to content

CouponList_Delete#


Description#

This function allows you to delete one or more coupons.

Request Body Parameters#

Parameter
Type Description
Coupon_IDs Array Array of Coupon IDs

Response Parameters#

Parameter Description
success boolean value for if the request was successful
processed Number of coupons deleted

Example Request#

{
    "Store_Code": "{{Store_Code}}",
    "Miva_Request_Timestamp": "{{$timestamp}}",
    "Function": "CouponList_Delete",
    "Coupon_Ids": [1, 2, 3]
}

Example Response#

{
    "success": 1,
    "processed": 3
}

Error Responses#

Error Code Error Message Error Description
MER-JSN-00023 One or more parameters are invalid Array of Coupon_Ids is missing