Retrieve a storefront cart by id
Retrieve a storefront cart by id
Authorizations:Token, JWT
Query Parameters
id required | string36 characters |
Responses
200Storefront Cart resource
Response schema:
Storefront Cart resource string | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
items | Array of objects | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
subTotal | number | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
total | number | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
payment | object (Retrieve a payment method by id) or null | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
paymentTransaction | string or null | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
shipping | object or null | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
surcharges | Array of objects | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
coupons | Array of objects | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
id | string or null |
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 |