/erp/sc/routing/deliveryReceipt/PurchaseReceiptOrder/receive{
"operation": {
"method": "POST",
"path": "/erp/sc/routing/deliveryReceipt/PurchaseReceiptOrder/receive"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": {
"order_sn": "CR230919006",
"expect_arrival_time": "2023-09-20",
"custom_receive_time": "2023-09-18",
"logistics_company": "京东快递",
"logistics_order_no": "JD100001",
"shipping_cost": 10,
"other_fee": 2,
"remark": "加急",
"item_list": [
{
"id": 6651,
"product_receive_num": 2,
"remark": "易碎产品"
}
]
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | order_sn | 收货单号 | string | — | Required | 收货单号 |
| 2 | expect_arrival_time | 预计收货时间 | string | — | Optional | 预计收货时间,不传时默认取自收货单 |
| 3 | custom_receive_time | 自定义收货时间 | string | — | Optional | 自定义收货时间, 自定义日期须早于请求当天日期 |
| 4 | logistics_company | 物流商 | string | — | Optional | 物流商,不传时默认取自收货单 |
| 5 | logistics_order_no | 物流单号 | string | — | Optional | 物流单号,仅支持字母、数字、下划线、中横线,不传时默认取自收货单 |
| 6 | shipping_cost | 运费 | number | — | Optional | 运费,仅支持2位小数,不传时默认取自收货单 |
| 7 | other_fee | 其他费用 | number | — | Optional | 其他费用,仅支持2位小数,不传时默认取自收货单 |
| 8 | remark | 备注 | string | — | Optional | 备注,最大支持255个字符,不传时默认取自收货单 |
| 9 | item_list | 收货明细 | array<object> | — | Required | 收货明细 |
| 9.1 | id | 收货单子项id | integer | — | Required | 收货单子项id,查询收货单列表接口对应字段【item_id】 |
| 9.2 | product_receive_num | 收货量 | integer | — | Required | 收货量,收货量必须大于0 |
| 9.3 | remark | 备注 | string | — | Optional | 备注,最大支持255个字符,不传时默认取自收货单 |
| 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 | 5295A11B-7151-0419-D407-A4C24F9EF1E7 | Required | 请求链路id |
| 5 | response_time | 响应时间 | string | 2023-09-19 09:51:58 | Required | 响应时间 |
| 6 | data | 响应数据 | array<any> | — | Required | 响应数据 |
| 7 | total | 总数 | integer | 0 | Required | 总数 |
The 收货单到货 API (/erp/sc/routing/deliveryReceipt/PurchaseReceiptOrder/receive) 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.