/cart
Get shopping cart
Returns the current shopping cart contents with product details.
Responses
EcomCartResponse
| Field | Type |
|---|---|
expiresAt
|
string(date-time) |
id
|
string(uuid) |
isTaxEnabled
|
boolean |
items
|
CartItem[] · nullable |
subTotal
|
decimal |
taxAmount
|
decimal |
taxPercent
|
decimal |
totalIncludingTax
|
decimal |
totalItems
|
integer |
uniqueItemCount
|
integer |
-
Retry-After— Seconds to wait before retrying.
Standard errors:
401
Errors
Examples
curl "https://api.erp.fluit.cloud/ecom/cart" \
-H "Authorization: Bearer $SESSION_TOKEN" \
-H "X-Tenant-Id: $FLUIT_TENANT_ID" \
-H "X-Channel: web"
{
"expiresAt": "2026-06-11T09:24:13.418",
"id": "0f8b2c1e-4d3a-4b7e-9f10-2a6c5d8e1b44",
"isTaxEnabled": true,
"items": [
{
"addedAt": "2026-06-11T09:24:13.418",
"imageUrl": "https://cdn.fluit.cloud/assets/widget-a-front.jpg",
"itemId": "0f8b2c1e-4d3a-4b7e-9f10-2a6c5d8e1b44",
"itemNumber": "WIDGET-A",
"lineTotal": "299.00",
"lineTotalIncludingTax": "299.00",
"name": "Widget A",
"note": "string",
"quantity": 42,
"slug": "string",
"stockStatus": "InStock",
"taxAmount": "299.00",
"unitPrice": "299.00"
}
],
"subTotal": "299.00",
"taxAmount": "299.00",
"taxPercent": "12.50",
"totalIncludingTax": "299.00",
"totalItems": 42,
"uniqueItemCount": 42
}
Base URL https://api.erp.fluit.cloud/ecom. The response example is generated from the schema: the shape is right, the values are made up.