orderNumber Integer
Numeric identifier for the order object
Example: 1234


name String
Name of the org.


phone String
Phone number of the org with country code


email String
Valid email address of the org.


deliveryAddress `hash

Delivery Address hash child attributes

streetOne String
Primary valid address string


streetTwo String
Secondary valid address string


city String
City name


state String
Name of the state


zip String
Valid zip code


deliveryTime String
Delivery Time string (YYYY-MM-DDThh:mm:ss-hh:mm format)
Example: 2019-11-11T11:45:30


shipFormId Integer
Ship Form ID


pickupTime String
Pickup Time string (YYYY-MM-DDThh:mm:ss-hh:mm format)
Example: 2019-11-10T10:30:45


placementTime String
Order placement time string (YYYY-MM-DDThh:mm:ss-hh:mm format)
Example: 2019-11-10T10:30:45


requestedPickupTime String
Requested pickup time string (YYYY-MM-DDThh:mm:ss-hh:mm format)
Example: 2019-11-10T10:30:45


restaurantAddress String
Restaurant Address string


restaurantName String
Restaurant name


restaurantLatitude Double
Restaurant location latitude value


restaurantLongitude Double
Restaurant location longitude value


customerPhone String
Customer Phone number with country code


customerName String
Name of the customer


orderItems Array
Array of hashes Ordered item

Ordered Item hash child attributes

name String
Name of the order item


quantity Integer
Quantity of the order item


unitPrice Double
Price of the order item per unit


addOns Array
Array of Add-on strings
Example: "addOns": ["cheese","sauce"]


details String
Detailed note (if given)


deliveryInstruction String
Provided delivery Instruction


paymentMethod String
Selected payment method for the order

Possible enum values
cash
credit card

creditCardType String
Type of the credit card (if credit card is selected as payment method)

Possible enum values
visa
master card
AMEX
other

creditCardId Integer
Last four digits of the credit card (if credit card is selected as payment method)


provider String
Name of the provider


totalPayable Double
Total payable amount

{
  "orderNumber": 12212,
  "name": "All Season Delivery",
  "phone": "+14158631623",
  "email": "[email protected]",
  "deliveryAddress": {
    "streetOne": "1 Ferry Building, San Francisco, CA 94111, United States",
    "streetTwo": "Pier 15, The Embarcadero, San Francisco, CA 94111, United States",
    "city": "San Francisco",
    "state": "California",
    "zip": "94111"
  },
  "deliveryTime": "2020-11-11T11:45:30",
  "shipFormId": 6,
  "pickupTime": "2020-11-11T11:45:30",
  "placementTime": "2020-11-10T10:30:45",
  "requestedPickupTime": "2020-11-10T10:30:4",
  "restaurantAddress": "1745 Folsom St, San Francisco, CA 94103, United States",
  "restaurantName": "Rainbow Grocery",
  "restaurantLatitude": 37.769469,
  "restaurantLongitude": -122.414917,
  "customerPhone": "+14158934200",
  "customerName": "Alex",
  "orderItems": [
    {
      "name": "Organic Pecan Halves",
      "quantity": "2",
      "price": "14.41",
      "addOns": [],
      "detail": "make it two packs, 1 lb in each"
    }
  ],
  "deliveryInstruction": "Keep the packages dry",
  "paymentMethod": "credit card",
  "creditCardType": "visa",
  "creditCardId": 1234,
  "totalPayable": 28.82,
  "provider": "Delivery Org"
}