客户取消呼叫后的 UberRUSH 交付状态
UberRUSH delivery state after client Cancel call
我有一个关于 UberRUSH API 的问题。
我阅读了 https://developer.uber.com/docs/deliveries/references/api/v1/deliveries-delivery_id-cancel-post,但我不清楚成功 POST /v1/deliveries/{delivery_id}/cancel
后交付状态如何。
那时我只会得到 204
状态代码作为响应,我不知道在那个调用期间传递状态是否会设置为 client_canceled,或者我会被异步更改,我应该等待状态从优步更新?
statuses guide in the developer documentation给出了答案:
client_canceled: This delivery was canceled by the API client. If you want to update the status of a trip to client_canceled, please refer to the POST /deliveries/{delivery_id}/cancel endpoint.
我有一个关于 UberRUSH API 的问题。
我阅读了 https://developer.uber.com/docs/deliveries/references/api/v1/deliveries-delivery_id-cancel-post,但我不清楚成功 POST /v1/deliveries/{delivery_id}/cancel
后交付状态如何。
那时我只会得到 204
状态代码作为响应,我不知道在那个调用期间传递状态是否会设置为 client_canceled,或者我会被异步更改,我应该等待状态从优步更新?
statuses guide in the developer documentation给出了答案:
client_canceled: This delivery was canceled by the API client. If you want to update the status of a trip to client_canceled, please refer to the POST /deliveries/{delivery_id}/cancel endpoint.