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:


Params:
draft ( Boolean ) - Returns only draft order.

 

Body PARAM

Key Datatype Required Description 
draft
boolean This parameter is required when consulting an individual draft order



HEADERS

Key Datatype Required Description 
Authorization
string




RESPONSES

status OK

{ "success": true, "order": { "id": "5173299642623", "number": "#1044", "marketPlaceId": null, "groupId": null, "name": "#1044", "packsId": null, "email": null, "fulfillmentStatus": { "id": null, "status": "unfulfilled", "ecartapi": "unfulfilled", "ecartapiId": "3", "partiallAvailable": "true" }, "currency": "MXN", "discountsCoupon": [], "totals": { "subtotal": "50.0", "total": "58.0", "tax": "8.0", "discount": "0.0", "weight": "0.00", "shipping": null }, "taxesIncluded": "false", "taxLines": [ { "ratePrecentage": "16", "title": "VAT", "tax": "8.0" } ], "units": { "weight": "kg" }, "status": { "id": null, "status": "open", "financial": "paid", "ecartapi": "paid", "ecartapiId": "1" }, "locationId": "65739555071", "reference": null, "tags": [], "payment": { "method": "manual", "status": "paid", "ecartapi": null }, "customer": {}, "refunds": [], "billingAddress": {}, "logistic": { "mode": null, "type": null, "free": "false", "direction": null }, "shippingMethod": null, "shippingOptionReference": null, "shippingLabel": null, "shippingAddress": {}, "items": [ { "id": "13027140436223", "variantId": "43894576742655", "productId": "7991848665343", "offerId": null, "inventoryId": "45991064043775", "sku": null, "fulfillment": { "quantity": "1", "service": "Manual", "status": "unfulfilled" }, "name"
Curl
curl -X GET 'https://api.ecartapi.com/api/v2/orders/id?draft=true' -H 'Authorization: access_token'

ENDPOINTS