轻易云
注册体验

微盟添加在售商品v1_v1接口

所属平台
微盟
类型
WebAPI
作用
EXECUTE
接口版本
0.1
适配器
\Adapter\WeiMob\WeiMobExecuteAdapter
授权方式
OTHER
更新日期
2022-07-22

添加在售商品v1_v1

POST/apigw/weimob_shop/v2.0/goods/create
加工厂
{
  "operation": {
    "method": "none"
  }
}

接口请求参数

序号字段名称类型默认值必填描述
1basicInfobasicInfoobject1必填基础信息
2vidvidstring1必填组织结构节点 ID。组织的唯一标识,是 创建组织 时自动生成的 ID,也可以通过 bos/organization/getList 接口获取该 ID。
3categoryIdcategoryIdstring1必填商品类目 ID。可以通过 weimob_shop/goods/category/getList接口获取该 ID。
4categoryPropertyListcategoryPropertyListarray1可选商品参数信息列表,可以通过 weimob_shop/goods/category/property/content/getList 接口获取。
5categoryIdcategoryIdstring1必填商品类目 ID。可以通过 weimob_shop/goods/category/getList接口获取该 ID。
6propIdpropIdstring1必填商品参数 ID。可以通过 weimob_shop/goods/category/property/getList 接口获取该 ID。
7propValueIdpropValueIdstring1必填商品参数值 ID。可以通过 weimob_shop/goods/category/property/content/getList 接口获取该 ID。
8deductStockTypedeductStockTypestring1必填商品库存减扣方式。方式包括:1-下单减扣;2-支付减扣。
9defaultImageUrldefaultImageUrlstring1必填默认图片
10goodsPropertyListgoodsPropertyListarray1可选商品属性列表,可以通过 weimob_shop/goods/property/getList 接口获取。
11propIdpropIdstring1必填商品属性 ID。可以通过 weimob_shop/goods/property/getList接口获取该 ID。
12propValueIdpropValueIdstring1必填商品属性值 ID。可以通过 weimob_shop/goods/property/content/getList 接口获取该 ID。
13propIdpropIdstring1必填商品服务 ID。可以通过 weimob_shop/goods/service/getList 接口获取该 ID。
14propValueIdpropValueIdstring1必填商品服务值 ID。可以通过 weimob_shop/goods/service/content/getList 接口获取该 ID。
15goodsTemplateIdgoodsTemplateIdstring1必填商品模板 ID。可以通过 weimob_shop/goods/goodtemplate/getList 接口获取该 ID。
16goodsTypegoodsTypestring1必填商品类型。类型包括:1-普通商品;2-虚拟商品。
17initSalesinitSalesstring1必填初始销量
18innerPropertyListinnerPropertyListarray1可选商品内部属性列表
19propIdpropIdstring1必填内部属性 ID。可以通过 weimob_shop/goods/property/getList接口获取该 ID。
20propValueIdpropValueIdstring1必填内部属性值 ID。可以通过 weimob_shop/goods/property/content/getList 接口获取该 ID。
21isCanSellisCanSellstring1必填商品是否可售。false-禁售;true-可售。
22isMultiSkuisMultiSkustring1必填商品是否多规格。 false-单规格;true-多规格。
23isOnlineisOnlinestring1必填商品是否上架。false-下架;true 上架。
24goodsLimitNumgoodsLimitNumstring1必填限购数量
25goodsLimitCyclegoodsLimitCyclestring1必填限购周期
26limitSwitchlimitSwitchstring1必填限购开关。false-关闭; true-开启。
27outerGoodsCodeouterGoodsCodestring1必填商品编码
28performanceWayperformanceWayobject1必填履约方式
29deliveryListdeliveryListarray1必填配送方式。配送方式与商品类型关联,普通实物商品:只能设置商家配送、同城限时达、到底自提。 虚拟商品:只能设置无需物流配送方式。
30deliveryIddeliveryIdstring1必填配送方式 ID。可以通过 weimob_shop/fulfill/goods/fulfilltype/getList 接口获取该 ID。
31deliveryNodeShipIddeliveryNodeShipIdstring1必填配送方式关系节点 ID。可以通过 weimob_shop/fulfill/goods/fulfilltype/getList 接口获取该 ID。
32deliveryTypedeliveryTypestring1必填配送类型。类型包括:1-商家配送;2-同城限时达;3-到店自提;4-门店交易;5-无需物流;6-门店自助。
33templateIdtemplateIdstring1必填配送模板 ID
34fulfillCycleConfigfulfillCycleConfigobject1可选配送周期详细配置
35sellUnitIdsellUnitIdstring1可选销售单位 ID。可以通过 weimob_shop/goods/unit/getList 接口获取该 ID。
36specInfoListspecInfoListarray1可选商品规格列表。可以通过 weimob_shop/goods/category/skuspec/getList 接口获取商品规格列表。
37specIdspecIdstring1必填商品规格 ID
38specNamespecNamestring1必填商品规格名称
39skuSpecValueListskuSpecValueListarray1必填规格值列表
40specValueNamespecValueNamestring1必填规格值名称
41imageUrlimageUrlstring1必填图片链接
42specValueIdspecValueIdstring1必填商品规格值 ID
43sortsortstring1必填排序
44skuListskuListarray1必填商品规格 SKU 列表
45skuStockNumskuStockNumstring1必填SKU 库存数量
46marketPricemarketPricestring1可选市场价
47outerSkuCodeouterSkuCodestring1必填商家编码
48salePricesalePricestring1必填销售价
49volumevolumestring1可选体积
50cycleSkuListcycleSkuListarray1可选周期购 SKU 信息
51skuSpecValueListskuSpecValueListarray1必填SKU 规格值列表

接口响应参数

暂无参数说明

微盟的接口:添加在售商品v1_v1(/apigw/weimob_shop/v2.0/goods/create),由轻易云数据集成平台 API 资产管理模块整理收纳,并随微盟版本更新同步更新。

需要对接这个接口?

轻易云已预置该接口的适配能力,联系我们即可开始配置数据集成。