orders_goods.md 8.87 KB

#大数据报表

销售统计

接口名:/shop/getOrdersGoodsRptList


属性名称 类型 例子 说明
page int 2 第几页
size int 10 每页条数
type int 1 1 日 2 周 3 月
reqTime int 1222 日报 月报 日期
beginTime string bsss1222 周报:开始日期
endTime string 周报:结束日期
productSkn int 1222 skn
productSkc int 1222 skc
productSku int 1222 sku
factoryCode string 234234 出厂编号
sortId int 12 产品分类

返回

请求样例:
{
  "page": 1,
  "size": 2
}
正常返回:

{
    "alg": "SALT_MD5",
    "code": 200,
    "data": {
        "additionInfo": {
            "allAmount": 2977818.56,
            "allAmountRate": 2977817.56,
            "allNumber": 14747,
            "allNumberRate": 14746
        },
        "list": [
            {
                "brandId": 144,
                "brandName": "VANS",
                "buyNumber": 1,
                "colorId": 2,
                "colorName": "黑色",
                "dateId": 20160518,
                "factoryCode": "VN0004PA1861",
                "goodsName": "VANS Sk8-Hi Lite 超轻来袭  ",
                "imageUrl": "",
                "maxSortId": 6,
                "maxSortName": "鞋靴",
                "middleSortId": 44,
                "middleSortName": "休闲/运动鞋",
                "orderAmount": 665,
                "orderCode": 1605008704,
                "productSkc": 371718,
                "productSkn": 51227423,
                "productSku": 1159909,
                "retailPrice": 665,
                "salesPrice": 665,
                "shopName": "",
                "sizeId": 125,
                "sizeName": "42码",
                "smallSortId": 147,
                "smallSortName": "休闲/运动鞋"
            }
        ],
        "page": 1,
        "size": 10,
        "total": 14612,
        "totalPage": 1462
    },
    "md5": "ce4964c1e6defece5035c81b63c3c51d",
    "message": "getOrdersGoodsRptList result"
}
异常返回:
{
    "code": 405,
    "data": [],
    "md5": "d751713988987e9331980363e24189ce",
    "message": "getOrdersGoodsRptList"
}

退货统计

接口名:/shop/getReturnGoodsRptList


属性名称 类型 例子 说明
page int 2 第几页
size int 10 每页条数
type int 1 1 日 2 周 3 月
reqTime int 1222 日报 月报 日期
beginTime string bsss1222 周报:开始日期
endTime string 周报:结束日期
productSkn int 1222 skn
productSkc int 1222 skc
productSku int 1222 sku
factoryCode string 234234 出厂编号
sortId int 12 产品分类

返回

请求样例:
{
  "page": 1,
  "size": 2
}
正常返回:

{
    "alg": "SALT_MD5",
    "code": 200,
    "data": {
        "additionInfo": {
            "allAmount": 2977818.56,
            "allAmountRate": 2977817.56,
            "allNumber": 14747,
            "allNumberRate": 14746
        },
        "list": [
            {
                "brandId": 144,
                "brandName": "VANS",
                "buyNumber": 1,
                "colorId": 2,
                "colorName": "黑色",
                "dateId": 20160518,
                "factoryCode": "VN0004PA1861",
                "goodsName": "VANS Sk8-Hi Lite 超轻来袭  ",
                "imageUrl": "",
                "maxSortId": 6,
                "maxSortName": "鞋靴",
                "middleSortId": 44,
                "middleSortName": "休闲/运动鞋",
                "orderAmount": 665,
                "orderCode": 1605008704,
                "productSkc": 371718,
                "productSkn": 51227423,
                "productSku": 1159909,
                "retailPrice": 665,
                "salesPrice": 665,
                "shopName": "",
                "sizeId": 125,
                "sizeName": "42码",
                "smallSortId": 147,
                "smallSortName": "休闲/运动鞋"
            }
        ],
        "page": 1,
        "size": 10,
        "total": 14612,
        "totalPage": 1462
    },
    "md5": "ce4964c1e6defece5035c81b63c3c51d",
    "message": "getOrdersGoodsRptList result"
}
异常返回:
{
    "code": 405,
    "data": [],
    "md5": "d751713988987e9331980363e24189ce",
    "message": "getOrdersGoodsRptList"
}

发货入库统计

接口名:/shop/getStorageInRptList


属性名称 类型 例子 说明
page int 2 第几页
size int 10 每页条数
beginTime string bsss1222 周报:开始日期
endTime string 周报:结束日期
productSkn int 1222 skn
productSkc int 1222 skc
productSku int 1222 sku
factoryCode string 234234 出厂编号
sortId int 12 产品分类

返回

请求样例:
{
  "page": 1,
  "size": 2
}
正常返回:

{
    "alg": "SALT_MD5",
    "code": 200,
    "data": {
        "additionInfo": {
            "allAmount": 2977818.56,
            "allAmountRate": 2977817.56,
            "allNumber": 14747,
            "allNumberRate": 14746
        },
        "list": [
            {
                "brandId": 144,
                "brandName": "VANS",
                "buyNumber": 1,
                "colorId": 2,
                "colorName": "黑色",
                "dateId": 20160518,
                "factoryCode": "VN0004PA1861",
                "goodsName": "VANS Sk8-Hi Lite 超轻来袭  ",
                "imageUrl": "",
                "maxSortId": 6,
                "maxSortName": "鞋靴",
                "middleSortId": 44,
                "middleSortName": "休闲/运动鞋",
                "orderAmount": 665,
                "orderCode": 1605008704,
                "productSkc": 371718,
                "productSkn": 51227423,
                "productSku": 1159909,
                "retailPrice": 665,
                "salesPrice": 665,
                "shopName": "",
                "sizeId": 125,
                "sizeName": "42码",
                "smallSortId": 147,
                "smallSortName": "休闲/运动鞋"
            }
        ],
        "page": 1,
        "size": 10,
        "total": 14612,
        "totalPage": 1462
    },
    "md5": "ce4964c1e6defece5035c81b63c3c51d",
    "message": "getOrdersGoodsRptList result"
}
异常返回:
{
    "code": 405,
    "data": [],
    "md5": "d751713988987e9331980363e24189ce",
    "message": "getOrdersGoodsRptList"
}

清退出库统计

接口名:/shop/getStorageOutRptList


属性名称 类型 例子 说明
page int 2 第几页
size int 10 每页条数
beginTime string bsss1222 周报:开始日期
endTime string 周报:结束日期
productSkn int 1222 skn
productSkc int 1222 skc
productSku int 1222 sku
factoryCode string 234234 出厂编号
sortId int 12 产品分类

返回

请求样例:
{
  "page": 1,
  "size": 2
}
正常返回:

{
    "alg": "SALT_MD5",
    "code": 200,
    "data": {
        "additionInfo": {
            "allAmount": 2977818.56,
            "allAmountRate": 2977817.56,
            "allNumber": 14747,
            "allNumberRate": 14746
        },
        "list": [
            {
                "brandId": 144,
                "brandName": "VANS",
                "buyNumber": 1,
                "colorId": 2,
                "colorName": "黑色",
                "dateId": 20160518,
                "factoryCode": "VN0004PA1861",
                "goodsName": "VANS Sk8-Hi Lite 超轻来袭  ",
                "imageUrl": "",
                "maxSortId": 6,
                "maxSortName": "鞋靴",
                "middleSortId": 44,
                "middleSortName": "休闲/运动鞋",
                "orderAmount": 665,
                "orderCode": 1605008704,
                "productSkc": 371718,
                "productSkn": 51227423,
                "productSku": 1159909,
                "retailPrice": 665,
                "salesPrice": 665,
                "shopName": "",
                "sizeId": 125,
                "sizeName": "42码",
                "smallSortId": 147,
                "smallSortName": "休闲/运动鞋"
            }
        ],
        "page": 1,
        "size": 10,
        "total": 14612,
        "totalPage": 1462
    },
    "md5": "ce4964c1e6defece5035c81b63c3c51d",
    "message": "getOrdersGoodsRptList result"
}
异常返回:
{
    "code": 405,
    "data": [],
    "md5": "d751713988987e9331980363e24189ce",
    "message": "getOrdersGoodsRptList"
}