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": "0369d126-8694-4ead-9ced-c69c7a52cec1-madoj32001",
"number": "500009",
"marketPlaceId": "madoj32001",
"name": null,
"email": "72c527d770284d858270e3c53422d402@ct.vtex.com.br",
"fulfillmentStatus": {
"id": null,
"status": null,
"ecartapi": null,
"ecartapiId": null,
"partiallAvailable": null
},
"currency": "MXN",
"totals": {
"subtotal": null,
"total": "109",
"tax": "0",
"discount": "-109",
"weight": null
},
"taxesIncluded": "true",
"units": {
"weight": null
},
"status": {
"id": null,
"status": null,
"financial": null,
"ecartapi": "other",
"ecartapiId": "5",
"name": "waiting-ffmt-authorization"
},
"locationId": null,
"reference": null,
"tags": [],
"payment": {
"method": null
},
"customer": {
"id": "clientProfileData",
"email": "72c527d770284d858270e3c53422d402@ct.vtex.com.br",
"firstName": "",
"lastName": "",
"phone": "",
"ecartapiUrl": null
},
"billingAddress": null,
"shippingAddress": {
"id": "shippingData",
"locationName": null,
"firstName": null,
"lastName": null,
"address1": "JOÃO DAMÁZIO GOMES",
"address2": "Bairro Praia Azul / Posto de Saúde 17",
"country": {
"code": "MEX",
"name": "MEX",
"codeIso2": "MX",
"codeIso3": "MEX"
},
"state": {
"code": "NL",
"name": "NL",
"codeIso2": null,
"codeIso3": null
},
"city": "Americana",
"postalCode": "64000",
"phone": null,
"company": null,
"references": null
},
"items": [
{
"id": "3",
"variantId": null,
"productId": "4",
"sku": "3",
"fulfillment": {
"quantity": null,
"service": null,
"status": null
},
"name": "Test123",
"requiresShipping": null,
"quantity": "1",
"price": null,
"discount": null,
"tax": null,
"taxable": null,
"vendor": null,
"imageUrl": null,
"ecartapiUrl": "localhost:3000/api/v2/products/3"
}
],
"meta": null,
"dates": {
"canceledAt": null,
"closedAt": null,
"createdAt": "2019-11-13T19:32:12.0250559+00:00",
"updatedAt": "2019-11-13T19:32:13.8449003+00:00"
},
"cancelReason": null,
"note": null,
"checkoutId": null
}
} |
ENDPOINTS