wdt.stockout.order.query.trade{
"operation": {
"method": "none"
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | start_time | 开始时间 | datetime | {{LAST_SYNC_TIME|datetime}} | Required | 增量获取数据,start_time作为开始时间,格式:yyyy-MM-dd HH:mm:ss |
| 2 | end_time | 结束时间 | datetime | {{CURRENT_TIME|datetime}} | Required | 增量获取数据,end_time作为结束时间,格式:yyyy-MM-dd HH:mm:ss |
| 3 | status | 状态 | string | 95 | Optional | 5已取消,55已审核,95已发货,105 部分打款,110已完成,113:异常发货 |
| 4 | src_order_no | 系统订单编号 | string | — | Optional | 系统订单编号 |
| 5 | src_tid | 原始单号 | string | — | Optional | 原始单号 |
| 6 | stockout_no | 出库单号 | string | — | Optional | 出库单号 |
| 7 | shop_no | 店铺编号 | string | — | Optional | 代表店铺所有属性的唯一编码,用于店铺区分,ERP内支持自定义(ERP店铺界面设置),用于获取指定店铺单据数据信息 |
| 8 | warehouse_no | 仓库编号 | string | — | Optional | 代表仓库所有属性的唯一编码,用于仓库区分,ERP内支持自定义(ERP仓库界面设置),用于获取指定仓库单据数据信息(不支持一次推送多个仓库编号) |
| 9 | is_by_modified | 时间查询条件 | string | 0 | Optional | 定义是否用最后修改时间来查询,当指定状态status字段后,传0按照原销售出库单接口规则返回,传1按照出库单的最后修改时间进行返回,默认为0 |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | order_no | 出库单号 | string | — | Required | 出库单号,唯一单号 |
| 2 | src_order_no | 源单号 | string | — | Required | 源单号,旺店通系统单号(多默认为JY开头) |
| 3 | warehouse_no | 仓库编号 | string | — | Required | 仓库编号 |
| 4 | consign_time | 发货时间 | datetime | — | Required | 销售出库单发货时间 时间格式:yyyy-MM-dd HH:mm:ss |
| 5 | order_type | 出库单类型 | string | — | Required | 出库单类型 |
| 6 | order_type_name | 出库单类型名称 | string | — | Required | 固定名称“销售出库” |
| 7 | trade_type | 订单类型 | string | — | Required | 1网店销售 2线下零售 3售后换货 4批发业务 5保修换新 6保修完成 7订单补发 .. 101自定义类型1 102自定义类型2 103自定义类型3 104自定义类型4 105自定义类型5 106自定义类型6 |
| 8 | warehouse_name | 仓库 | string | — | Required | 仓库 |
| 9 | trade_no | 订单编号 | string | — | Required | 系统订单编号,默认单号为JY开头,ERP内支持自定义(设置路径:设置——编码设置) |
| 10 | src_trade_no | 原始单号 | string | — | Required | 商城或电商平台的订单编号,合并订单的多个订单编号有逗号隔开 |
| 11 | shop_name | 店铺名称 | string | — | Required | 店铺名称 |
| 12 | shop_no | 店铺编号 | string | — | Required | 代表店铺所有属性的唯一编码,用于店铺区分,ERP内支持自定义(ERP店铺界面设置) |
| 13 | cs_remark | 客服备注 | string | — | Required | 客服备注 |
| 14 | logistics_no | 物流单号 | string | — | Optional | 物流单号 |
| 15 | customer_id | 客户ID | string | — | Optional | 客户ID |
| 16 | remark | 备注 | string | — | Optional | 备注 |
| 17 | details_list | 货品列表节点 | array | — | Required | 货品列表节点 |
| 17.1 | stockout_id | 出库单主键id | string | — | Required | 出库单主键id |
| 17.2 | goods_count | 货品数量 | float | — | Required | 货品数量 |
| 17.3 | remark | 备注 | string | — | Required | 备注 |
| 17.4 | tax_rate | 税率 | string | — | Required | 税率 |
| 17.5 | spec_no | 商家编码 | string | — | Required | 代表单品(sku)所有属性的编码,SKU概念介绍,单击这里 |
| 17.6 | sell_price | 销售价 | float | — | Required | 销售价,最终交易价格,扣除优惠 |
| 17.7 | goods_no | 货品编号 | string | — | Required | 代表货品(spu)所有属性的编号,SPU概念介绍,单击这里 |
| 17.8 | market_price | 零售价 | float | — | Required | 零售价 |
| 17.9 | share_amount | 分摊后合计应收 | float | — | Required | 分摊后合计应收 |
| 17.10 | share_post | 邮费分摊 | float | — | Required | 邮费分摊 |
| 17.11 | src_oid | 原始子订单号 | string | — | Required | 原始子订单号 |
| 17.12 | src_tid | 原始订单号 | string | — | Required | 原始订单号 |
| 17.13 | expire_date | 有效期 | string | — | Required | 有效期,时间格式:yyyy-MM-dd HH:mm:ss |
| 17.14 | position_list | 货位节点列表 | array | — | Required | 货位节点列表 |
| 17.14.1 | batch_no | 批次号 | string | — | Required | 批次号 |
The 查询销售出库单V3.0 API (wdt.stockout.order.query.trade) 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.