POST api/Checkout
Request Information
URI Parameters
None.
Body Parameters
CheckoutRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| items | Collection of CartLine |
None. |
Request Formats
application/json, text/json
Sample:
{
"items": [
{
"galleryId": 1,
"variantId": 2,
"quantity": 3
},
{
"galleryId": 1,
"variantId": 2,
"quantity": 3
}
]
}
application/xml, text/xml
Sample:
<CheckoutController.CheckoutRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cait.Controllers">
<items>
<CheckoutController.CartLine>
<galleryId>1</galleryId>
<quantity>3</quantity>
<variantId>2</variantId>
</CheckoutController.CartLine>
<CheckoutController.CartLine>
<galleryId>1</galleryId>
<quantity>3</quantity>
<variantId>2</variantId>
</CheckoutController.CartLine>
</items>
</CheckoutController.CheckoutRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |