sales.getSalesAmount 获取销售单统计数据

详细描述

获取一段时间段内的销售单总额数据

应用级参数

参数名称 是否必要 类型 描述
start_time string 开始时间
end_time string 结束时间
page_no string 页码
page_size string 每页数量
shop_bn string 店铺编码 多个店铺编码之间,用#分隔

返回结果

XML数据,例:

成功

<response>
    <lists>
        <sales_amount>50137.120</sales_amount>
        <cost_freight>1000.000</cost_freight>
        <discount>1016.100</discount>
        <additional_costs>1.100</additional_costs>
        <shop_bn><![CDATA[SD123]]></shop_bn>
        <sales_amount>63.000</sales_amount>
        <cost_freight>10.000</cost_freight>
        <discount>0.000</discount>
        <additional_costs>1.000</additional_costs>
        <shop_bn><![CDATA蘑菇街]]></shop_bn>
        <sales_amount>10.000</sales_amount>
        <cost_freight>0.000</cost_freight>
        <discount>0.000</discount>
        <additional_costs>0.000</additional_costs>
        <shop_bn><![CDATA[yunzhan]]></shop_bn>
    </lists>
</response>
json数据,例:

成功

{
    "response": {
        "lists": [
            {
                "sales_amount": "50137.120",
                "cost_freight": "1000.000",
                "discount": "1016.100",
                "additional_costs": "1.100",
                "shop_bn": "SD123"
            },
            {
                "sales_amount": "63.000",
                "cost_freight": "10.000",
                "discount": "0.000",
                "additional_costs": "1.000",
                "shop_bn": "蘑菇街"
            },
            {
                "sales_amount": "10.000",
                "cost_freight": "0.000",
                "discount": "0.000",
                "additional_costs": "0.000",
                "shop_bn": "yunzhan"
            }
        ]
    }
}

沪ICP备05002918号

© 2003-2017 ShopEx,Inc.All rights reserved.