1、基本信息

  (1)请求方法: http put

  (2)请求地址: http://{hostname}/apicenter/api/sku

  (3)说明:

  1. 修改SKU


2、请求参数

名称 数据类型 说明 是否必填
brand String 品牌
client_code String 客户id
client_type Integer 自定义平台为1,第三方平台为2
code String SKU 编码
height String 高(cm)
length String 长(cm)
name String SKU 名称
origin_country String 仓库所在国家
prod_name_en String 英文品名
weight String 重量(g)
width String 宽(cm)


3、请求示例

  1. {
  2. "sku_list": [
  3. {
  4. "brand": "XTOOL牌",
  5. "client_code": "CK2023",
  6. "code": "AB00CCCAB",
  7. "height": "1",
  8. "length": "1",
  9. "name": "圆形雕刻皮补丁-76*76mm-黑银-10pcs",
  10. "origin_country": "US",
  11. "prod_name_en": "",
  12. "weight": "1",
  13. "width": "1"
  14. }
  15. ]
  16. }


4、响应参数

名称 数据类型 说明
»code Integer 响应码
»message String 提示信息
»data String 响应数据
client_code String 店铺id
client_type Integer 店铺类型
code String SKU 编码
barcode String SKU 条形码
barcodes Array 多个条形码
name String SKU 名称
prod_name_en String 英文品名
description String 描述
declare_name String 报关名称
origin_country String 仓库所在国家
color String 颜色
size String 尺寸
battery_type String 商品报关信息-是否包含电池
number_of_battery String 商品报关信息-报关编码
sku_images Array SKU 商品展示图
weight String 重量(g)
length String 长(cm)
width String 宽(cm)
height String 高(cm)
brand String 品牌
declarevalue String 申报价值
claredescription String 申报品名


5、响应示例

  1. {
  2. "code": 201,
  3. "data": [
  4. {
  5. "client_code": "jlda002",
  6. "client_type": null,
  7. "code": "c_Sku",
  8. "barcode": null,
  9. "barcodes": null,
  10. "name": "圆形雕刻皮补丁-76*76mm-黑银-10pcs",
  11. "prod_name_en": "",
  12. "description": null,
  13. "declare_name": null,
  14. "origin_country": "US",
  15. "hts_code": null,
  16. "category_id": null,
  17. "category_name_1": null,
  18. "category_name_2": null,
  19. "category_name_3": null,
  20. "color": null,
  21. "size": null,
  22. "line": null,
  23. "style": null,
  24. "season": null,
  25. "gender": null,
  26. "business_line": null,
  27. "product_type": null,
  28. "ingredient": null,
  29. "business_type": null,
  30. "model": null,
  31. "battery_type": null,
  32. "number_of_battery": null,
  33. "manufacturer_name": null,
  34. "manufacturer_address": null,
  35. "queue_order": null,
  36. "box_qty": 0,
  37. "is_serial_number_required": null,
  38. "capture_serial_number_in": null,
  39. "serial_number_formats": [],
  40. "status": true,
  41. "is_virtual_sku": null,
  42. "virtual_sku_bundling_configuration": [],
  43. "is_sku_verification_required": null,
  44. "sku_images": [],
  45. "weight": "99",
  46. "length": "1",
  47. "width": "1",
  48. "height": "1",
  49. "brand": "XTOOL牌",
  50. "declarevalue": "0",
  51. "claredescription": null,
  52. "is_batch_required": null,
  53. "is_packing_material": null,
  54. "is_expire_date_required": null,
  55. "is_manufacture_date_required": null
  56. }
  57. ],
  58. "message": "Update succeeded"
  59. }
备注
  • 更多返回错误代码请看首页的错误代码描述