Receive order endpoint
Implementation is OPTIONAL
resource: /pickup/order
method: POST
Request : Order
Response: void
{
"id": "25252525",
"customerId": "25325",
"invoiceId": "36536363563",
"institutionId: "20494",
"institutionInvoiceId": "323232342",
"resolverId": "abc323",
"shipment": {
"method": "PARCEL",
"parcelId": "1ABSC",
"name": "Ravala street parcel",
"status": "WAITING_FOR_CONFIRMATION",
"price": 5,
"currency": "EUR",
"expectedDeliveryUTCTime": "2019-04-20T19:30:00.000Z",
"createdUTCTime": "2019-04-22T19:30:00.000Z",
"contactEmail": "test@test.ee",
"contactPhone": "56314762",
"address": {
"level1": "EE",
"level2": "Harjumaa",
"level3": "Tallinn",
"level4": "kesklinn",
"level5": "Tartu mnt.",
"level6": "53",
"level7": null,
"level8": null,
"postalCode": "10115"
}
},
"products": [
{
"id": "1ABC",
"barcode": "ABC-abc-1234",
"productName": "Helen kiirkaeraheleb 500g",
"amount": "1.03",
"rowPrice": "12",
"categories": [
{
"id": "C1",
"name": "Teraviljad"
}
]
}
],
"currency": "EUR",
"orderTotalPrice": 17,
"create": "2020-04-04",
"closed": "2020-04-04",
"statusChangelogs": [
{
"personName": "Test Employee",
"previousStatus": "WAITING_FOR_CONFIRMATION",
"newStatus": "CONFIRMED",
"created": "2020-04-04"
}
]
}
Last updated