OrdersCarts
Get cart
Returns the cart with buyer, addresses, items, shipping, promotion codes and totals.
Path Parameters
cartId*string
Header Parameters
x-Store-Id?string
Store the request acts on. Not needed when the token is bound to a store.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://api.ecomiq.pe/api/v1/carts/7204558912004325176" \ -H "x-Store-Id: <store-id>" \ -H "Authorization: Bearer <token>"{ "id": "7204558912004325176", "cartNumber": "C-04325176", "storeId": "7204558912004327977", "regionId": "7204558912004324764", "customerId": "7204558912004326262", "salesChannelId": "7204558912004322655", "email": "andrea.ramos@example.com", "phone": "+51987654321", "firstName": "Andrea", "lastName": "Ramos", "identificationType": "DNI", "identificationNumber": "45678912", "entityTaxId": "7204558912004326352", "entityName": "Comercial Lima SAC", "currencyCode": "PEN", "cartStatus": "inProgress", "completedAt": "2026-09-28T15:30:00Z", "shippingAddress": { "address1": "Av. Larco 1234", "city": "Lima", "countryCode": "PE", "name": "Mi tienda", "company": "Comercial Lima SAC", "address2": "Dpto. 501", "province": "Lima", "postalCode": "15074" }, "billingAddress": { "address1": "Av. Larco 1234", "city": "Lima", "countryCode": "PE", "name": "Mi tienda", "company": "Comercial Lima SAC", "address2": "Dpto. 501", "province": "Lima", "postalCode": "15074" }, "source": "Tienda online", "sourceIdentifier": "ERP-0001", "notes": "Entregar después de las 18:00.", "tags": [ "algodón" ], "attribution": { "campaignId": "7204558912004328792", "utmSource": "instagram", "utmMedium": "social", "utmCampaign": "nueva-temporada", "referralCode": "AMIGA10" }, "instructions": { "giftMessage": "¡Feliz cumpleaños, Andrea!", "specialInstructions": "20123456789" }, "requestContext": { "createdFrom": "Mi tienda", "platform": "Mi tienda", "deviceId": "7204558912004328134", "sessionId": "7204558912004323902", "userAgent": "Mi tienda", "ipAddress": "Mi tienda" }, "geolocation": { "countryCode": "PE", "region": "Lima", "city": "Lima", "postalCode": "15074", "latitude": 1, "longitude": 1, "accuracyMeters": 1, "source": "inei" }, "externalDataJson": "Mi tienda", "promotionCodes": [ "BIENVENIDA10" ], "items": [ { "id": "7204558912004325176", "title": "Polo de algodón", "subtitle": "Polo de algodón", "thumbnail": "https://mi-tienda.ecomiq.app/images/polo-de-algodon.webp", "quantity": 2, "productId": "7204558912004322039", "sellerId": "7204558912004323447", "shippingProfileId": "7204558912004329819", "variantId": "7204558912004323197", "unitPrice": 89, "compareAtUnitPrice": 99, "requiresShipping": false, "isDiscountable": false, "isGiftcard": false, "externalItemId": "7204558912004323678", "giftWrapping": false, "giftMessage": "¡Feliz cumpleaños, Andrea!", "personalizedMessage": "Mi tienda", "customizationJson": "Mi tienda", "originalPrice": 89, "priceAdjustmentReason": "Reposición de stock.", "bundleItems": [ { "productId": "7204558912004322039", "variantId": "7204558912004323197", "productName": "Polo de algodón", "variantName": "Polo de algodón", "sku": "POL-001-AZ-M", "brand": "Andina", "imageUrl": "https://mi-tienda.ecomiq.app/images/polo-de-algodon.webp", "quantity": 2 } ], "externalDataJson": "Mi tienda", "modifiers": [ { "id": "7204558912004325176", "modifierGroupId": "7204558912004324624", "modifierGroupName": "Personalización", "modifierOptionId": "7204558912004327012", "modifierOptionName": "Bordado", "value": "Mi tienda", "quantity": 2, "priceDelta": 89 } ], "adjustments": [ { "id": "7204558912004325176", "description": "Polo de algodón pima para uso diario.", "code": "POL-001", "amount": 178, "type": "discount", "isTaxInclusive": false, "integrationId": "7204558912004323388", "promotionId": "7204558912004329139" } ], "taxLines": [ { "id": "7204558912004325176", "description": "Polo de algodón pima para uso diario.", "code": "POL-001", "rate": 1, "integrationId": "7204558912004323388", "taxRateId": "7204558912004327251" } ] } ], "shippingMethods": [ { "id": "7204558912004325176", "name": "Mi tienda", "description": "Polo de algodón pima para uso diario.", "amount": 178, "isTaxInclusive": false, "sellerId": "7204558912004323447", "shippingProfileId": "7204558912004329819", "shippingMethodId": "7204558912004325207", "connectionId": "7204558912004329542", "providerName": "Courier Lima", "trackingCode": "PE1234567890", "estimatedDays": 30, "zoneCode": "LIMA", "locationId": "7204558912004328277", "pickupPointId": "7204558912004324876", "scheduledDate": "2026-09-28", "scheduledTime": "09:00:00", "data": {}, "adjustments": [ { "id": "7204558912004325176", "description": "Polo de algodón pima para uso diario.", "code": "POL-001", "amount": 178, "isTaxInclusive": false, "integrationId": "7204558912004323388", "promotionId": "7204558912004329139" } ], "taxLines": [ { "id": "7204558912004325176", "description": "Polo de algodón pima para uso diario.", "code": "POL-001", "rate": 1, "integrationId": "7204558912004323388", "taxRateId": "7204558912004327251" } ] } ], "totals": { "items": { "subtotal": 178, "discount": 10, "tax": 1, "warranty": 1, "total": 178 }, "shipping": { "subtotal": 178, "discount": 10, "tax": 1, "total": 178 }, "total": 178 }, "createdOn": "2026-09-28T15:30:00Z", "updatedOn": "2026-09-28T15:30:00Z"}