POST api/Cart/AddIOCToCart
Documentation for 'AddIOCToCart'.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| cartIOCItem | Documentation for 'cartIOCItem'. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"iocItemId": 1,
"colorId": 2,
"sizeId": 3,
"amount": 4,
"price": 5.1
}
application/xml, text/xml
Sample:
<CartIOCItemVM xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <IOCItemId>1</IOCItemId> <ColorId>2</ColorId> <SizeId>3</SizeId> <Amount>4</Amount> <Price>5.1</Price> </CartIOCItemVM>
application/x-www-form-urlencoded
Sample:
Sample not available.