POST api/Order/PlaceOrderV2
Request Information
URI Parameters
None.
Body Parameters
OnlineOrderRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| StoreId | globally unique identifier |
None. |
|
| Items | Collection of OrderItemRequest |
None. |
|
| CardNumber | string |
None. |
|
| Platform | string |
None. |
|
| IsGBDollarPay | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"StoreId": "f19cfe1b-a56e-4660-8162-6178ff88fb7e",
"Items": [
{
"ProductId": "197a8177-5cfd-4a4d-94f7-8e55b1ac01b4",
"ProductPriceId": "eec51560-fb9e-4bad-a0db-bfe4cd1fb250",
"Qty": 3,
"Modifiers": [
{
"ModifierId": "76b71b62-de9e-4c2a-8ae2-ac8ffeeb4f95",
"ModifierPriceId": "fa9cb481-940b-43b7-8bc8-dc65acdb2d0f",
"Qty": 3
},
{
"ModifierId": "76b71b62-de9e-4c2a-8ae2-ac8ffeeb4f95",
"ModifierPriceId": "fa9cb481-940b-43b7-8bc8-dc65acdb2d0f",
"Qty": 3
}
]
},
{
"ProductId": "197a8177-5cfd-4a4d-94f7-8e55b1ac01b4",
"ProductPriceId": "eec51560-fb9e-4bad-a0db-bfe4cd1fb250",
"Qty": 3,
"Modifiers": [
{
"ModifierId": "76b71b62-de9e-4c2a-8ae2-ac8ffeeb4f95",
"ModifierPriceId": "fa9cb481-940b-43b7-8bc8-dc65acdb2d0f",
"Qty": 3
},
{
"ModifierId": "76b71b62-de9e-4c2a-8ae2-ac8ffeeb4f95",
"ModifierPriceId": "fa9cb481-940b-43b7-8bc8-dc65acdb2d0f",
"Qty": 3
}
]
}
],
"CardNumber": "sample string 2",
"Platform": "sample string 3",
"IsGBDollarPay": true
}
application/xml, text/xml
Sample:
<OnlineOrderRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi2.Controllers">
<CardNumber>sample string 2</CardNumber>
<IsGBDollarPay>true</IsGBDollarPay>
<Items>
<OrderItemRequest>
<Modifiers>
<ModifierRequest>
<ModifierId>76b71b62-de9e-4c2a-8ae2-ac8ffeeb4f95</ModifierId>
<ModifierPriceId>fa9cb481-940b-43b7-8bc8-dc65acdb2d0f</ModifierPriceId>
<Qty>3</Qty>
</ModifierRequest>
<ModifierRequest>
<ModifierId>76b71b62-de9e-4c2a-8ae2-ac8ffeeb4f95</ModifierId>
<ModifierPriceId>fa9cb481-940b-43b7-8bc8-dc65acdb2d0f</ModifierPriceId>
<Qty>3</Qty>
</ModifierRequest>
</Modifiers>
<ProductId>197a8177-5cfd-4a4d-94f7-8e55b1ac01b4</ProductId>
<ProductPriceId>eec51560-fb9e-4bad-a0db-bfe4cd1fb250</ProductPriceId>
<Qty>3</Qty>
</OrderItemRequest>
<OrderItemRequest>
<Modifiers>
<ModifierRequest>
<ModifierId>76b71b62-de9e-4c2a-8ae2-ac8ffeeb4f95</ModifierId>
<ModifierPriceId>fa9cb481-940b-43b7-8bc8-dc65acdb2d0f</ModifierPriceId>
<Qty>3</Qty>
</ModifierRequest>
<ModifierRequest>
<ModifierId>76b71b62-de9e-4c2a-8ae2-ac8ffeeb4f95</ModifierId>
<ModifierPriceId>fa9cb481-940b-43b7-8bc8-dc65acdb2d0f</ModifierPriceId>
<Qty>3</Qty>
</ModifierRequest>
</Modifiers>
<ProductId>197a8177-5cfd-4a4d-94f7-8e55b1ac01b4</ProductId>
<ProductPriceId>eec51560-fb9e-4bad-a0db-bfe4cd1fb250</ProductPriceId>
<Qty>3</Qty>
</OrderItemRequest>
</Items>
<Platform>sample string 3</Platform>
<StoreId>f19cfe1b-a56e-4660-8162-6178ff88fb7e</StoreId>
</OnlineOrderRequest>
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.