文档中心 > API类目 > 天猫优品

tmall.tmyp.ai.iscanshiptime (是否能协商发货)

是否能协商发货

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
openid String 必须 11 用户id
sub_orderid Number 必须 111 子订单号

响应参数

名称 类型 示例值 描述
suc Boolean ture 调用是否成功
model CShipTimeExpressResponse 协商发货返回
  • └ can_c_negotiate_ship
  • Boolean
  • fasle
  • 是否支持协商发货
msg_info String xxx 错误码
msg_code String xx 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TmallTmypAiIscanshiptimeRequest req = new TmallTmypAiIscanshiptimeRequest();
req.setOpenid("11");
req.setSubOrderid(111L);
TmallTmypAiIscanshiptimeResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<tmall_tmyp_ai_iscanshiptime_response>
    <suc>ture</suc>
    <model>
        <can_c_negotiate_ship>fasle</can_c_negotiate_ship>
    </model>
    <msg_info>xxx</msg_info>
    <msg_code>xx</msg_code>
</tmall_tmyp_ai_iscanshiptime_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部