文档中心 > API类目 > 交易猫API

alibaba.jym.steam.fulfillment.update (交易猫Steam类目发履约态变更)

交易猫Steam类目发履约态变更

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
delivery_notify_dto DeliveryNotifyDTO 可选 履约信息通知
  • └ biz_order_id
  • String
  • 必须
  • 123456789
  • 订单ID
  • └ reason_id
  • Number
  • 可选
  • 1
  • 发货失败原因ID
  • └ delivery_type
  • Number
  • 必须
  • 1
  • 发货类型:1:发货中, 2:发货成功 3.发货失败 4.发货通知
  • └ delivery_msg
  • String
  • 可选
  • 账号异常发货失败
  • 发货信息通知

响应参数

名称 类型 示例值 描述
result Boolean true 执行结果
sub_code_type String "INTERNAL_SERVER_ERROR" 子集错误码,提供与业务细节使用
is_success Boolean true 调用结果
sub_extra_err_msg String "内部服务器错误" 子集错误描述,提供与业务细节使用
state_code String "INTERNAL_SERVER_ERROR" 错误码枚举
extra_err_msg String "内部服务器错误" 错误详细描述

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaJymSteamFulfillmentUpdateRequest req = new AlibabaJymSteamFulfillmentUpdateRequest();
AlibabaJymSteamFulfillmentUpdateRequest.DeliveryNotifyDTO obj1 = new AlibabaJymSteamFulfillmentUpdateRequest.DeliveryNotifyDTO();
obj1.setBizOrderId("123456789");
obj1.setReasonId(1L);
obj1.setDeliveryType(1L);
obj1.setDeliveryMsg("账号异常发货失败");
req.setDeliveryNotifyDto(obj1);
AlibabaJymSteamFulfillmentUpdateResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_jym_steam_fulfillment_update_response>
    <result>true</result>
    <sub_code_type>&quot;INTERNAL_SERVER_ERROR&quot;</sub_code_type>
    <is_success>true</is_success>
    <sub_extra_err_msg>&quot;内部服务器错误&quot;</sub_extra_err_msg>
    <state_code>&quot;INTERNAL_SERVER_ERROR&quot;</state_code>
    <extra_err_msg>&quot;内部服务器错误&quot;</extra_err_msg>
</alibaba_jym_steam_fulfillment_update_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

返回
顶部