Add
...
new row with only required data
{
"header": {
"purchaseNumber": "RP-2423",
"externalOrderNumber": "RP-2423",
"supplierOrderNumberwarehouse": "HJH",
"supplier": {
"statussupplierNumber": "Ordered1709062",
"warehousesupplierAgreementNumber": "HJH"1709062
}
},
"deliveryAddressrows": [
{
"name1productNumber": "HJH Hansen50508-T1",
"name2purchaseDataPurchaseUnit": "Engroslager (afgiftsfrit)"{
"quantity": 10,
"address1unit": "Tolderlundsvej 103 HJHWarehouseST"
},
"address2purchaseDataProductUnit": "Zain HJHWarehouse Address2",{
"address3quantity": null10,
"postalCodeunit": "5000ST",
"cityunitPrice": "Odense CHJHWH"2.331,
"statevatPercent": null25,
"countryCodecurrency": "DKDKK"
},
"supplierexpectedDeliveryDate": {
"supplierNumber": "1709062",
"supplierName": "MONDELEZ SVERIGE AB",
"supplierAgreementNumber": 1709062,
"supplierAgreement": "MONDELEZ SVERIGE AB",
"paymentTerms": "2",
"deliveryMethod": "1",
"deliveryMethodName": ""
},
"reference": "",
"notes": "4",
"internalNotes": """2024-10-28T13:54:52.167+01:00"
}
]
}
Cancel existing row
{
"header": {
"purchaseNumber": "RP-2423",
"externalOrderNumber": "",
"warehouse": "HJH",
"supplier": {
"supplierNumber": "1709062",
"supplierAgreementNumber": 1709062
}
},
"rows": [
{
"externalPositionposition": 40110,
"productNumberrowStatus":"50508-T1Cancelled",
"productNameproductNumber": "50508-T1",
"supplierProductNumber": "50508-T1",
"purchaseDataPurchaseUnit": {
"quantity": 10,
"unit": "ST"
},
"purchaseDataProductUnit": {
"quantity": 10,
"unit": "ST",
"unitPrice": 2.331,
"vatPercent": 25,
"currency": "DKK"
},
"expectedDeliveryDate": "2024-10-28T13:54:52.167+01:00"
}
]
}
Add New Row in an Order with external position number & Other than required data
{
"header": {
"purchaseNumber": "RP-2423",
"externalOrderNumber": "RP-2423",
"supplierOrderNumber": "",
"status": "Ordered",
"warehouse": "HJH",
"deliveryAddress": {
"name1": "HJH Hansen",
"name2": "Engroslager (afgiftsfrit)",
"address1": "Tolderlundsvej 103 HJHWarehouse",
"address2": "Zain HJHWarehouse Address2",
"address3": null,
"postalCode": "5000",
"city": "Odense CHJHWH",
"state": null,
"countryCode": "DK"
},
"supplier": {
"supplierNumber": "1709062",
"supplierName": "MONDELEZ SVERIGE AB",
"supplierAgreementNumber": 1709062,
"supplierAgreement": "MONDELEZ SVERIGE AB",
"paymentTerms": "2",
"deliveryMethod": "1",
"deliveryMethodName": ""
},
"reference": "",
"notes": "4",
"internalNotes": ""
},
"rows": [
{
"externalPosition": 40,
"productNumber": "50508-T1",
"productName": "50508-T1",
"supplierProductNumber": "50508-T1",
"purchaseDataPurchaseUnit": {
"quantity": 10,
"unit": "ST"
},
"purchaseDataProductUnit": {
"quantity": 10,
"unit": "ST",
"unitPrice": 2.331,
"vatPercent": 25,
"currency": "DKK"
},
"expectedDeliveryDate": "2024-10-28T13:54:52.167+01:00"
}
]
}
...
Add New Row in an Order with other than required data
{
"header": {
"purchaseNumber": "RP-2423",
"externalOrderNumber": "RP-2423",
"supplierOrderNumber": "",
"status": "Ordered",
"warehouse": "HJH",
"deliveryAddress": {
"name1": "HJH Hansen",
"name2": "Engroslager (afgiftsfrit)",
"address1": "Tolderlundsvej 103 HJHWarehouse",
"address2": "Zain HJHWarehouse Address2",
"address3": null,
"postalCode": "5000",
"city": "Odense CHJHWH",
"state": null,
"countryCode": "DK"
},
"supplier": {
"supplierNumber": "1709062",
"supplierName": "MONDELEZ SVERIGE AB",
"supplierAgreementNumber": 1709062,
"supplierAgreement": "MONDELEZ SVERIGE AB",
"paymentTerms": "2",
"deliveryMethod": "1",
"deliveryMethodName": ""
},
"reference": "",
"notes": "4",
"internalNotes": ""
},
"rows": [
{
"position": 10,
"rowStatus": "Cancelled",
"productNumber": "50508-T1",
"productName": "50508-T1",
"supplierProductNumber": "50508-T1",
"purchaseDataPurchaseUnit": {
"quantity": 10,
"unit": "ST"
},
"purchaseDataProductUnit": {
"quantity": 10,
"unit": "ST",
"unitPrice": 2.331,
"vatPercent": 25,
"currency": "DKK"
},
"expectedDeliveryDate": "2024-10-28T13:54:52.167+01:00"
}
]
}