/erp/sc/routing/deliveryReceipt/PurchaseReceiptOrder/createReceiptOrder{
"operation": {
"method": "POST",
"path": "/erp/sc/routing/deliveryReceipt/PurchaseReceiptOrder/createReceiptOrder"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": {
"list": [
{
"business_order_sn": "PO230919004",
"wid": 1,
"order_type": 1,
"expect_arrival_time": "2023-09-21",
"logistics_company": "物流商1",
"logistics_order_no": "JD-0002",
"shipping_cost": 10,
"other_fee": 2,
"remark": "备注一下",
"logistics_list": [
{
"logistics_order_no": "1",
"logistics_company": "1",
"type": "0"
}
],
"item_list": [
{
"order_item_id": 8823,
"notice_num_total": 1,
"remark": "我是备注"
}
]
}
]
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | list | 收货数据 | array<object> | — | Required | 收货数据,支持批量 |
| 1.1 | business_order_sn | 业务单号 | string | — | Required | 业务单号 |
| 1.2 | wid | 仓库id | integer | — | Required | 仓库id |
| 1.3 | order_type | 订单类型 | integer | — | Required | 订单类型:1 采购单,2 委外订单 |
| 1.4 | expect_arrival_time | 期望收货时间 | string | — | Required | 期望收货时间 |
| 1.5 | logistics_company | 物流商 | string | — | Required | 物流商 |
| 1.6 | logistics_order_no | 物流单号 | string | — | Required | 物流单号 |
| 1.7 | shipping_cost | 物流费用 | number | — | Required | 物流费用 |
| 1.8 | other_fee | 其他费用 | number | — | Required | 其他费用 |
| 1.9 | remark | 备注 | string | — | Required | 备注 |
| 1.10 | logistics_list | 物流信息列表 | array<object> | — | Optional | 物流信息列表,非必填;传入时子字段必填 |
| 1.10.1 | logistics_order_no | 物流单号 | string | — | Required | 物流单号 |
| 1.10.2 | logistics_company | 物流商 | string | — | Required | 物流商 |
| 1.10.3 | type | 业务type | string | — | Required | 业务type |
| 1.11 | item_list | 收货明细 | array<object> | — | Required | 收货明细 |
| 1.11.1 | order_item_id | 采购单子项id | integer | — | Required | 采购单子项id,查询采购单列表接口对应字段【id】 |
| 1.11.2 | notice_num_total | 通知收货量 | integer | — | Required | 通知收货量 |
| 1.11.3 | remark | 备注 | string | — | Required | 备注 |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | Required | 状态码,0 成功 |
| 2 | message | 消息提示 | string | success | Required | 消息提示 |
| 3 | error_details | 错误信息 | array<any> | — | Required | 错误信息 |
| 4 | request_id | 请求链路id | string | 8D680B8B-3C6F-3E16-F055-73DC70EAD977 | Required | 请求链路id |
| 5 | response_time | 响应时间 | string | 2020-05-18 11:23:47 | Required | 响应时间 |
| 6 | data | 响应数据 | array<any> | | Required | 响应数据 |
The 创建待收货的收货单 API (/erp/sc/routing/deliveryReceipt/PurchaseReceiptOrder/createReceiptOrder) of 领星ERP is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 领星ERP version updates.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.