💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
**取消订单** 在订单待接单或待取货情况下,调用此接口可取消订单。 取消费用说明:接单1 分钟以内取消不扣违约金; 接单后1-15分钟内取消订单,运费退回。同时扣除2元作为给配送员的违约金; 配送员接单后15 分钟未到店,商户取消不扣违约金; 系统取消订单说明:超过72小时未接单系统自动取消。每天凌晨2点,取消大于72小时未完成的订单 ~~~[api] post:api/dada/orderFormalCancel *string:token#公共登录令牌 configId=1234#服务商配置id,不传走平台,1234 *orderId#订单id *int:cancelReasonId#取消原因ID cancel_reason#取消原因(当取消原因ID为其他时,此字段必填) <<< success { 'status':'1', 'data':{ 'deduct_fee': //扣除的违约金(单位:元) }, 'message':成功信息 } <<< error111 { 'status':'2', 'message':错误信息 } <<< error222 { 'status':'2', 'message':'消息确认,达达配送参数未配置' } <<< error333 { 'status':'2', 'message':'消息确认,达达商户尚未创建or状态异常' } <<< error444 { 'status':'2', 'message':'取消订单,没有找到订单信息' } <<< error555 { 'status':'2', 'message':'当取消原因ID为10000时,取消原因必填' } <<< error666 { 'status':'2', 'message':'取消订单,更新达达订单失败' } ~~~