商家自配送状态推送
测试环境
测试环境
POST
/open/v1/delivery/status/push
取消原因编码 | 取消原因 |
---|---|
1 | 配送员取消 |
2 | 配送员接单超时(无人接单) |
3 | 商户取消 |
4 | 客服取消 |
99 | 系统取消(未完成订单状态持续超过24小时) |
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://gldopenapi.keruyun.com/open/v1/delivery/status/push?appKey=&shopIdenty=&brandId=&version=×tamp=&sign=' \
--header 'Content-Type: application/json' \
--data-raw '{
"bizType": 1,
"orderId":"f14cfdb04119451998200d1a83f785da",
"tpOrderId":"123433456345234567890456789067",
"deliveryStatus":4
}'
响应示例响应示例
{
"code": 0,
"message": "成功[OK]",
"messageUuid": "3337b6f6-9c95-4992-9fd7-dd7e1e1fc453"
}
请求参数
Query 参数
appKey
string
必需
默认值:
{{appKey}}
shopIdenty
string
必需
默认值:
{{shopIdenty}}
brandId
string
必需
默认值:
{{brandId}}
version
string
必需
默认值:
2.0
timestamp
string
必需
默认值:
{{timestamp}}
sign
string
必需
默认值:
{{sign}}
Body 参数application/json
返回响应
修改于 2021-12-16 06:36:24