CustomerOmsStoreDelete
Delete Customer Mark
Delete the marking information of the whole app according to the key information. Only a single record can be deleted
Request address
POST
http://OmsAddress/app/newoms.php/webservice/customer-oms-store/delete?cmd=10019&ip-type=webservicerest&access-token=AccessTokenVal
POST request parameter description
| Parameter | format | Required or not | Description |
|---|---|---|---|
| app_id | integer | Yes | App ID |
| key_binary | string | Yes |
Data Parameters
Use json format to represent the record related information. The following is an example:
{
"app_id": 2,
"key_binary": "some key word"
}
Return Syntax
Request Example
Send A Request through the Curl Method
For the parameters in the command, please refer to the "Description of POST Request Parameters" on this page. For the method to obtain access-token, see: Get access-token
curl -H "Content-type: application/json" -X "POST" -d '{
"app_id": 2,
"key_binary": "some key word"
}' http://omsaddress/app/newoms.php/webservice/customer-oms-store/delete?cmd=10019&ip-type=webservicerest&access-token=\
Return Example
Successful Return Example
Status of http request = 200
{
"code": 0,
"data": "",
"msg": "delete success"
}
Failed Return Example
Status of http request != 200
{
"name": "Unauthorized",
"message": "You are requesting with an invalid credential.",
"code": 0,
"status": 401,
"type": "yii\\web UnauthorizedHttpException"
}
{
"source_ip": "ip:10.29.89.51 not in whitelist"
}