POST api/orders
Request Information
URI Parameters
None.
Body Parameters
PlaceOrderRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| FoodVendorId | integer |
None. |
|
| PickupSlotId | integer |
None. |
|
| PaymentMethod | PaymentMethod |
None. |
|
| CustomerNotes | string |
None. |
|
| Items | Collection of PlaceOrderItemRequest |
None. |
Request Formats
application/json, text/json
Sample:
{
"foodVendorId": 1,
"pickupSlotId": 1,
"paymentMethod": "PayOnCollection",
"customerNotes": "sample string 2",
"items": [
{
"menuItemId": 1,
"quantity": 2,
"specialInstructions": "sample string 3",
"options": [
{
"menuItemOptionId": 1
},
{
"menuItemOptionId": 1
}
]
},
{
"menuItemId": 1,
"quantity": 2,
"specialInstructions": "sample string 3",
"options": [
{
"menuItemOptionId": 1
},
{
"menuItemOptionId": 1
}
]
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.