PATCH
/
api-cart
/
cart
/
{cartId}
/
item
/
{lineItemId}

Headers

x-site-context
string
required

The x-site-context header is a JSON object that contains information about the source you wish to pull from. The mandatory account is the 24 character identifier found in Copilot. The channel (Sales channel ID), stage (environment name), and date attributes can be used to further narrow the scope of your data source.

Path Parameters

cartId
string
required
Required string length: 24
lineItemId
number
required
Required range: x > 1

Response

200 - application/json
__v
number
_id
string
account
string
allPromosApplied
object[]
approver
string
attributes
object[]
cartId
number
company
string
createdAt
string
deleted
boolean
errors
object
extra
object
items
object[]
po
string
quantity
number
registeredUser
boolean
status
string
totalAmmount"
object
updatedAt
string