POST api/Order/KioskPlaceOrderV2
Request Information
URI Parameters
None.
Body Parameters
KioskOrderRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| StoreId | globally unique identifier |
None. |
|
| Items | Collection of OrderItemRequest |
None. |
|
| CardNumber | string |
None. |
|
| IsPaid | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"StoreId": "35e504cc-8754-45a2-a3ad-97ea09caf739",
"Items": [
{
"ProductId": "44e8cdd2-1609-4a52-9b04-8779e9f442cd",
"ProductPriceId": "98e5ed6b-bc83-4e61-9648-8414b92fa0b2",
"Qty": 3,
"Modifiers": [
{
"ModifierId": "eafbb8e1-1580-40db-84d1-fa94205af49c",
"ModifierPriceId": "14bc001c-3b94-4345-8039-6efb2801422e",
"Qty": 3
},
{
"ModifierId": "eafbb8e1-1580-40db-84d1-fa94205af49c",
"ModifierPriceId": "14bc001c-3b94-4345-8039-6efb2801422e",
"Qty": 3
}
]
},
{
"ProductId": "44e8cdd2-1609-4a52-9b04-8779e9f442cd",
"ProductPriceId": "98e5ed6b-bc83-4e61-9648-8414b92fa0b2",
"Qty": 3,
"Modifiers": [
{
"ModifierId": "eafbb8e1-1580-40db-84d1-fa94205af49c",
"ModifierPriceId": "14bc001c-3b94-4345-8039-6efb2801422e",
"Qty": 3
},
{
"ModifierId": "eafbb8e1-1580-40db-84d1-fa94205af49c",
"ModifierPriceId": "14bc001c-3b94-4345-8039-6efb2801422e",
"Qty": 3
}
]
}
],
"CardNumber": "sample string 2",
"IsPaid": true
}
application/xml, text/xml
Sample:
<KioskOrderRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi2.Controllers">
<CardNumber>sample string 2</CardNumber>
<IsPaid>true</IsPaid>
<Items>
<OrderItemRequest>
<Modifiers>
<ModifierRequest>
<ModifierId>eafbb8e1-1580-40db-84d1-fa94205af49c</ModifierId>
<ModifierPriceId>14bc001c-3b94-4345-8039-6efb2801422e</ModifierPriceId>
<Qty>3</Qty>
</ModifierRequest>
<ModifierRequest>
<ModifierId>eafbb8e1-1580-40db-84d1-fa94205af49c</ModifierId>
<ModifierPriceId>14bc001c-3b94-4345-8039-6efb2801422e</ModifierPriceId>
<Qty>3</Qty>
</ModifierRequest>
</Modifiers>
<ProductId>44e8cdd2-1609-4a52-9b04-8779e9f442cd</ProductId>
<ProductPriceId>98e5ed6b-bc83-4e61-9648-8414b92fa0b2</ProductPriceId>
<Qty>3</Qty>
</OrderItemRequest>
<OrderItemRequest>
<Modifiers>
<ModifierRequest>
<ModifierId>eafbb8e1-1580-40db-84d1-fa94205af49c</ModifierId>
<ModifierPriceId>14bc001c-3b94-4345-8039-6efb2801422e</ModifierPriceId>
<Qty>3</Qty>
</ModifierRequest>
<ModifierRequest>
<ModifierId>eafbb8e1-1580-40db-84d1-fa94205af49c</ModifierId>
<ModifierPriceId>14bc001c-3b94-4345-8039-6efb2801422e</ModifierPriceId>
<Qty>3</Qty>
</ModifierRequest>
</Modifiers>
<ProductId>44e8cdd2-1609-4a52-9b04-8779e9f442cd</ProductId>
<ProductPriceId>98e5ed6b-bc83-4e61-9648-8414b92fa0b2</ProductPriceId>
<Qty>3</Qty>
</OrderItemRequest>
</Items>
<StoreId>35e504cc-8754-45a2-a3ad-97ea09caf739</StoreId>
</KioskOrderRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.