元仓开放平台
  1. 商品
元仓开放平台
  • 开发者必读
    • 对接说明
    • 枚举描述
  • 授权
    • 授权
      POST
  • 基础资料
    • 国家
      POST
    • 币种
      POST
    • 元仓渠道(物流公司)
      POST
    • 客户开启的元仓渠道(物流公司)
      POST
    • 元仓仓库
      POST
    • 客户开启的元仓仓库
      POST
    • 元仓平台
      POST
    • 文件上传
      POST
  • 商品
    • 商品分类
      POST
    • 商品货物属性
      POST
    • 商品成交单位
      POST
    • 商品新增
      POST
    • 商品修改
      POST
    • 商品作废
      POST
    • 商品打印标签
      POST
    • 商品列表
      POST
    • 商品详情
      POST
    • 商品发货仓库匹配
      POST
  • 入库
    • 预报入库
      • 运输方式
      • 货物属性
      • 入库新增
      • 入库作废
      • 入库确认
      • 入库详情
      • 入库列表
      • 头程物流成本修改
      • 入库箱唛打印标签
      • 入库完结
    • 入库(不带箱唛)
      • 入库新增
      • 入库作废
      • 入库确认
      • 入库详情
      • 入库列表
      • 入库完结
  • 订单
    • 几大平台对应channelCode字段的取值
    • 订单新增
      POST
    • 订单取消
      POST
    • 订单列表
      POST
    • 订单详情
      POST
    • 标记订单是否上网
      POST
    • 更新物流追踪信息
      POST
  • 库存
    • 库存动态列表
    • 库存盘点列表
    • 库存列表
    • 库龄报表(非实时)
  • 换单
    • 新增订单
    • 订单列表
    • 取消订单
  • 退货
    • 退货单新增
    • 退货单列表
    • 退货单作废
    • 退货单详情
    • 退货单决策
  • 订阅
    • 签名推送测试
    • 预报入库/入库(不带箱唛)推送(状态)
    • 预报入库/入库(不带箱唛)推送(上架明细)
    • 订单推送
    • 退货单推送
    • 库存盘点完结推送
  1. 商品

商品详情

测试环境
测试环境
POST
https://test.api.yc-client.anestcang.com
/api/openPlatform/product/detail
最后修改时间:2024-06-03 02:52:23

请求参数

Header 参数
Authorization
string 
必需
例: Bearer 2296|M9DlZJI54pxcbdtdapSOy4wNkzYKijw5jpjJIhS7
默认值:
Bearer {{token}}
Content-Type
string 
必需
默认值:
application/json
Body 参数application/json
customerSku
string 
客户sku
必需
示例
{
  "customerSku": "TT309398918"
}

返回响应

🟢200成功
application/json
Body
state
string 
必需
msg
string 
必需
data
object 
必需
id
integer 
商品ID
必需
categoryId
integer 
分类ID
必需
productName
string 
商品英文名称
必需
productCnName
string 
商品中文名称
必需
productSku
string 
元仓SKU
必需
customerSku
string 
客户编码(SKU)
必需
ean
string 
ean
必需
productRefCode
string 
参考编码
必需
productDeclareName
string 
申报英文名称
必需
productDeclareCnName
string 
申报中文名称
必需
productLink
string 
商品链接
必需
productAttr
integer 
货物属性
必需
productAttrDescription
string 
货物属性描述
必需
productType
integer 
货物类型
必需
productTypeDescription
string 
货物类型描述
必需
hasBrand
integer 
是否有品牌
必需
brandName
string 
品牌名称
必需
productModel
string 
型号
必需
unitCode
string 
成交单位
必需
unit
string 
成交单位描述
必需
inProductCustomsInfo
array[string]
进口海关信息
必需
status
integer 
状态
必需
mainWarehouseCode
string 
主仓编码
必需
mainWarehouseName
string 
主仓名称
必需
statusDescription
string 
状态描述
必需
use
string 
用途
必需
material
string 
材质
必需
refCostPrice
string 
参考成本价
必需
createTime
string 
创建时间
必需
updateTime
string 
更新时间
必需
outProductCustomsInfo
object 
出口海关信息
必需
productImages
array[string]
商品图片
必需
productSpecs
object 
商品规格
必需
warehouseInfo
array [object {4}] 
商品仓库
必需
示例
{
  "state": "000001",
  "msg": "请求成功",
  "data": {
    "id": 1613,
    "categoryId": 1,
    "productName": "LAMP1",
    "productCnName": "LAMP12",
    "productSku": "YSD-AM30993",
    "customerSku": "AM30993",
    "productRefCode": "AM30993-REF",
    "productDeclareName": "LAMP",
    "productDeclareCnName": "48FT15头2WLED户外防水灯串英规",
    "productLink": "https://www.amazon.com/Eyekepper-Modern-Single-Waterfall-Bathroom/dp/B00KSW5Q8Q/ref=sr_1_2?s=kitchen-bath&ie=UTF8&qid=1487210962&sr=1-2&keywords=Faucet",
    "productAttr": 0,
    "productAttrDescription": "普货",
    "productType": 0,
    "productTypeDescription": "包裹",
    "hasBrand": 1,
    "brandName": "华为",
    "productModel": "无",
    "unitCode": "pcs",
    "unit": "个/只/件/支/枝/把",
    "inProductCustomsInfo": [
      {
        "country": "MY",
        "price": 1.22
      },
      {
        "country": "SG",
        "price": 1.33
      }
    ],
    "status": 0,
    "mainWarehouseCode": "001",
    "mainWarehouseName": "马来西亚1号仓-(仓库编码:001)",
    "statusDescription": "废弃",
    "use": "科研",
    "material": "金属",
    "refCostPrice": "1.00",
    "createTime": "2022-08-24 11:21:41",
    "updateTime": "2022-08-24 11:21:41",
    "outProductCustomsInfo": {
      "country": "CN",
      "price": 1.44
    },
    "productImages": [
      "https://m.media-amazon.com/images/I/41OAUIloxPL._AC_US40_.jpg",
      "https://m.media-amazon.com/images/I/41rZdeJfI-L._AC_US40_.jpg"
    ],
    "productSpecs": {
      "length": 1,
      "width": 1.1,
      "height": 1.2,
      "weigh": 1.3,
      "packageLength": 1,
      "packageWidth": 1,
      "packageHeight": 1,
      "packageWeigh": 1
    },
    "warehouseInfo": [
      {
        "warehouseCode": "001",
        "warehouseName": "马来西亚1号仓",
        "purchasePrice": 1,
        "stockPrice": 1,
        "updatedAt": "2022-08-30 16:49:28"
      }
    ]
  }
}
修改于 2024-06-03 02:52:23
上一页
商品列表
下一页
商品发货仓库匹配
Built with