Qeasy Cloud
Get Started

旺店通·企业奇门 查询库存同步V3.0 API

Type
QUERY
Effect
QUERY
API Version
1.0
Adapter
\Adapter\Wdt\WdtQMQueryAdapter
Auth Mode
OTHER
Updated At
2023-06-02

查询库存同步V3.0

POSTwdt.api.goods.stock.change.query
Factory
{
  "operation": {
    "method": "none"
  }
}

Request Parameters

No.FieldNameTypeDefaultRequiredDescription
1limit获取数据条数int100Optional取值范围:limit大于等于100,小于等于2000,获取的数据通过“库存同步回写”接口响应同步结果后,才可再次获取数据。 注:库存数据获取同步给商城系统后,一定要通过api_goods_stock_change_ack.php回写结果,否则会出现待同步库存数量不能同步到商城的情况。
2shop_no店铺编码string5Optional代表店铺所有属性的唯一编码,用于店铺区分,ERP内支持自定义(ERP店铺界面设置),用于获取指定店铺货品待同步库存信息(必须是自有类型的店铺)

Response Parameters

No.FieldNameTypeDefaultRequiredDescription
1shop_no店铺mstringOptional店铺m
2rec_idErp内平台货品表主键idstringOptionalErp内平台货品表主键id,用于状态回传接口使用
3shop_id店铺idstringOptional店铺id
4goods_id货品IDstringOptional外部系统货品主键,外部系统推送订单时使用的,erp只是保存了下外部系统的值
5规格IDspec_idstringOptional外部系统货品规格id
6sync_stockErp内库存stringOptional该库存是通过配置计算出来的,使用该接口注意配置库存同步策略(在erp中可以做试算:货品->平台货品->试算库存同步量(选中货品右键)来核对数量。)
7goods_no货品编码stringOptional代表货品(spu)所有属性的唯一编号
8spec_no规格编码stringOptional代表单品(sku)所有属性的唯一编码
9erp_spec_typeerp中货品类型stringOptional1:单品,2:组合装
10erp_spec_iderp中规格IDstringOptional规格id
11stock_change_count库存变化时自增stringOptional库存变化时自增用于状态回传接口使用,状态回传时把该值一并回传即可,不用深究其含义

The 查询库存同步V3.0 API (wdt.api.goods.stock.change.query) 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.