Create a delivery order
shipday_create_orderWRITE: insert a new delivery order into Shipday (it appears on the dispatch board; it is not assigned to a driver). Returns the new orderId. Times are UTC. Shipday: POST /orders.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tax | No | Tax amount. | |
| tips | No | Tip amount. | |
| order_items | No | Items in the order. | |
| delivery_fee | No | Delivery fee. | |
| order_number | Yes | Your reference for the order (orderNumber). | |
| order_source | No | Where the order came from (free text). | |
| additional_id | No | An extra reference id. | |
| customer_name | Yes | Customer name. | |
| customer_email | No | Customer email. | |
| payment_method | No | Payment method. | |
| discount_amount | No | Discount amount. | |
| pickup_latitude | No | Pickup latitude. | |
| restaurant_name | Yes | Pickup location / store name. | |
| customer_address | Yes | Delivery address. | |
| pickup_longitude | No | Pickup longitude. | |
| total_order_cost | No | Total order cost. | |
| delivery_latitude | No | Delivery latitude. | |
| delivery_longitude | No | Delivery longitude. | |
| pickup_instruction | No | Instructions for the pickup. | |
| restaurant_address | Yes | Pickup address. | |
| delivery_instruction | No | Instructions for the driver at delivery. | |
| expected_pickup_time | No | Expected pickup time, hh:mm:ss (UTC). | |
| customer_phone_number | Yes | Customer phone number with country code, e.g. +14155550100. | |
| expected_delivery_date | No | Expected delivery date, yyyy-mm-dd (UTC). | |
| expected_delivery_time | No | Expected delivery time, hh:mm:ss (UTC). | |
| restaurant_phone_number | No | Pickup location phone with country code. |