Line Item Custom Properties
Last updated
Last updated
You can enable a mini cart view in the following requests to show changes to the cart immediately. Find out more in the Views for Cart modifying operations
access_token
from Headless API Authentication
cartId
from
lineId
(string)
key
the unique key of the property (string)
value
the value of the property (string)
propertyId
from #add-custom-properties-to-cart or #get-custom-properties-for-cart
lineId
(string)
lineId
(string)
lineId
(string)
propertyId
from #add-custom-properties-to-cart or #get-custom-properties-for-cart
value
new value for the property (string)
BadRequest (400)
Execution of the pipeline fails; AccessToken was not attached.
Unauthorized (401)
The token is expired.
Forbidden (403)
The token does not have access to this endpoint.
NotFound (404)
Cart or Property not found.
Conflict (409)
Property already exists on the order.
Error Response Example