pur-do-add-purchase-refund{
"operation": {
"method": "none"
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | groupId | 采购单号 | string | — | Required | 当returnType=2按供应商退货时未非必填项 |
| 2 | employeeName | 员工名称 | string | — | Required | 员工名称 |
| 3 | reason | 退货原因 | string | — | Required | 退货原因 |
| 4 | isStorage | 退货类型 | string | — | Required | 未入库退货:1 已入库退货:2 当returnType=2按供应商退货时只能传2;当退货仓库warehouseName为TMS仓库或groupId对应的收货仓库为TMS仓库时只能传1 |
| 5 | refundNum | 退款金额 | string | — | Optional | 退款金额 |
| 6 | refundDetail | 退货商品信息 | object | — | Required | 退货商品信息 |
| 6.1 | stockSku | 库存sku | string | — | Required | 库存sku |
| 6.2 | returnNum | 退货数量 | string | — | Required | 退货数量 |
| 7 | warehouseName | 仓库名称 | string | — | Optional | 当returnType=2按供应商退货时为必填项 |
| 8 | warehouseCode | 仓库编码 | string | — | Optional | 仓库编码 |
| 9 | providerName | 供应商名称 | string | — | Optional | 当returnType=2按供应商退货时为必填项 |
| 10 | providerCode | 供应商编码 | string | — | Optional | 供应商编码 |
| 11 | customNo | 来源单号 | string | — | Optional | 来源单号 |
| 12 | returnType | 退货方式 | string | — | Optional | 按采购单:1 按供应商:2 默认1 |
| 13 | tmsposition | 退货仓位 | int | — | Optional | 正品:1 次品:2 当退货仓库warehouseName为TMS仓库或groupId对应的收货仓库为TMS仓库时 必传 |
No parameter reference available
The 新增采购退货V3.0 API (pur-do-add-purchase-refund) 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.