Skip to content

Get current cart with items and totals​

GET
/rest/v1/cart

Parameters​

Header Parameters

X-Cart-Token

Guest cart token (when not authenticated)

Type
string

Responses​

Current cart with items, totals and gift blocks; cart is null when no cart exists.

application/json
JSON
{
  
"cart": {
  
  
"id": 1,
  
  
"customerId": 0,
  
  
"cartToken": "string",
  
  
"currencyCode": "EUR",
  
  
"couponCode": "string",
  
  
"notes": "string",
  
  
"createdAt": "string",
  
  
"updatedAt": "string",
  
  
"items": [
  
  
],
  
  
"totals": "string",
  
  
"gifts": [
  
  
],
  
  
"giftsNearMiss": [
  
  
]
  
}
}

Playground​

Headers

Samples​

Powered by VitePress OpenAPI