Partially update a line item
Through this endpoint, you can partially 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
Item SKU
Item price list ID
Placeholder to add additional information
Fulfillment request details
Response
Line item details
Line item ID
Line item position number (starts at 1)
x > 1
Line item name
Line item SKU
Additional line item options
Time line item was created
Time line item was last updated
Line item quantity
Line item price list ID
true: Item is active<br />false: Item is inactive
Individual line item price
Individual line item discount
Attributes passed by caller
Sales channel
true: Item is set for pickup<br />false: Item is set for delivery
Warehouse ID
Shipping details
The fulfillment details.
Was this page helpful?