get
https://api.ecartapi.com/api/v2/orders/
Get Order Details
This endpoint retrieves detailed information about a specific order.
Requirements
orderId. must be precent as a valid parameter to obtain the order information.
Response Body
-
success: Indicates if the request was successful. -
order: Contains detailed information about the order, including ID, number, customer details, billing and shipping addresses, items, dates, and more.
Important notes:
{
"shippingMethod": "My Store",
"shippingOptionReference": "1"
}
This is crucial information when attempting fulfillments, as the shippingOptionReference value serves as the company ID required to complete a successful fulfillment.
It indicates the exact shipping service selected by the buyer and provides the necessary ID to process the fulfillment correctly.
Example Response
{
"success": true,
"order": {
"id": "",
"number": "",
"marketPlaceId": null,
...
"events": []
}
}