PUT cart/item/{cartCollectionKey}/{cartId}

Update cart item

Request Information

URI Parameters

NameDescriptionTypeAdditional information
cartCollectionKey

Cart collection key

string

Required

cartId

Cart ID

integer

Required

Body Parameters

Cart item

CartItemUpdateModel
NameDescriptionTypeAdditional information
Id

Unique Identifier

integer

None.

Item

Required Item Identifier

string

Required

Quantity

Required Quantity

integer

Required

ExtendedData

Data defined by client application

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Item": "sample string 1",
  "Quantity": 2,
  "ExtendedData": "sample string 3"
}

application/xml, text/xml

Sample:
<CartItemUpdateModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Item>sample string 1</Item>
  <Quantity>2</Quantity>
  <ExtendedData>sample string 3</ExtendedData>
  <Id>1</Id>
</CartItemUpdateModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.