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 | productId | integer | ||||||||
| sku | string or null | ||||||||
| name | string or null | ||||||||
| cleanUrl | string or null | ||||||||
| amount | integer | ||||||||
| inStock | integer or null | ||||||||
| price | number or null | ||||||||
| clear_price | number or null | ||||||||
| net_price | number or null | ||||||||
| display_price | number or null | ||||||||
| attributes | Array of objects | ||||||||
Array
| |||||||||
| surcharges | Array of objects | ||||||||
Array
| |||||||||
| subtotal | number or null | ||||||||
| total | number or null | ||||||||
| images | Array of objects | ||||||||
Array
| |||||||||
| marketPrice | number or null | ||||||||
| id | integer or null>= 1 | ||||||||
401Unauthorized
Response schema:
Unauthorized | type | stringExample: "https://tools.ietf.org/html/rfc2616#section-10" |
| title | stringExample: "An error occurred" |
| detail | string or nullExample: "Cannot find entity" |
| instance | string or null |
404Resource not found
Response schema:
Resource not found | type | stringExample: "https://tools.ietf.org/html/rfc2616#section-10" |
| title | stringExample: "An error occurred" |
| detail | string or nullExample: "Cannot find entity" |
| instance | string or null |
500Internal error
Response schema:
Internal error | type | stringExample: "https://tools.ietf.org/html/rfc2616#section-10" |
| title | stringExample: "An error occurred" |
| detail | string or nullExample: "Cannot find entity" |
| instance | string or null |