修改采购收料单
POST
/api/open/v3/purchase/receive/update
请求参数
Body 参数application/json
body
必需
Any of
receiptOrderCode
string
收料单号
receiveTime
integer <int64> | null
收料时间
deliveryNumber
string
送货单号
logisticsNumber
string
物流单号
logisticsCompany
string
物流公司
comment
string
备注
attachment
array[object (AttachmentParams) {4}]
附件
receiveRecords
array[object (ProductParam) {12}] | null
收料详情
currency
enum<string>
币种
枚举值:
CNYUSDEURGBPJPYHKDKRWAUDTWDIDRINRMYRPHPRUBSGDTHBVND
priceType
enum<string>
单价类型
枚举值:
INCLUDE_TAX_PRICEUN_INCLUDE_TAX_PRICE
示例
{
"body": {
"receiptOrderCode": "string",
"receiveTime": 0,
"deliveryNumber": "string",
"logisticsNumber": "string",
"logisticsCompany": "string",
"comment": "string",
"attachment": [
{
"key": "string",
"type": "string",
"name": "string",
"size": 0
}
],
"receiveRecords": [
{
"orderCode": "string",
"itemCode": "string",
"qty": 0.01,
"warehouseCode": "string",
"warehouseBinCode": "string",
"useDefaultWarehouse": true,
"batchCode": "string",
"originQrCodeStr": "string",
"taxRate": 0,
"price": 0,
"excludeTaxPrice": 0,
"comment": "string"
}
],
"currency": "CNY",
"priceType": "INCLUDE_TAX_PRICE"
}
}
示例代码
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/update' \
--header 'Content-Type: application/json' \
--data-raw '{
"body": {
"receiptOrderCode": "string",
"receiveTime": 0,
"deliveryNumber": "string",
"logisticsNumber": "string",
"logisticsCompany": "string",
"comment": "string",
"attachment": [
{
"key": "string",
"type": "string",
"name": "string",
"size": 0
}
],
"receiveRecords": [
{
"orderCode": "string",
"itemCode": "string",
"qty": 0.01,
"warehouseCode": "string",
"warehouseBinCode": "string",
"useDefaultWarehouse": true,
"batchCode": "string",
"originQrCodeStr": "string",
"taxRate": 0,
"price": 0,
"excludeTaxPrice": 0,
"comment": "string"
}
],
"currency": "CNY",
"priceType": "INCLUDE_TAX_PRICE"
}
}'
返回响应
🟢200成功
application/json
Body
基础http返回信息
code
integer
可选
message
string
可选
示例
{
"code": 0,
"message": ""
}