Logo
Ecartapi.com Public API Documentation

Get order

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

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Authorization
string




RESPONSES

status OK

{ "success": true, "order": { "id": "894226335", "number": null, "marketPlaceId": null, "groupId": null, "name": null, "packsId": null, "email": null, "fulfillmentStatus": { "id": null, "status": "Preparando envio", "ecartapi": "unfulfilled", "ecartapiId": "3", "partiallAvailable": null }, "currency": null, "discountsCoupon": [], "totals": { "subtotal": null, "total": "100.00", "tax": null, "discount": null, "weight": null, "shipping": "0.00" }, "taxesIncluded": null, "taxLines": [], "units": { "weight": null }, "status": { "id": null, "status": "Preparando envio", "financial": "Preparando envio", "ecartapi": "authorized", "ecartapiId": "7" }, "locationId": null, "reference": null, "tags": [], "payment": { "method": null, "status": "paid", "ecartapi": "1" }, "customer": { "id": null, "email": null, "firstName": "40.728.044/0001-57", "lastName": null, "phone": "", "identificationNumber": null, "company": null, "ecartapiUrl": "http://localhost:3000/api/v2/customers/undefined", "indentificationNumber": "" }, "refunds": [], "billingAddress": {}, "logistic": { "mode": null, "type": null, "free": "false", "direction": null }, "shippingMethod": "S", "shippingOptionReference": null, "shippingLabel": null, "shippingAddress": {}, "items": [ { "id": null, "variantId": null, "productId": null, "offerId": null, "inventoryId": null, "sku": null, "fulfillment": { "quantity": null, "service": null, "status": null }, "name": null, "upc": null, "requiresShipping": null, "quantity": null, "currentQuantity": null, "price": null, "discount": null, "associatedItems": [], "bundled": null, "tax": null, "taxable": null, "weight": null, "vendor": null, "imageUrl": null, "ecartapiUrl": null } ], "packages": [], "meta": null, "dates": { "estimatedDeliveryIn": null, "deliveredAt": null, "canceledAt": null, "closedAt": null, "createdAt": "30/05/2023", "updatedAt": null, "paidAt": null }, "cancelReason": null, "note": null, "locations": [], "localizationExtensions": [], "checkoutId": null, "fraudRisk": null,
Curl
curl -X GET 'https://api.ecartapi.com/api/v2/orders/:id' -H 'Authorization: access_token'

ENDPOINTS