Update a line item
Through this endpoint, you can update line item details within the cart, including adjustments to quantity and price.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
A header used by fabric to identify the tenant making the request. You must include tenant id in the authentication header for an API request to access any of fabric’s endpoints. You can retrieve the tenant id , which is also called account id, from Copilot. This header is required.
x-fabric-channel-id identifies the sales channel where the API request is being made; primarily for multichannel use cases. The channel ids are 12 corresponding to US and 13 corresponding to Canada. The default channel id is 12. This field is required.
Unique request ID
Body
Item information to be updated
Updated quantity of line items in cart
Placeholder to add additional information
Fulfillment request details
Item price list ID
Item SKU
Response
Line item details
Attributes passed by caller
Sales channel
Time line item was created
Individual line item discount
The fulfillment details.
Line item ID
true: Item is active<br />false: Item is inactive
true: Item is set for pickup<br />false: Item is set for delivery
Line item name
Line item position number (starts at 1)
x > 1
Individual line item price
Line item price list ID
Additional line item options
Line item quantity
Shipping details
Line item SKU
Time line item was last updated
Warehouse ID
Was this page helpful?