← API Index


Order (v12)

A customer order with delivery, status, and invoice information

# Field Type Description
0 id int unique order id
1 ddate date delivery date
2 stateid int order state (-2=changed+cancelled, 0=new/pending, >0=assigned state)
3 tourid int assigned tour id
4 cnote string customer note
5 rnote string internal response note
6 orderOSH datetime last order change time (from delivery date)
7 last_changed datetime last modification timestamp
8 wasPaypal int 1 if order was paid via PayPal
9 dcost double delivery cost (-1 if not set)
10 hasAlcohol int 1 if order contains alcohol. For warning display in carts or as driver information
11 adrid int delivery address id from the customer
12 cid int customer id
13 shipcode string shipping/tracking code if any
14 pcgId int internal backend id. Only provided if the request comes with admin permissions
15 invnum string invoice number
16 invtotal string invoice total amount
17 used_paycode int payment code used for this order

Used in endpoints

Referenced in skills

Other versions