POST api/v2/account/checkout
Documentation for 'Checkout'.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| cartItme | Documentation for 'cartItme'. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"DeliveryAddressId": 1,
"UsePromotionCoupon": true,
"CartListItem": [
{
"ProductMappingId": 1,
"OrderQuantity": 2,
"VendorId": 3,
"ProductId": 4,
"ProductUnitId": 5
},
{
"ProductMappingId": 1,
"OrderQuantity": 2,
"VendorId": 3,
"ProductId": 4,
"ProductUnitId": 5
},
{
"ProductMappingId": 1,
"OrderQuantity": 2,
"VendorId": 3,
"ProductId": 4,
"ProductUnitId": 5
}
]
}
text/xml
Sample:
<ChekoutViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/bazaarHub2_Client_Api.Models">
<CartListItem>
<CartItem>
<OrderQuantity>2</OrderQuantity>
<ProductId>4</ProductId>
<ProductMappingId>1</ProductMappingId>
<ProductUnitId>5</ProductUnitId>
<VendorId>3</VendorId>
</CartItem>
<CartItem>
<OrderQuantity>2</OrderQuantity>
<ProductId>4</ProductId>
<ProductMappingId>1</ProductMappingId>
<ProductUnitId>5</ProductUnitId>
<VendorId>3</VendorId>
</CartItem>
<CartItem>
<OrderQuantity>2</OrderQuantity>
<ProductId>4</ProductId>
<ProductMappingId>1</ProductMappingId>
<ProductUnitId>5</ProductUnitId>
<VendorId>3</VendorId>
</CartItem>
</CartListItem>
<DeliveryAddressId>1</DeliveryAddressId>
<UsePromotionCoupon>true</UsePromotionCoupon>
</ChekoutViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.