商品维度设置一口价,用来调整商品的一口价
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
itemId | String | 必须 | 1232123 | 前端店铺商品id | |
formulaId | String | 必须 | 1 | 价格公式模版; 1:采购价* 汇率*(1+加价率)+运费 2:(采购价*汇率+运费)/(1-加价率) | |
shippingFee | String | 必须 | 70.54 | 运费 | |
increaseRate | String | 必须 | 29.99 | 加价率 | |
platformId | String | 必须 | TOF | 销售平台,扩展用;当前支持:TOF |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
data | Data | 返回数据 | |
|
|||
success | Boolean | true | 接口是否返回成功 |
errCode | String | 500 | 错误码 |
errMessage | String | no such item | 错误信息 |
{"itemId":"1232123","formulaId":"1","shippingFee":"70.54","increaseRate":"29.99","platformId":"TOF"}
{ "data":{ "res":"xxx" }, "success":true, "errCode":"500", "errMessage":"no such item" }
{"result":{"success":"false","errCode":"sign-check-failure","errMessage":"Illegal request"}}
错误码 | 错误描述 | 解决方案 |
---|