Download OpenAPI specification:Download
Configure Onfleet as route management system or Veloce as logistics provider.
Key Features:
Key Benefits:
Note: To configure Veloce or Onfleet delivery provider please contact with Team Emporix
Get orders for given site and tenant
Resource successfully retrieved.
Request was syntactically incorrect. Details will be provided in the response payload.
Given request is unauthorized - the authorization token is invalid or has expired. Details will be provided in the response payload.
[- {
- "id": "MPITO1009",
- "siteCode": "main",
- "contactPhone": "+48519374777",
- "orderStatus": "CREATED",
- "orderNumber": "MPITO1009",
- "deliveryTime": {
- "deliveryDate": "2020-12-05",
- "deliveryTimeFrom": "10:00:00",
- "deliveryTimeTo": "12:00:00",
- "deliveryCosts": 20,
- "pickupSettings": "Fabrikstr. 5."
}, - "pickup": false,
- "pickupAddress": {
- "id": "Pickup 1",
- "street": "Fabrikstr",
- "streetNumber": "5.",
- "city": "Cham",
- "zipCode": "6033",
- "companyName": "Test AG",
- "country": "DE",
- "addressName": "Fabrikstr. 5.",
- "description": "test description for multiple pickup points",
- "addressTag": "pickupAddress"
}, - "shippingAddress": {
- "contactName": "John Doe",
- "street": "Fritz-Elsas-Straße",
- "streetNumber": "20",
- "zipCode": "70173",
- "city": "Stuttgart-Mitte",
- "country": "DE"
}
}
]
Get order by given orderId and tenant
Resource successfully retrieved.
Request was syntactically incorrect. Details will be provided in the response payload.
Given request is unauthorized - the authorization token is invalid or has expired. Details will be provided in the response payload.
Request was syntactically incorrect. Details will be provided in the response payload.
{- "id": "QAC6GQEF",
- "siteCode": "main",
- "orderStatus": "CREATED",
- "orderNumber": "B7012191",
- "deliveryTime": {
- "deliveryDate": "2020-07-28",
- "deliveryTimeFrom": "15:00:00",
- "deliveryTimeTo": "22:00:00",
- "deliveryCosts": 20,
- "pickupSettings": "Fabrikstr. 5."
}, - "pickup": false,
- "pickupAddress": {
- "id": "Pickup 1",
- "street": "Fabrikstr",
- "streetNumber": "5.",
- "city": "Cham",
- "zipCode": "6033",
- "companyName": "Test AG",
- "country": "DE",
- "addressName": "Fabrikstr. 5.",
- "description": "test description for multiple pickup points",
- "addressTag": "pickupAddress"
}, - "shippingAddress": {
- "contactName": "Nazim Mohammed",
- "street": "Calwer Str",
- "streetNumber": "23",
- "zipCode": "70173",
- "city": "Stuttgart-Mitte",
- "country": "DE",
- "contactPhone": "+48 519374777"
}
}
Push given orders to delivery provider for the given tenant. In case of an unsuccessful route planning for given order (eg. due to invalid address) an email to the Merchant will be send.
Route planning executed. Returned body only for unsuccessfully planned orders (QAC6GQEF in this example). Returned empty body for successfully planned orders (B7016709).
Request was syntactically incorrect. Details will be provided in the response payload.
Given request is unauthorized - the authorization token is invalid or has expired. Details will be provided in the response payload.
{- "orderStatus": "CREATED",
- "siteCode": "main",
- "orderIds": [
- "B7016709",
- "QAC6GQEF"
]
}
{- "orderId": "QAC6GQEF",
- "deliveryProvider": "ONFLEET",
- "errorMessage": "completeBefore must not be before creation time"
}