API Purchase order Documentation, Training & Roll Out

Add new row with only required data

{
"header": {
"purchaseNumber": "RP-2423",
"externalOrderNumber": "",
"warehouse": "HJH",
"supplier": {
"supplierNumber": "1709062",
"supplierAgreementNumber": 1709062
}
},
"rows": [

{

"productNumber": "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"
}
]
}


Cancel existing row

{

"header": {

"purchaseNumber": "RP-2423",

"externalOrderNumber": "",

"warehouse": "HJH",

"supplier": {

"supplierNumber": "1709062",

"supplierAgreementNumber": 1709062

}

},

"rows": [


{

"position":110,

"rowStatus":"Cancelled",

"productNumber": "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": [

{

"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"
}
]
}