微盟添加在售商品v1_v1API接口文档

所属平台: 微盟
类型: WebAPI
作用: EXECUTE
接口版本: 0.1
适配器: \Adapter\WeiMob\WeiMobExecuteAdapter
帮助链接:
描述:
更新日期: 2022-07-22 10:50:15
添加在售商品v1_v1

接口地址:/apigw/weimob_shop/v2.0/goods/create

请求方法: POST

加工厂: {"operation":{"method":"none"}}

接口请求参数
序号 字段 名称 类型 默认值 描述 是否必要
1 basicInfo basicInfo object 1 基础信息
2 vid vid string 1 组织结构节点 ID。组织的唯一标识,是 创建组织 时自动生成的 ID,也可以通过 bos/organization/getList 接口获取该 ID。
3 categoryId categoryId string 1 商品类目 ID。可以通过 weimob_shop/goods/category/getList接口获取该 ID。
4 categoryPropertyList categoryPropertyList array 1 商品参数信息列表,可以通过 weimob_shop/goods/category/property/content/getList 接口获取。
5 categoryId categoryId string 1 商品类目 ID。可以通过 weimob_shop/goods/category/getList接口获取该 ID。
6 propId propId string 1 商品参数 ID。可以通过 weimob_shop/goods/category/property/getList 接口获取该 ID。
7 propValueId propValueId string 1 商品参数值 ID。可以通过 weimob_shop/goods/category/property/content/getList 接口获取该 ID。
8 deductStockType deductStockType string 1 商品库存减扣方式。方式包括:1-下单减扣;2-支付减扣。
9 defaultImageUrl defaultImageUrl string 1 默认图片
10 goodsPropertyList goodsPropertyList array 1 商品属性列表,可以通过 weimob_shop/goods/property/getList 接口获取。
11 propId propId string 1 商品属性 ID。可以通过 weimob_shop/goods/property/getList接口获取该 ID。
12 propValueId propValueId string 1 商品属性值 ID。可以通过 weimob_shop/goods/property/content/getList 接口获取该 ID。
13 propId propId string 1 商品服务 ID。可以通过 weimob_shop/goods/service/getList 接口获取该 ID。
14 propValueId propValueId string 1 商品服务值 ID。可以通过 weimob_shop/goods/service/content/getList 接口获取该 ID。
15 goodsTemplateId goodsTemplateId string 1 商品模板 ID。可以通过 weimob_shop/goods/goodtemplate/getList 接口获取该 ID。
16 goodsType goodsType string 1 商品类型。类型包括:1-普通商品;2-虚拟商品。
17 initSales initSales string 1 初始销量
18 innerPropertyList innerPropertyList array 1 商品内部属性列表
19 propId propId string 1 内部属性 ID。可以通过 weimob_shop/goods/property/getList接口获取该 ID。
20 propValueId propValueId string 1 内部属性值 ID。可以通过 weimob_shop/goods/property/content/getList 接口获取该 ID。
21 isCanSell isCanSell string 1 商品是否可售。false-禁售;true-可售。
22 isMultiSku isMultiSku string 1 商品是否多规格。 false-单规格;true-多规格。
23 isOnline isOnline string 1 商品是否上架。false-下架;true 上架。
24 goodsLimitNum goodsLimitNum string 1 限购数量
25 goodsLimitCycle goodsLimitCycle string 1 限购周期
26 limitSwitch limitSwitch string 1 限购开关。false-关闭; true-开启。
27 outerGoodsCode outerGoodsCode string 1 商品编码
28 performanceWay performanceWay object 1 履约方式
29 deliveryList deliveryList array 1 配送方式。配送方式与商品类型关联,普通实物商品:只能设置商家配送、同城限时达、到底自提。 虚拟商品:只能设置无需物流配送方式。
30 deliveryId deliveryId string 1 配送方式 ID。可以通过 weimob_shop/fulfill/goods/fulfilltype/getList 接口获取该 ID。
31 deliveryNodeShipId deliveryNodeShipId string 1 配送方式关系节点 ID。可以通过 weimob_shop/fulfill/goods/fulfilltype/getList 接口获取该 ID。
32 deliveryType deliveryType string 1 配送类型。类型包括:1-商家配送;2-同城限时达;3-到店自提;4-门店交易;5-无需物流;6-门店自助。
33 templateId templateId string 1 配送模板 ID
34 fulfillCycleConfig fulfillCycleConfig object 1 配送周期详细配置
35 sellUnitId sellUnitId string 1 销售单位 ID。可以通过 weimob_shop/goods/unit/getList 接口获取该 ID。
36 specInfoList specInfoList array 1 商品规格列表。可以通过 weimob_shop/goods/category/skuspec/getList 接口获取商品规格列表。
37 specId specId string 1 商品规格 ID
38 specName specName string 1 商品规格名称
39 skuSpecValueList skuSpecValueList array 1 规格值列表
40 specValueName specValueName string 1 规格值名称
41 imageUrl imageUrl string 1 图片链接
42 specValueId specValueId string 1 商品规格值 ID
43 sort sort string 1 排序
44 skuList skuList array 1 商品规格 SKU 列表
45 skuStockNum skuStockNum string 1 SKU 库存数量
46 marketPrice marketPrice string 1 市场价
47 outerSkuCode outerSkuCode string 1 商家编码
48 salePrice salePrice string 1 销售价
49 volume volume string 1 体积
50 cycleSkuList cycleSkuList array 1 周期购 SKU 信息
51 skuSpecValueList skuSpecValueList array 1 SKU 规格值列表
接口响应参数
序号 字段 名称 类型 默认值 描述 是否必要
微盟的接口:添加在售商品v1_v1(/apigw/weimob_shop/v2.0/goods/create),由轻易云数据集成平台API资产管理模块整理收纳,并且根据微盟版本更新同步实时更新。通过API资产管理,企业能够实现API的集中监控和分析,及时发现并解决潜在的性能瓶颈和安全风险,保障业务的连续性和稳定性。
联系轻易云集成专家
联系系统对接开发人员何海波

何海波 加微信

轻易云的技术专家,拥有丰富的数据集成规划经验。他能够为客户提供专业、全面的数据集成规划方案,熟练掌握多种集成技术和工具,帮助企业在数据集成领域得到长远发展。