alibaba.idle.consignment.other.channels.upload (奢品服务商回传其他渠道销售数据)

奢品服务商回传其他渠道销售数据

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
consignment_other_channels_dto ConsignmentOtherChannelsDTO 必须 其他渠道回传参数
  • └ order_id
  • Number
  • 必须
  • 1234567789
  • 卖家订单
  • attributes
  • HashMap
  • 必须
  • {}
  • 属性
  • └ sales_account_name
  • String
  • 可选
  • xy123992
  • 销售账号名称
  • └ grounding_schedule
  • String
  • 可选
  • 2023-11-02 00:00:00
  • 上架排期
  • └ grounding_time
  • String
  • 可选
  • 2023-11-02 00:00:00
  • 上架时间
  • └ removal_time
  • String
  • 可选
  • 2023-11-02 10:00:00
  • 下架时间
  • └ is_user_bargaining
  • Boolean
  • 可选
  • true
  • 是否有用户议价
  • └ user_max_price
  • Number
  • 可选
  • 1000
  • 用户最高出价
  • └ is_supplier_bargaining
  • Boolean
  • 可选
  • true
  • 服务商是否议价
  • └ bargaining_time
  • String
  • 可选
  • 2023-11-02 00:00:00
  • 议价时间
  • └ is_contact_user
  • Boolean
  • 可选
  • true
  • 是否联系到卖家
  • └ seller_attitude
  • String
  • 可选
  • notAccept
  • 卖家态度
  • └ pay_channel
  • String
  • 可选
  • idle
  • 被支付渠道
  • └ is_transaction_successful
  • Boolean
  • 可选
  • false
  • 是否交易成功
  • └ distribution_channel
  • String
  • 必须
  • idle
  • 销售渠道

响应参数

名称 类型 示例值 描述
result Result 返回结果
  • └ err_msg
  • String
  • service-unavaliable
  • 错误编码
  • └ err_code
  • String
  • 更新失败
  • 错误信息
  • └ success
  • Boolean
  • true
  • 是否成功
  • └ module
  • Number
  • 1234
  • 记录id

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaIdleConsignmentOtherChannelsUploadRequest req = new AlibabaIdleConsignmentOtherChannelsUploadRequest();
AlibabaIdleConsignmentOtherChannelsUploadRequest.ConsignmentOtherChannelsDTO obj1 = new AlibabaIdleConsignmentOtherChannelsUploadRequest.ConsignmentOtherChannelsDTO();
obj1.setOrderId(1234567789L);
AlibabaIdleConsignmentOtherChannelsUploadRequest.HashMap obj2 = new AlibabaIdleConsignmentOtherChannelsUploadRequest.HashMap();
obj2.setSalesAccountName("xy123992");
obj2.setGroundingSchedule("2023-11-02 00:00:00");
obj2.setGroundingTime("2023-11-02 00:00:00");
obj2.setRemovalTime("2023-11-02 10:00:00");
obj2.setIsUserBargaining(true);
obj2.setUserMaxPrice(1000L);
obj2.setIsSupplierBargaining(true);
obj2.setBargainingTime("2023-11-02 00:00:00");
obj2.setIsContactUser(true);
obj2.setSellerAttitude("notAccept");
obj2.setPayChannel("idle");
obj2.setIsTransactionSuccessful(false);
obj1.setAttributes(obj2);
obj1.setDistributionChannel("idle");
req.setConsignmentOtherChannelsDto(obj1);
AlibabaIdleConsignmentOtherChannelsUploadResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_idle_consignment_other_channels_upload_response>
    <result>
        <err_msg>service-unavaliable</err_msg>
        <err_code>更新失败</err_code>
        <success>true</success>
        <module>1234</module>
    </result>
</alibaba_idle_consignment_other_channels_upload_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

返回
顶部