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": "4720000402-A",
"number": "4720000402-A",
"marketPlaceId": "Website",
"groupId": null,
"name": "4720000402-A",
"packsId": null,
"email": null,
"fulfillmentStatus": {
"id": null,
"status": "CANCELED",
"ecartapi": "other",
"ecartapiId": "4",
"partiallAvailable": "true"
},
"currency": "MXN",
"currencyExtension": null,
"discountsCoupon": [],
"totals": {
"subtotal": "0",
"total": "0",
"tax": null,
"discount": null,
"weight": null,
"shipping": "0"
},
"totalsExtension": {
"subtotal": null,
"total": null,
"tax": null,
"discount": null,
"shipping": null
},
"taxesIncluded": "true",
"taxLines": [],
"units": {
"weight": null
},
"status": {
"id": null,
"status": "CANCELED",
"financial": "other",
"ecartapi": "other",
"ecartapiId": "5"
},
"locationId": null,
"reference": null,
"tags": [],
"payment": {
"method": "creditCard",
"status": "other",
"ecartapi": null
},
"customer": {
"id": "2231940828",
"email": null,
"firstName": "ivan",
"lastName": "icd",
"phone": "55-64782454",
"identificationNumber": null,
"company": null,
"ecartapiUrl": null
},
"refunds": [],
"billingAddress": {
"id": null,
"firstName": "ivan icd",
"lastName": ".",
"dni": null,
"identificationNumber": null,
"address1": "AV JUAREZ 70",
"address2": "55443322",
"interiorNumber": null,
"address3": "CENTRO",
"country": {
"code": "MEX",
"name": "Mexico",
"codeIso2": "MX",
"codeIso3": "MEX"
},
"state": {
"code": null,
"name": "DF",
"codeIso2": null,
"codeIso3": null
},
"city": "CUAUHTEMOC",
"postalCode": "06010",
"phone": "55443322",
"email": null,
"company": null,
"references": null
},
"logistic": {
"mode": null,
"type": null,
"free": "false",
"direction": null
},
"shippingMethod": "Home delivery",
"shippingOptionReference": null,
"shippingLabel": null,
"shippingAddress": {
"id": null,
"firstName": "Ivan",
"lastName": "Lopez",
"dni": null,
"identificationNumber": null,
"address1": "Santo Domingo",
"address2": "5B" Curl curl -X GET 'https://api.ecartapi.com/api/v2/orders/:id' -H 'Authorization: access_token' ENDPOINTS |