描述商品信息更新 修改/新增
URL{你的ERP域名}/app_zhenghe/aapi_app_zhenghe_syn/up_goods
HTTP请求方式post
是否需要登录false
字段 | 必选 | 类型及范围 | 说明 |
---|---|---|---|
appid | true | string | 应用ID(appId) |
sign | true | string | 签名参数 |
data | true | string | 请求数据 |
data[productInfoList] | true | string | 批量商品信息 |
data[productInfoList][][outProductNo] | true | string | 商户定义的产品id (唯一,用来区分是否是新增或者修改) |
data[productInfoList][][productName] | true | string | 产品名称 |
data[productInfoList][][backendCategory] | true | string | 产品最下一级后端类目编码 |
data[productInfoList][][pricingMethod] | true | string | 计价方式 1计件 2计重 |
data[productInfoList][][status] | true | string | 商品状态 1可售 0不可售 |
data[productInfoList][][outSkuNo] | true | string | 商户定义的SKUid |
data[productInfoList][][specs] | true | string | 规格 |
data[productInfoList][][unit] | true | string | 商品的售卖单位 |
data[productInfoList][][barCodeList] | true | string | Sku对应的所有条码(用英文逗号分隔,不要有多余的逗号) |
data[productInfoList][][productBrand] | false | string | 产品品牌 |
data[productInfoList][][outProductBrandId] | false | string | 商户定义的品牌id |
data[productInfoList][][location] | false | string | 产地 |
字段 | 类型及范围 | 说明 |
---|---|---|
status | string | 状态 y=成功 n=失败 |
info | html | 提示信息 |
data | array | 返回的数据 |
data[sucess_num] | string | 成功条数 |
data[fail_num] | string | 失败条数 |
data[err_row] | array | 错误信息 |
TIPS商品信息更新 修改/新增