/apigw/weimob_shop/v2.0/goods/create{
"operation": {
"method": "none"
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | basicInfo | basicInfo | object | 1 | Required | 基础信息 |
| 2 | vid | vid | string | 1 | Required | 组织结构节点 ID。组织的唯一标识,是 创建组织 时自动生成的 ID,也可以通过 bos/organization/getList 接口获取该 ID。 |
| 3 | categoryId | categoryId | string | 1 | Required | 商品类目 ID。可以通过 weimob_shop/goods/category/getList接口获取该 ID。 |
| 4 | deductStockType | deductStockType | string | 1 | Required | 商品库存减扣方式。方式包括:1-下单减扣;2-支付减扣。 |
| 5 | defaultImageUrl | defaultImageUrl | string | 1 | Required | 默认图片 |
| 6 | goodsTemplateId | goodsTemplateId | string | 1 | Required | 商品模板 ID。可以通过 weimob_shop/goods/goodtemplate/getList 接口获取该 ID。 |
| 7 | goodsType | goodsType | string | 1 | Required | 商品类型。类型包括:1-普通商品;2-虚拟商品。 |
| 8 | initSales | initSales | string | 1 | Required | 初始销量 |
| 9 | isCanSell | isCanSell | string | 1 | Required | 商品是否可售。false-禁售;true-可售。 |
| 10 | isMultiSku | isMultiSku | string | 1 | Required | 商品是否多规格。 false-单规格;true-多规格。 |
| 11 | isOnline | isOnline | string | 1 | Required | 商品是否上架。false-下架;true 上架。 |
| 12 | limitSwitch | limitSwitch | string | 1 | Required | 限购开关。false-关闭; true-开启。 |
| 13 | outerGoodsCode | outerGoodsCode | string | 1 | Required | 商品编码 |
| 14 | performanceWay | performanceWay | object | 1 | Required | 履约方式 |
| 15 | deliveryList | deliveryList | array | 1 | Required | 配送方式。配送方式与商品类型关联,普通实物商品:只能设置商家配送、同城限时达、到底自提。 虚拟商品:只能设置无需物流配送方式。 |
| 16 | deliveryId | deliveryId | string | 1 | Required | 配送方式 ID。可以通过 weimob_shop/fulfill/goods/fulfilltype/getList 接口获取该 ID。 |
| 17 | deliveryNodeShipId | deliveryNodeShipId | string | 1 | Required | 配送方式关系节点 ID。可以通过 weimob_shop/fulfill/goods/fulfilltype/getList 接口获取该 ID。 |
| 18 | deliveryType | deliveryType | string | 1 | Required | 配送类型。类型包括:1-商家配送;2-同城限时达;3-到店自提;4-门店交易;5-无需物流;6-门店自助。 |
| 19 | templateId | templateId | string | 1 | Required | 配送模板 ID |
| 20 | skuList | skuList | array | 1 | Required | 商品规格 SKU 列表 |
| 21 | skuStockNum | skuStockNum | string | 1 | Required | SKU 库存数量 |
| 22 | outerSkuCode | outerSkuCode | string | 1 | Required | 商家编码 |
| 23 | salePrice | salePrice | string | 1 | Required | 销售价 |
| 24 | skuSpecValueList | skuSpecValueList | array | 1 | Required | SKU 规格值列表 |
| 25 | specValueId | specValueId | string | 1 | Required | 规格值 ID |
| 26 | subGoodsType | subGoodsType | string | 1 | Required | 商品子类型。类型包括:101-普通商品;102-海淘商品;103-无需物流实物商品;201-普通虚拟商品;202-付费卷虚拟商品。 |
| 27 | title | title | string | 1 | Required | 商品名称 |
| 28 | wid | wid | string | 1 | Required | 商户 ID |
No parameter reference available
The 添加在售商品v2_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.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.