CouponBusinessAccount_Update_Assigned
#
Description#
This function is used to update a business account assignment for a coupon.
Request Body Parameters#
Parameter |
Type | Description |
---|---|---|
Coupon_ID Coupon_Code Edit_Coupon |
Number String String |
ID of the coupon. Coupon code Coupon code |
BusinessAccount_ID BusinessAccount_Title Edit_BusinessAccount |
Number String String |
ID of the Business Account. Business Account code Business Account code |
assigned |
Boolean | Assign business account to coupon |
Example Request#
{
"Store_Code": "{{Store_Code}}",
"Miva_Request_Timestamp": "{{$timestamp}}",
"Function": "CouponBusinessAccount_Update_Assigned",
"Coupon_Code": "COUPON",
"BusinessAccount_Title": "Group A",
"Assigned": false
}
Example Response#
{
"success": 1
}