Insert Order

Returns

Returns a response Object object

Response object child attributes

success Boolean
Boolean value indicating the success of the order insert


response String
A message on successful creation of the order


orderId Integer
Unique Identifier for the particular order

Possible enum values of 'paymentMethod'
cash
credit_card
Possible enum values of 'creditCardType'
visa
master_card
AMEX
other
[
    {
        "name":"Veggie Duck",
        "unitPrice":14.95,
        "quantity":2,
        "addOns": ["Onion Rings","Sauce"],
        "detail": "Please don't use corn in mixed vegetables"
    },
    {
        "name":"Mango Chicken",
        "unitPrice":13.95,
        "quantity":2
    }
]
{
	"address": {
  	"unit": "Apt 23",
    "street": "890 Geneva Ave",
    "city": "San Francisco",
    "state": "CA",
    "zip": "94112",
    "country": "United States"
  }
}
{
	"address": {
  	"unit": "Suite 12",
    "street": "556 Crestlake Dr",
    "city": "San Francisco",
    "state": "CA",
    "zip": "94132",
    "country": "USA"
  }
}
Language
Credentials
Header