Qeasy Cloud
Get Started

微盟 添加在售商品v1_v1 API

Platform
微盟
Type
WebAPI
Effect
EXECUTE
API Version
0.1
Adapter
\Adapter\WeiMob\WeiMobExecuteAdapter
Auth Mode
OTHER
Updated At
2022-07-22

添加在售商品v1_v1

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

Request Parameters

No.FieldNameTypeDefaultRequiredDescription
1basicInfobasicInfoobject1Required基础信息
2vidvidstring1Required组织结构节点 ID。组织的唯一标识,是 创建组织 时自动生成的 ID,也可以通过 bos/organization/getList 接口获取该 ID。
3categoryIdcategoryIdstring1Required商品类目 ID。可以通过 weimob_shop/goods/category/getList接口获取该 ID。
4categoryPropertyListcategoryPropertyListarray1Optional商品参数信息列表,可以通过 weimob_shop/goods/category/property/content/getList 接口获取。
5categoryIdcategoryIdstring1Required商品类目 ID。可以通过 weimob_shop/goods/category/getList接口获取该 ID。
6propIdpropIdstring1Required商品参数 ID。可以通过 weimob_shop/goods/category/property/getList 接口获取该 ID。
7propValueIdpropValueIdstring1Required商品参数值 ID。可以通过 weimob_shop/goods/category/property/content/getList 接口获取该 ID。
8deductStockTypedeductStockTypestring1Required商品库存减扣方式。方式包括:1-下单减扣;2-支付减扣。
9defaultImageUrldefaultImageUrlstring1Required默认图片
10goodsPropertyListgoodsPropertyListarray1Optional商品属性列表,可以通过 weimob_shop/goods/property/getList 接口获取。
11propIdpropIdstring1Required商品属性 ID。可以通过 weimob_shop/goods/property/getList接口获取该 ID。
12propValueIdpropValueIdstring1Required商品属性值 ID。可以通过 weimob_shop/goods/property/content/getList 接口获取该 ID。
13propIdpropIdstring1Required商品服务 ID。可以通过 weimob_shop/goods/service/getList 接口获取该 ID。
14propValueIdpropValueIdstring1Required商品服务值 ID。可以通过 weimob_shop/goods/service/content/getList 接口获取该 ID。
15goodsTemplateIdgoodsTemplateIdstring1Required商品模板 ID。可以通过 weimob_shop/goods/goodtemplate/getList 接口获取该 ID。
16goodsTypegoodsTypestring1Required商品类型。类型包括:1-普通商品;2-虚拟商品。
17initSalesinitSalesstring1Required初始销量
18innerPropertyListinnerPropertyListarray1Optional商品内部属性列表
19propIdpropIdstring1Required内部属性 ID。可以通过 weimob_shop/goods/property/getList接口获取该 ID。
20propValueIdpropValueIdstring1Required内部属性值 ID。可以通过 weimob_shop/goods/property/content/getList 接口获取该 ID。
21isCanSellisCanSellstring1Required商品是否可售。false-禁售;true-可售。
22isMultiSkuisMultiSkustring1Required商品是否多规格。 false-单规格;true-多规格。
23isOnlineisOnlinestring1Required商品是否上架。false-下架;true 上架。
24goodsLimitNumgoodsLimitNumstring1Required限购数量
25goodsLimitCyclegoodsLimitCyclestring1Required限购周期
26limitSwitchlimitSwitchstring1Required限购开关。false-关闭; true-开启。
27outerGoodsCodeouterGoodsCodestring1Required商品编码
28performanceWayperformanceWayobject1Required履约方式
29deliveryListdeliveryListarray1Required配送方式。配送方式与商品类型关联,普通实物商品:只能设置商家配送、同城限时达、到底自提。 虚拟商品:只能设置无需物流配送方式。
30deliveryIddeliveryIdstring1Required配送方式 ID。可以通过 weimob_shop/fulfill/goods/fulfilltype/getList 接口获取该 ID。
31deliveryNodeShipIddeliveryNodeShipIdstring1Required配送方式关系节点 ID。可以通过 weimob_shop/fulfill/goods/fulfilltype/getList 接口获取该 ID。
32deliveryTypedeliveryTypestring1Required配送类型。类型包括:1-商家配送;2-同城限时达;3-到店自提;4-门店交易;5-无需物流;6-门店自助。
33templateIdtemplateIdstring1Required配送模板 ID
34fulfillCycleConfigfulfillCycleConfigobject1Optional配送周期详细配置
35sellUnitIdsellUnitIdstring1Optional销售单位 ID。可以通过 weimob_shop/goods/unit/getList 接口获取该 ID。
36specInfoListspecInfoListarray1Optional商品规格列表。可以通过 weimob_shop/goods/category/skuspec/getList 接口获取商品规格列表。
37specIdspecIdstring1Required商品规格 ID
38specNamespecNamestring1Required商品规格名称
39skuSpecValueListskuSpecValueListarray1Required规格值列表
40specValueNamespecValueNamestring1Required规格值名称
41imageUrlimageUrlstring1Required图片链接
42specValueIdspecValueIdstring1Required商品规格值 ID
43sortsortstring1Required排序
44skuListskuListarray1Required商品规格 SKU 列表
45skuStockNumskuStockNumstring1RequiredSKU 库存数量
46marketPricemarketPricestring1Optional市场价
47outerSkuCodeouterSkuCodestring1Required商家编码
48salePricesalePricestring1Required销售价
49volumevolumestring1Optional体积
50cycleSkuListcycleSkuListarray1Optional周期购 SKU 信息
51skuSpecValueListskuSpecValueListarray1RequiredSKU 规格值列表

Response Parameters

No parameter reference available

The 添加在售商品v1_v1 API (/apigw/weimob_shop/v2.0/goods/create) of 微盟 is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 微盟 version updates.

Need to integrate this API?

Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.