获取有订单的商品
shipment/unShip/waitShip/goodsList/get
get 请求
参数:
{
platform_name: pinduoduo
}
返回:
{
"code": "0",
"data": {
"goods_list":
[{
"goods_id": 400194,
"platform_goods_id": 26369025159,
"goods_name": "测试商品",
"has_sku_spec": 1,
"goods_number": "3",
"outer_id": "400194"
}]
}
}
根据商品获取sku
shipment/unShip/skuList/get/byGoodsId
get 请求
参数:
//???
返回:
//??啥时候调用的,没看到
获取系统的商品(一般是强管理)
goods/list
get 请求
参数:
{
platform_name:
}
返回:
{
"code": "0",
"data": {
"goods_list":
[{
"goods_id": 400194, //系统goodsId
"platform_goods_id": 26369025159, //平台goodsId
"goods_name": "测试商品", //商品名称
"has_sku_spec": 1, //是否有sku
"goods_number": "3", //??
}]
}
}
获取系统商品SKU(强管理)
goods/sku/list
get 请求
参数:
{
platform_goods_id: 4015955823
shop_id: 400047
}
返回:
{
"code": "0",
"data": [{
"platform_sku_id": 96796799554,
"spec": "90*200cm",
"shop_id": 400047,
"sku_id": 300904,
"spec_1_key": "型号",
"spec_1_value": "90*200cm",
"spec_2_key": null,
"spec_2_value": null,
"spec_3_key": null,
"spec_3_value": null
}]
}
获取平台商品(一般是弱管理时)
platform/goods/list
get 请求
参数:
{
platform_name:
shop_ids:
}
返回:
{
"code": "0",
"data": {
"goods_list":
[{
"goods_id": 400194,
"platform_goods_id": 26369025159,
"goods_name": "测试商品",
"has_sku_spec": 1,
"goods_number": "3",
}]
}
}
获取平台商品SKU (一般是弱管理时)
platform/goods/sku/list
get 请求
参数:
{
platform_goods_id: 4015955823
shop_id: 400047
}
返回:
{
"code": "0",
"data": [{
"platform_sku_id": 96796799554,
"spec": "90*200cm",
"shop_id": 400047,
"sku_id": 300904,
"spec_1_key": "型号",
"spec_1_value": "90*200cm",
"spec_2_key": null,
"spec_2_value": null,
"spec_3_key": null,
"spec_3_value": null
}]
}
网友评论