ShopDate (v8)
A delivery date with order, tour, shipping, and address information
| # | Field | Type | Description |
|---|---|---|---|
| 0 | orderId | int | order id (0 or -1 if no order exists for this date) |
| 1 | orderState | int | order state (0=no order/pending) |
| 2 | deliveryDate | date | the delivery date |
| 3 | deliveryWeek | int | ISO week number of the delivery date |
| 4 | lastOrderChangeDate | datetime | order stop datetime (last moment to change this order) |
| 5 | tourId | int | tour id for this delivery |
| 6 | notes | string | combined tour and date notes |
| 7 | numPositions | int | number of order positions (or unresolved abo count if no order) |
| 8 | isChangable | int | 1 if the order can still be changed |
| 9 | total | double | order total in EUR |
| 10 | shippingCost | double | delivery/shipping cost |
| 11 | shippingCostLimit | double | order value above which shipping is free. Special meaning when 999: we always charge |
| 12 | shippingCostRule | int | shipping cost rule: 0=never charged, 1=if we are below shippingCostLimit |
| 13 | lastChanged | string | last modification timestamp of the order |
| 14 | lastCancelDate | string | last moment to cancel (-1 if not cancellable, datetime otherwise) |
| 15 | assignedTour | int | extra tour assignment info - 3 Hidden, only for roll over dates (order stop) - 2: State is Packed, irregular date - 1 default, primary tour - 0: Extra Tour |
| 16 | hidden | int | 1 if the tour is normally hidden |
| 17 | minOrderValue | double | minimum order value (-1 if none) |
| 18 | addressId | int | delivery address id |
| 19 | addressHint | string | address name/hint |
| 20 | depotFullState | int | 1 if tour is full, or depot full state |
| 21 | inTimeInfo | int | in-time delivery indicator |
| 22 | noPreOrders | int | 1 if no pre-orders allowed for this tour |
| 23 | initialDate | date | the fixday / initial generation date |
| 24 | addressStreet | string | delivery address street |
| 25 | addressZip | string | delivery address zip code |
| 26 | addressCity | string | delivery address city |
| 27 | depotReference | string | depot address reference |
| 28 | orderLimit | double | maximum order value for this address (-1 if unlimited) |
| 29 | dateReference | int | internal ddates.id or orders.ddateid reference |
Used in endpoints
- /api/client/addfavourite1
- /api/client/addpause2
- /api/client/addsubscription2
- /api/client/cancelorder7
- /api/client/changeorder8
- /api/client/changesubscription2
- /api/client/dropdeselected1
- /api/client/dropfavourite1
- /api/client/droppause2
- /api/client/dropsubscription2
- /api/client/newclient1
- /api/client/neworder8
- /api/client/regorder2
- /api/client/settour5
- /api/dates13
- /api/findtour2
- /api/findtour3
- /api/getdepots1
- /api/logon4