文档中心 > API类目 > 新零售供应链API

alibaba.ascp.industry.ecology.delivery.install.intercept (家装非标揽配装商家拦截订单)

家装非标揽配装商家拦截订单

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
wds_collect_delivery_intercept_request WdsCollectDeliveryInterceptRequest 必须 请求对象
  • └ seller_order_code
  • String
  • 必须
  • 123456
  • 商家单号
  • └ reason
  • String
  • 可选
  • 拦截原因
  • 拦截原因
  • └ contact
  • String
  • 必须
  • 某某某
  • 联系人姓名
  • └ mobile
  • String
  • 必须
  • 123
  • 联系人电话
  • └ province
  • String
  • 必须
  • 浙江省
  • └ city
  • String
  • 可选
  • 杭州市
  • └ area
  • String
  • 可选
  • 余杭区
  • └ address
  • String
  • 必须
  • 五常街道xxx
  • 详细地址
  • └ main_user_id
  • String
  • 必须
  • 121213121
  • 主店铺id
  • └ sub_user_id
  • String
  • 可选
  • 121213121
  • 子店铺id,主店铺拦截子店铺订单必传

响应参数

名称 类型 示例值 描述
result BaseResult 返回对象
  • └ success
  • Boolean
  • true
  • 调用是否成功
  • └ error_message
  • String
  • 服务异常
  • 错误信息
  • └ error_code
  • String
  • 15
  • 错误码
  • └ result
  • Boolean
  • true
  • 拦截是否成功

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAscpIndustryEcologyDeliveryInstallInterceptRequest req = new AlibabaAscpIndustryEcologyDeliveryInstallInterceptRequest();
AlibabaAscpIndustryEcologyDeliveryInstallInterceptRequest.WdsCollectDeliveryInterceptRequest obj1 = new AlibabaAscpIndustryEcologyDeliveryInstallInterceptRequest.WdsCollectDeliveryInterceptRequest();
obj1.setSellerOrderCode("123456");
obj1.setReason("拦截原因");
obj1.setContact("某某某");
obj1.setMobile("123");
obj1.setProvince("浙江省");
obj1.setCity("杭州市");
obj1.setArea("余杭区");
obj1.setAddress("五常街道xxx");
obj1.setMainUserId("121213121");
obj1.setSubUserId("121213121");
req.setWdsCollectDeliveryInterceptRequest(obj1);
AlibabaAscpIndustryEcologyDeliveryInstallInterceptResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_ascp_industry_ecology_delivery_install_intercept_response>
    <result>
        <success>true</success>
        <error_message>服务异常</error_message>
        <error_code>15</error_code>
        <result>true</result>
    </result>
</alibaba_ascp_industry_ecology_delivery_install_intercept_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

返回
顶部