PUT 3dCartWebAPI/v1/Cart/{orderkey}/Item/{cartitemid}


Updates a specific item from a specific Cart

Request Information

URI Parameters

NameDescriptionTypeAdditional 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

CartItemPut
NameDescriptionTypeAdditional 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:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_3dCartWebAPI.Models">
  <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

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.