Get an order
Reads an order back, with its status and payment state.
GET
https://api.unipage.eu/storefront/v1/orders/{id}Authorization
Path parameters
Returns
200
The order.
JSON
- statusoptionalPENDING_PLACEMENTorPENDING_PAYMENTorPAYMENT_FAILEDorPLACEDorCHEF_STARTEDorCHEF_COMPLETED+2 more
PENDING_PAYMENT: anonlineorder, until the payment provider confirms.PAYMENT_FAILED: the online payment failed or was cancelled.PLACED: the restaurant received the order (offline,external, or a confirmed payment).CHEF_STARTED: the restaurant started preparing it.CHEF_COMPLETED: ready for pickup or out for delivery.DECLINED,CANCELED: the restaurant refused or cancelled it.PENDING_PLACEMENT: being placed; you will rarely see it.
New statuses may be added: treat an unknown one as "in progress".