product_query.md 4.01 KB

1.获取商品可售平台设置列表(平台端商品管理:所有)

接口名: /ProductSaleController/getProductSaleList.do

入参


属性名称 类型 例子 说明 是否必填
productSkn Integer 51198438 产品SKN号
productName string 商品名称 产品名称
brandId Short 1234 品牌ID
shopId Short 1234 店铺ID
maxSortId Short 1234 产品一级分类ID
middleSortId Short 1234 产品二级分类ID
smallSortId Short 1234 产品三级分类ID
sortId Short 1234 产品四级分类ID
gender string 1 性别(1男、2女、3通用)
isAdvance string Y 是否预售,Y:是,N:否
isJit string Y 是否jit商品,Y:是,N:否
isOutLets string 'B' 'Y','N','B' 是否奥莱,默认品牌设置
founderName String 111 创建人名称
salePlatform int 1 1、线上线下均可售 2、仅线上可售 3、仅线下可售
storeId int 1 线下门店Id
isAutoAllocation int 0 0、关闭自动生成调拨单状态 1、开启自动生成调拨单状态
isOnline int 0 0、不是线上展示 1、是线上展示
page int 1 当前页
size int 10 每页显示条数

接口返回消息体

{
  "code": 200,
  "data": {
    "list": [
      {
        "ageLevel": "1",
        "attribute": 1,
        "auditFailTime": 0,
        "auditPassId": 2794,
        "auditPassName": "wxtest1",
        "auditPassTime": 1458647086,
        "baseGoodList": [
          {
            "colorId": 90,
            "createTime": 1458647027,
            "factoryCode": "1221",
            "factoryGoodsName": "21",
            "goodsColorImage": "http://img12.static.yhbimg.com\goodsimg/2016/03/22/19/0257a05ae92dd665f3a42894a4e7135896.jpg",
            "goodsName": "jpgs(+)",
            "goodsSizeList": [
              {
                "barCode": "12",
                "createTime": 1458647027,
                "isSuppled": "N",
                "marketPrice": 21,
                "presaleStorageNum": 0,
                "productSkc": 336352,
                "productSkn": 51198439,
                "productSku": 1047563,
                "salePrice": 21,
                "sizeId": 267,
                "updateTime": 1458647027
              }
            ],
            "productSkc": 336352,
            "productSkn": 51198439,
            "updateTime": 1458647027
          }
        ],
        "brandFolder": 0,
        "brandId": 1555,
        "brandName": "请不要用我的品牌,谢谢",
        "createTime": 1458647027,
        "editTime": 1458647027,
        "expectArrivalTime": 0,
        "expectShelfTime": 1458595500,
        "factoryCode": "",
        "founder": 2794,
        "founderName": "wxtest1",
        "gender": "1",
        "goodsSeason": 0,
        "goodsYears": 2016,
        "grade": "0",
        "isAdvance": "N",
        "isAuditing": 200,
        "isJit": "N",
        "isLimitbuy": "N",
        "isLimited": "N",
        "isMainPush": "N",
        "isOutLets": "B",
        "isPromotionalGifts": "N",
        "isSupplied": 2,
        "isVip": "B",
        "limitEndTime": 0,
        "limitStartTime": 0,
        "maxSortId": 1,
        "maxSortName": "上衣",
        "middleSortId": 12,
        "middleSortName": "衬衫",
        "operateInfo": "wxtest1 2016-03-22 19:44:46",
        "productName": "请不要用我的品牌,谢谢衬衫",
        "productSkn": 51198439,
        "productTag": "12122121",
        "rejectReason": "",
        "retailPrice": 21,
        "salesPrice": 21,
        "seasons": "",
        "seriesId": 0,
        "shopId": 0,
        "sizeMaxSortId": 0,
        "sizeMiddleSortId": 0,
        "sizeSmallSortId": 0,
        "smallSortId": 115,
        "smallSortName": "衬衫",
        "sortId": 0,
        "supplierId": 0,
        "yohoCoin": 0
      }
    ],
    "page": 1,
    "size": 10,
    "total": 119,
    "totalPage": 12
  },
  "md5": "23163c6c8ac58fc85f9cad364c165483",
  "message": "获取列表成功."
}