POST api/Product/AddIOCToCart

Documentation for 'AddIOCToCart'.

Request Information

Parameters

NameDescriptionAdditional 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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <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.