GET
/
v2
/
carts
/
{cartId}
/
items
/
{lineItemId}
/
adjustments

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.

x-api-key
string

API Key for Gateway

Authorization
string
required

Authorization token for the user

Path Parameters

cartId
string
required

Cart ID to retrieve price adjustment details of a lineItemId within the cart

lineItemId
integer
required

Cart item's sequence number (starts at 1) for which price adjustment details are to be retrieved

Response

200 - application/json

Sample response containing price adjustment details

priceAdjustments
object[] | null

List of price adjustment details for the specified line item or the specified cart