Skip to main content

Retrieve a cart item by id

Retrieve a cart item by id

Authorizations:Token, JWT
Query Parameters
id
required
integer>= 1
cart_id
required
string36 charactersCart ID

Responses

200Cart item resource
Response schema:
Cart item resource
productIdinteger
skustring or null
namestring or null
cleanUrlstring or null
amountinteger
inStockinteger or null
pricenumber or null
clear_pricenumber or null
net_pricenumber or null
display_pricenumber or null
attributesArray of objects
Array
namestring
attributeIdinteger
attributeValueIdinteger
attributeValuestring
surchargesArray of objects
Array
typestring
namestring
valuenumber
subtotalnumber or null
totalnumber or null
imagesArray of objects
Array
urlstring
widthinteger
heightinteger
altstring
marketPricenumber or null
idinteger or null>= 1
401Unauthorized
Response schema:
Unauthorized
typestringExample: "https://tools.ietf.org/html/rfc2616#section-10"
titlestringExample: "An error occurred"
detailstring or nullExample: "Cannot find entity"
instancestring or null
404Resource not found
Response schema:
Resource not found
typestringExample: "https://tools.ietf.org/html/rfc2616#section-10"
titlestringExample: "An error occurred"
detailstring or nullExample: "Cannot find entity"
instancestring or null
500Internal error
Response schema:
Internal error
typestringExample: "https://tools.ietf.org/html/rfc2616#section-10"
titlestringExample: "An error occurred"
detailstring or nullExample: "Cannot find entity"
instancestring or null