{
"body": {
"purchaseOrderCode": "string",
"supplierCode": "string",
"deliveryDateType": "UNIFIED_DELIVERY",
"deliveryDate": 0,
"priceType": "INCLUDE_TAX_PRICE",
"itemDetails": [
{
"purchaseRequisitionOrder": "string",
"num": 0,
"itemCode": "string",
"newReceiveStatus": "NOT_RECEIVE",
"handleStatus": "NOT_STARTED",
"quantity": 0,
"taxRate": 0,
"deliveryDate": 0,
"containTaxPrice": 0,
"warehouseCode": "string",
"warehouseBinCode": "string",
"comments": "string",
"isRaw": 0,
"supplyType": 0,
"outSourceItems": [
{
"itemCode": "string",
"quantity": 0
}
],
"extendedFields": {
"key": {}
},
"customizeFields": {
"key": {}
}
}
],
"extraCharge": [
{
"name": "string",
"price": 0
}
],
"currency": "CNY",
"comment": "string",
"addressLabel": "string",
"purchaseManagerCode": "string",
"ignoreDefaultWarehouse": true,
"extendedFields": {
"key": {}
}
}
}
curl --location --request POST '/api/open/v3/purchase/order/update' \
--header 'Cookie;' \
--header 'Content-Type: application/json' \
--data-raw '{
"body": {
"purchaseOrderCode": "string",
"supplierCode": "string",
"deliveryDateType": "UNIFIED_DELIVERY",
"deliveryDate": 0,
"priceType": "INCLUDE_TAX_PRICE",
"itemDetails": [
{
"purchaseRequisitionOrder": "string",
"num": 0,
"itemCode": "string",
"newReceiveStatus": "NOT_RECEIVE",
"handleStatus": "NOT_STARTED",
"quantity": 0,
"taxRate": 0,
"deliveryDate": 0,
"containTaxPrice": 0,
"warehouseCode": "string",
"warehouseBinCode": "string",
"comments": "string",
"isRaw": 0,
"supplyType": 0,
"outSourceItems": [
{
"itemCode": "string",
"quantity": 0
}
],
"extendedFields": {
"key": {}
},
"customizeFields": {
"key": {}
}
}
],
"extraCharge": [
{
"name": "string",
"price": 0
}
],
"currency": "CNY",
"comment": "string",
"addressLabel": "string",
"purchaseManagerCode": "string",
"ignoreDefaultWarehouse": true,
"extendedFields": {
"key": {}
}
}
}'
{
"code": 0,
"message": ""
}