文档中心 > API类目 > MMC五盘货项目

alibaba.mmc.settle.subsidy.list (MMC五盘货项目结算域补贴明细查询)

MMC五盘货项目结算域补贴明细查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param_wph_bill_detail_query WphBillDetailQuery 可选 入参
  • └ bill_date
  • String
  • 可选
  • 20210831
  • 订单日期
  • └ last_max_code
  • String
  • 可选
  • 0
  • listBillDetail
  • └ merchant_code
  • String
  • 可选
  • MMC
  • 商家编码
  • └ out_trace_id
  • String
  • 可选
  • 12121ww2asdfadsf1212
  • 外部请求ID,方便排查问题
  • └ page_size
  • Number
  • 可选
  • 100
  • 页面大小
  • └ source
  • String
  • 可选
  • DARUNFA
  • 调用来源

响应参数

名称 类型 示例值 描述
result ResultDto 异步获取历史数据接口返回结果
  • content
  • WphSettleBillResDto
  • 内容
  • bill_infos
  • WphSettleBillInfoDto []
  • 账单信息集合
  • └ c_sales_amount
  • Number
  • C端销售金额
  • └ agent_service_fee
  • Number
  • 代运营服务费
  • └ ak_accept_time
  • Date
  • 确认收货时间
  • └ bill_date
  • Number
  • 账单日期
  • └ biz_order_id
  • String
  • 业务主单号
  • └ order_type
  • String
  • 业务订单类型
  • └ platform_service_fee
  • Number
  • 平台服务费
  • └ platform_subsidy_amount
  • Number
  • 平台补贴金额
  • └ sales_quantity
  • Number
  • 销售数量
  • └ second_settle_fee
  • Number
  • 二次结算费用
  • └ settle_amount
  • Number
  • 子订单结算金额
  • └ settle_price
  • Number
  • 商品结算价
  • └ sku_code
  • String
  • 商品编码
  • └ sku_name
  • String
  • 商品名称
  • └ warehouse_code
  • String
  • 中心仓编码
  • └ warehouse_name
  • String
  • 中心仓名称
  • └ sub_biz_order_id
  • String
  • 业务子单号
  • └ sub_biz_time
  • Date
  • 业务时间
  • └ max_code
  • String
  • 返回的集合最大code
  • └ error_code
  • String
  • 错误码
  • └ error_message
  • String
  • 错误码
  • └ success
  • Boolean
  • true
  • 执行结果

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaMmcSettleSubsidyListRequest req = new AlibabaMmcSettleSubsidyListRequest();
AlibabaMmcSettleSubsidyListRequest.WphBillDetailQuery obj1 = new AlibabaMmcSettleSubsidyListRequest.WphBillDetailQuery();
obj1.setBillDate("20210831");
obj1.setLastMaxCode("0");
obj1.setMerchantCode("MMC");
obj1.setOutTraceId("12121ww2asdfadsf1212");
obj1.setPageSize(100L);
obj1.setSource("DARUNFA");
req.setParamWphBillDetailQuery(obj1);
AlibabaMmcSettleSubsidyListResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_mmc_settle_subsidy_list_response>
    <result>
        <content>
            <bill_infos>
                <wph_settle_bill_info_dto>
                    <c_sales_amount></c_sales_amount>
                    <agent_service_fee></agent_service_fee>
                    <ak_accept_time></ak_accept_time>
                    <bill_date></bill_date>
                    <biz_order_id></biz_order_id>
                    <order_type></order_type>
                    <platform_service_fee></platform_service_fee>
                    <platform_subsidy_amount></platform_subsidy_amount>
                    <sales_quantity></sales_quantity>
                    <second_settle_fee></second_settle_fee>
                    <settle_amount></settle_amount>
                    <settle_price></settle_price>
                    <sku_code></sku_code>
                    <sku_name></sku_name>
                    <warehouse_code></warehouse_code>
                    <warehouse_name></warehouse_name>
                    <sub_biz_order_id></sub_biz_order_id>
                    <sub_biz_time></sub_biz_time>
                </wph_settle_bill_info_dto>
            </bill_infos>
            <max_code></max_code>
        </content>
        <error_code></error_code>
        <error_message></error_message>
        <success>true</success>
    </result>
</alibaba_mmc_settle_subsidy_list_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

返回
顶部