Logo
Ecartapi.com Public API Documentation

Get a order

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

Retrieve detailed order information.

More information about the ecommerce's resource.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Authorization
string




RESPONSES

status OK

{ "success": true, "order": { "id": "91", "number": null, "marketPlaceId": null, "groupId": null, "name": null, "email": "customer@example.com", "fulfillmentStatus": { "id": null, "status": "C", "ecartapi": "unfulfilled", "ecartapiId": "3", "partiallAvailable": "false" }, "currency": "USD", "totals": "1048.99", "taxesIncluded": null, "taxLines": [], "units": { "weight": null }, "status": { "id": null, "status": "C", "financial": "paid", "ecartapi": "paid", "ecartapiId": "1" }, "locationId": null, "reference": null, "tags": [], "payment": { "method": "Phone ordering", "status": "paid" }, "customer": {}, "billingAddress": {}, "shippingMethod": "Custom shipping method", "shippingAddress": {}, "items": [ { "id": "500958211", "variantId": null, "productId": "228", "sku": "I0228OF40N", "fulfillment": { "quantity": null, "service": null, "status": null }, "name": "LG D2342P-PN", "requiresShipping": null, "quantity": "1", "price": "349.99", "discount": "0", "associatedItems": [], "bundled": null, "tax": null, "taxable": null, "weight": null, "vendor": null, "imageUrl": null, "ecartapiUrl": null }, { "id": "2372082066", "variantId": null, "productId": "227", "sku": "L0227FHI2Y", "fulfillment": { "quantity": null, "service": null, "status": null }, "name": "Acer 3D Series HN274H bmiiid", "requiresShipping": null, "quantity": "1", "price": "699.00", "discount": "0", "associatedItems": [], "bundled": null, "tax": null, "taxable": null, "weight": null, "vendor": null, "imageUrl": null, "ecartapiUrl": null } ], "packages": [], "meta": null, "dates": { "canceledAt": null, "closedAt": null, "createdAt": null, "updatedAt": null, "paidAt": null }, "cancelReason": null, "note": null, "locations": [], "checkoutId": null, "partialFulfillment": null } }

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

ENDPOINTS