wdt.purchase.order.push{
"operation": {
"method": "none"
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | provider_no | provider_no | string | 1 | Required | 供应商编号,ERP供应商档案必须存在此编号,否则推送失败 |
| 2 | warehouse_no | warehouse_no | string | 1 | Required | 代表仓库所有属性的唯一编码,用于仓库区分,ERP内支持自定义(ERP仓库界面设置),用于创建指定仓库数据信息(不支持一次推送多个仓库编码) |
| 3 | outer_no | outer_no | string | 1 | Required | API单号(如果【使用API单号作为系统采购单号】,那么该字段长度不能超过20)保证唯一 |
| 4 | is_use_outer_no | is_use_outer_no | string | 1 | Optional | 使用api外部单号作为系统采购单号(1使用,0不使用),默认不使用 |
| 5 | is_check | is_check | string | 1 | Optional | 是否自动审核,0 不审核,1 审核,默认不自动审核(不影响财务审核) |
| 6 | contact | contact | string | 1 | Optional | 收货人姓名 |
| 7 | purchase_name | purchase_name | string | 1 | Optional | 采购员 |
| 8 | telno | telno | string | 1 | Optional | 收货人联系电话 |
| 9 | receive_address | receive_address | string | 1 | Optional | 收货地址 |
| 10 | logistics_type | logistics_type | string | 1 | Optional | 货运方式 |
| 11 | expect_arrive_time | expect_arrive_time | string | 1 | Optional | 采购单对应货品预计到达仓库时间,时间格式:YYYY-MM-DD HH:MM:SS |
| 12 | other_fee | other_fee | string | 1 | Optional | 其他费用 |
| 13 | post_fee | post_fee | string | 1 | Optional | 邮资 |
| 14 | remark | remark | string | 1 | Optional | 采购单备注 |
| 15 | prop1 | prop1 | string | 1 | Optional | 自定义属性1 |
| 16 | prop2 | prop2 | string | 1 | Optional | 自定义属性2 |
| 17 | details_list | details_list | array | 1 | Optional | 请求参数的2级数据节点,包含采购单所有货品明细信息的数据节点,节点下数据字段详见下述“details_list” |
| 18 | spec_no | spec_no | string | 1 | Required | 代表单品(sku)所有属性的编码,SKU概念介绍,单击这里 |
| 19 | num | num | string | 1 | Required | 采购量 |
| 20 | price | price | string | 1 | Required | 采购价格,按采购单位,税前单价 |
| 21 | discount | discount | string | 1 | Optional | 折扣(1为不打折,0.9为9折,以此类推,0即为免费,接口计算公式在上边) |
| 22 | tax | tax | string | 1 | Optional | 货品的税率,传值范围大于等于0小于等于1 |
| 23 | tax_price | tax_price | string | 1 | Optional | 税后单价,推送税后单价时折扣(discount)传值不生效,由接口计算,公式为discount=tax_price/(price*(1+tax)) |
| 24 | remark | remark | string | 1 | Optional | 采购货品明细备注 |
| 25 | prop1 | prop1 | string | 1 | Optional | 自定义属性1 |
| 26 | prop2 | prop2 | string | 1 | Optional | 自定义属性2 |
No parameter reference available
The 创建采购单_v1 API (wdt.purchase.order.push) 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.