Logo
Ecartapi.com Public API Documentation

Get a single order

GET https://api.ecartapi.com/api/v2/orders/{{id}}

Searches for a selected order and shows the detailed information.

Important information:

  • The order's ID must exist

Find more information about the ecommerce resource.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Authorization
string




RESPONSES

status OK

{ "success": true, "order": { "id": "700-0005000-9000000", "number": "700-0005000-9000000", "marketPlaceId": null, "groupId": null, "name": "700-0005000-9000000", "fulfillmentStatus": { "id": null, "status": null, "ecartapi": "fulfilled", "ecartapiId": "1", "partiallAvailable": "true" }, "currency": "MXN", "totals": { "subtotal": null, "total": "328.00", "tax": 45.24, "discount": null, "weight": null, "shipping": null, "discounts": null }, "taxesIncluded": "true", "taxLines": [], "units": { "weight": null }, "status": { "id": null, "status": "Shipped", "financial": "paid", "ecartapi": "shipped", "ecartapiId": "10" }, "locationId": null, "reference": null, "tags": [], "payment": { "method": "CreditCard", "status": "paid" }, "customer": {}, "billingAddress": {}, "shippingMethod": "Std MX D2D Dom", "shippingLabel": null, "shippingAddress": { "id": null, "firstName": null, "lastName": null, "dni": null, "address1": null, "address2": null, "address3": null, "country": { "code": "MX", "name": "Mexico", "codeIso2": "MX", "codeIso3": "MEX" }, "state": { "code": "JA", "name": "JALISCO", "codeIso2": null, "codeIso3": null }, "city": "ZAPOPAN", "postalCode": "45067", "phone": null, "company": null, "references": null }, "items": [ { "id": "204526983042", "variantId": "B01S1YX1", "productId": "B01S1YX1", "sku": "L1-1W6T-NXDA", "fulfillment": { "quantity": null, "service": null, "status": null }, "name": "Test Sneakers", "upc": null, "requiresShipping": null, "quantity": "4", "price": "196.56", "discount": "0", "associatedItems": [], "bundled": null, "tax": null, "taxable": "true", "weight": null, "vendor": null, "imageUrl": "https://m.media-amazon.com/images/I/ID.jpg", "ecartapiUrl": "https://api.ecartapi.com/api/v2/products/ID" } ], "packa
Curl
curl -X GET 'https://api.ecartapi.com/api/v2/orders/id' -H 'Authorization: access_token'

ENDPOINTS