更新采购入库任务
POST
/api/open/v3/purchase/receive/task/confirm
请求参数
Body 参数application/json
body
必需
Any of
receiptOrderCode
string | null
收料单号
records
array[object (PurchaseInConfirmParamsRecord) {7}] | null
库存确认明细
示例
{
"body": {
"receiptOrderCode": "string",
"records": [
{
"itemCode": "string",
"purchaseOrderCode": "string",
"qty": 0,
"warehouseCode": "string",
"warehouseBinCode": "string",
"batchCode": "string",
"snCodes": [
"string"
]
}
]
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://sit.newcoretech.com/api/open/v3/purchase/receive/task/confirm' \
--header 'Content-Type: application/json' \
--data-raw '{
"body": {
"receiptOrderCode": "string",
"records": [
{
"itemCode": "string",
"purchaseOrderCode": "string",
"qty": 0,
"warehouseCode": "string",
"warehouseBinCode": "string",
"batchCode": "string",
"snCodes": [
"string"
]
}
]
}
}'
返回响应
🟢200成功
application/json
Body
基础http返回信息
code
integer
可选
message
string
可选
示例
{
"code": 0,
"message": ""
}