PUT 3dCartWebAPI/v1/Cart/{orderkey}/Item/{cartitemid}
Updates a specific item from a specific Cart
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
orderkey |
Order Key |
string |
Required |
cartitemid |
The unique index ID of an Item |
integer |
Required |
Body Parameters
A Json or XML object containing the new cart item
CartItemPutName | Description | Type | Additional information |
---|---|---|---|
ItemQuantity |
database reference = oitems.numitems |
decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "ItemQuantity": 1.1 }
application/xml, text/xml
Sample:
<CartItemPut xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ItemQuantity>1.1</ItemQuantity> </CartItemPut>
Sample Request |
|
Response Information
application/json, text/json
Sample:
[ { "Key":"CartItemID", "Value":"123", "Status":"200", "Message":"Updated successfully", } ]
Resource Description
HttpResponseMessageName | 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. |