Skip to content
Guides
API reference
stableorder:read

Get cart

GET/v1/carts/{cartId}

Authorization

bearerAuth
AuthorizationBearer <token>

OAuth2 access token issued by Ecomiq Auth.

In: header

Path Parameters

cartId*string

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/carts/string"
{  "id": "string",  "cartNumber": "string",  "storeId": "string",  "regionId": null,  "customerId": null,  "salesChannelId": null,  "email": null,  "phone": null,  "firstName": null,  "lastName": null,  "identificationType": null,  "identificationNumber": null,  "entityTaxId": null,  "entityName": null,  "currencyCode": "string",  "cartStatus": "inProgress",  "completedAt": null,  "shippingAddress": null,  "billingAddress": null,  "source": null,  "sourceIdentifier": null,  "notes": null,  "tags": [    "string"  ],  "attribution": {    "campaignId": null,    "utmSource": null,    "utmMedium": null,    "utmCampaign": null,    "referralCode": null  },  "instructions": {    "giftMessage": null,    "specialInstructions": null  },  "requestContext": {    "createdFrom": null,    "platform": null,    "deviceId": null,    "sessionId": null,    "userAgent": null,    "ipAddress": null  },  "geolocation": {    "countryCode": null,    "region": null,    "city": null,    "postalCode": null,    "latitude": null,    "longitude": null,    "accuracyMeters": null,    "source": null  },  "externalDataJson": "string",  "promotionCodes": [    "string"  ],  "items": [    {      "id": "string",      "title": "string",      "subtitle": null,      "thumbnail": null,      "quantity": 0,      "productId": null,      "sellerId": null,      "shippingProfileId": null,      "variantId": null,      "unitPrice": 0.1,      "compareAtUnitPrice": null,      "requiresShipping": true,      "isDiscountable": true,      "isGiftcard": true,      "externalItemId": null,      "giftWrapping": true,      "giftMessage": null,      "personalizedMessage": null,      "customizationJson": "string",      "originalPrice": null,      "priceAdjustmentReason": null,      "bundleItems": [        {          "productId": "string",          "variantId": "string",          "productName": "string",          "variantName": null,          "sku": null,          "brand": null,          "imageUrl": null,          "quantity": 0        }      ],      "externalDataJson": "string",      "modifiers": [        {          "id": "string",          "modifierGroupId": "string",          "modifierGroupName": "string",          "modifierOptionId": "string",          "modifierOptionName": "string",          "priceDelta": 0.1        }      ],      "adjustments": [        {          "id": "string",          "description": null,          "code": null,          "amount": 0.1,          "type": "discount",          "isTaxInclusive": true,          "integrationId": null,          "promotionId": null        }      ],      "taxLines": [        {          "id": "string",          "description": null,          "code": "string",          "rate": 0.1,          "integrationId": null,          "taxRateId": null        }      ]    }  ],  "shippingMethods": [    {      "id": "string",      "name": "string",      "description": null,      "amount": 0.1,      "isTaxInclusive": true,      "sellerId": null,      "shippingProfileId": null,      "shippingMethodId": null,      "connectionId": null,      "providerName": null,      "trackingCode": null,      "estimatedDays": null,      "zoneCode": null,      "locationId": null,      "pickupPointId": null,      "scheduledDate": null,      "scheduledTime": null,      "data": {},      "adjustments": [        {          "id": "string",          "description": null,          "code": null,          "amount": 0.1,          "isTaxInclusive": true,          "integrationId": null,          "promotionId": null        }      ],      "taxLines": [        {          "id": "string",          "description": null,          "code": "string",          "rate": 0.1,          "integrationId": null,          "taxRateId": null        }      ]    }  ],  "totals": {    "items": {      "subtotal": 0.1,      "discount": 0.1,      "tax": 0.1,      "warranty": 0.1,      "total": 0.1    },    "shipping": {      "subtotal": 0.1,      "discount": 0.1,      "tax": 0.1,      "total": 0.1    },    "total": 0.1  },  "createdOn": "2019-08-24T14:15:22Z",  "updatedOn": null}