Cancel Bills
Cancel the bills that are Unsuccessful
(1) and Awaiting pickup
(2).
Cấu hình API
HTTP Request
POST v1/bill/destroy
No. | Parameter | Type | Require | Description |
---|---|---|---|---|
1 | bill_code | String Array | List of Bills |
JSON body respone
Name | Type | Description |
---|---|---|
success | boolean | Return true if cancel bill success, all other false means error. See message for further description. |
message | string | Return Message of API Respond. |
data | object | Data of API response. |
Mẫu Request
"Json body request
{
"bill_code": ["CP12777690"]
}
Mẫu Response
Response
{
success: true,
messsage: "",
data: [
{
"doCode": "E9999999",
"message": "Bill E9999999 has canceled successful"
},
{
"doCode": "E8888888",
"message": "Bill E8888888 has canceled successful"
}]
}