Get Cart
Read a shopping cart’s full contents and submission details using its cartId from List Carts. Use this to retrieve configured product selections for an integration.
The response includes line items, quantities, prices and price modifiers. A line item may include a saved configuration shortCode. Submission-specific fields are null while the cart is OPEN.
Requires the carts:read scope.
API key sent as a bearer token (mk_live_… / mk_test_…).
Successful response.
Invalid request data.
Missing or invalid API key.
The API key lacks the required scope (scope_denied), or the operation is not permitted for this account (operation_not_permitted).
Resource not found.
The API key exceeded its request rate (rate_limit_exceeded) or its monthly quota (quota_exceeded). Both carry Retry-After; the RateLimit-* headers accompany rate_limit_exceeded only, since a spent quota says nothing about the bucket.
Internal server error.
GET /v1/carts/{cartId} HTTP/1.1
Host: admin.mimeeqapi.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": {
"cartId": "text",
"status": "OPEN",
"referenceCode": "text",
"contactId": "text",
"clientEmail": "text",
"currency": "text",
"totalValue": 1,
"totalAdditions": 1,
"finalPrice": 1,
"totalQuantity": 1,
"submissionData": {
"fullName": "text",
"email": "text",
"phone": "text",
"companyName": "text",
"address": "text",
"notes": "text",
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
},
"createdAt": "text",
"modifiedAt": "text",
"submittedAt": "text",
"companyId": "text",
"items": [
{
"cartItemId": "text",
"productId": "text",
"productName": "text",
"variantCode": "text",
"sku": "text",
"shortCode": "text",
"configurationCode": "text",
"quantity": 1,
"unitPrice": 1,
"price": 1,
"image": "text",
"note": "text",
"link": "text",
"specification": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}
],
"priceModifiers": [
{
"name": "text",
"description": "text",
"mode": "FIXED",
"modifierValue": 1,
"type": "ADDITION",
"calculatedValue": 1
}
]
}
}Last updated
Was this helpful?