Logo
Ecartapi.com Public API Documentation

Get order

GET https://api.ecartapi.com/api/v1/orders/576676899248115480

Get detailed information about an order using orderId.

OrderId must be exist

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Authorization
string




RESPONSES

status OK

{ "success": true, "order": { "id": "576670298683182872", "number": "576670298683182872", "marketPlaceId": null, "groupId": null, "name": null, "packsId": null, "email": "v4bCDUSB5HL7YU5EEPPEB3TFRYX2E@scs3.tiktok.com", "fulfillmentStatus": { "id": null, "status": "CANCELLED", "ecartapi": "unfulfilled", "ecartapiId": "3", "partiallAvailable": "true" }, "currency": "GBP", "currencyExtension": null, "discountsCoupon": { "type": null, "codeCupon": null, "discount": null, "discountAmount": null }, "totals": { "subtotal": "200.00", "discount": "0.00", "shipping": "3.09", "otherFees": null, "tax": "0.00", "total": "203.09" }, "dimensions": { "width": null, "height": null, "length": null }, "totalsExtension": { "subtotal": null, "discount": null, "shipping": null, "tax": null, "total": null }, "taxesIncluded": null, "taxLines": [], "units": { "weight": null }, "status": { "id": null, "status": "CANCELLED", "financial": "CANCELLED", "ecartapi": "cancelled", "ecartapiId": "4" }, "locationId": "7371382934206777120", "reference": null, "tags": [], "payment": { "method": "Credit Card/Debit Card", "status": "CANCELLED", "ecartapi": "cancelled" }, "customer": {}, "refunds": [], "billingAddress": {}, "logistic": { "mode": "FULFILLMENT_BY_SELLER", "type": "TIKTOK", "free": "false", "direction": null, "serviceId": "7031156220157232897" }, "shippingMethod": "Standard shipping", "shippingOptionReference": null, "shippingLabel": null, "documents": { "shippingLabels": [] }, "shippingAddress": { "id": null, "firstName": "a***o a***", "lastName": null, "dni": null, "identificationNumber": null, "address1": "Un****************************************", "address2": "", "address3": "", "country": { "code": "GB", "name": "United Kingdom", "codeIso2": null, "codeIso3": null }, "state": { "code": null, "name": "England", "codeIso2": null, "codeIso3": null, "phone": "(+86)123******25" }, "city": "Luton", "postalCode": "LU*****", "phone": null, "email": null, "company": null, "references": "Un****************************************", "latitude": null, "longitude": null }, "items": [ { "id": "576670298683313944", "variantId": "1729409940412337249", "productId": "1729409939565939809", "offerId": null, "inventoryId": null, "sku": "test123", "productType": null, "fulfillment": { "quantity": "1", "service": "6599541761693270018", "status": "unfulfilled" }, "name": "Shirt for men color sky blue size M from Ecart", "upc": null, "requiresShipping": null, "quantity": "1", "currentQuantity": null, "price": "100.00", "priceExtension": null, "discount": "0.00", "discountExtension": null, "associatedItems": [], "bundled": null, "tax": null, "taxable": null, "weight": null, "length": null, "width": null, "height": null, "units": { "weight": null, "length": null, "width": null, "height": null }, "vendor": null, "imageUrl": null, "ecartapiUrl": null, "currency": "GBP" }, { "id": "576670298683379480", "variantId": "1729409940412337249", "productId": "1729409939565939809", "offerId": null, "inventoryId": null, "sku": "test123", "productType": null, "fulfillment": { "quantity": "1", "service": "6599541761693270018", "status": "unfulfilled" }, "name": "Shirt for men color sky blue size M from Ecart", "upc": null, "requiresShipping": null, "quantity": "1", "currentQuantity": null, "price": "100.00", "priceExtension": null, "discount": "0.00", "discountExtension": null, "associatedItems": [], "bundled": null, "tax": null, "taxable": null, "weight": null, "length": null, "width": null, "height": null, "units": { "weight": null, "length": null, "width": null, "height": null }, "vendor": null, "imageUrl": null, "ecartapiUrl": null, "currency": "GBP" } ], "packages": [ { "id": "1153051726716047128" } ], "meta": null, "dates": { "estimatedDeliveryIn": null, "deliveredAt": null, "canceledAt": null, "closedAt": null, "createdAt": "2024-05-31T00:53:32.000Z", "updatedAt": "2024-06-11T23:33:30.000Z", "paidAt": "2024-05-31T00:53:32.000Z" }, "cancelReason": "Automatically canceled due to collection time out", "locations": [], "localizationExtensions": [], "checkoutId": null, "fraudRisk": null, "events": [], "requiresShipping": true } }



Curl
curl -X GET 'https://api.ecartapi.com/api/v1/orders/576676899248115480' -H 'Authorization: access_token'

ENDPOINTS