1.基本信息

POST {请求地址}/apicenter/api/sku/list

2.请求参数

Body 请求参数

  1. {
  2. "client_code": "20",
  3. "client_type": 2,
  4. "create_time_to": 1701082582,
  5. "create_time_from": 1701082455,
  6. "page_index": 1,
  7. "page_size": 20,
  8. "sku": "xx,yy,yy3"
  9. }
名称 位置 类型 必选 说明
client_code body string 店铺id
client_type body integer 类型,自定义平台为1,第三方平台为2
create_time_to body integer none
create_time_from body integer none
page_index body integer none
page_size body integer none
sku body String sku,多个用,隔开

3.返回结果

返回示例

200 Response

  1. {
  2. "code": 200,
  3. "data": {
  4. "list": [
  5. {
  6. "prod_name_en": "mabang商品001",
  7. "photo_primary": "http://testfilehw.oss-cn-shenzhen.aliyuncs.com/ERP/public/1/img/20231127/m42i6NnMJc.png",
  8. "prod_height": "200.00",
  9. "prod_weight": "500.00",
  10. "name": "mabang商品001",
  11. "prod_width": "100.00",
  12. "sku": "mabang-sku-001",
  13. "prod_length": "100.00",
  14. "barcode_print_link": "http://demo.yunyancang.com:8878/api/sku-barcode-print?type=eyJ0eXBlIjoxLCJza3UiOiJtYWJhbmctc2t1LTAwMSJ9"
  15. }
  16. ],
  17. "totalCount": "1"
  18. },
  19. "message": "success"
  20. }

4.返回参数结构

名称 类型 中文名 说明
code integer 响应码 none
message string 响应描述 none
» prod_name_en string 产品英文名称 none
» photo_primary string 主图片缩略图 file name none
» prod_height string 高(cm) none
» prod_weight string 重量 (g) none
» name string none
» prod_width string 宽(cm) none
» sku string
» barcode_print_link string sku条形码
» totalCount string 数量
» sku string sku别名 none
» prod_length string 长(cm) none
» barcode_print_link string 条形码 none