MercatDevelopers
  1. Orders
MercatDevelopers
  • Getting Started
  • Auth
    • Authenticate client
      POST
  • Stores
    • List all stores
      GET
    • Get store details
      GET
  • Menus
    • Get menu details
      GET
  • Orders
    • Get order details
      GET
  • Webhooks
    • Webhooks
    • stores.update
    • orders.create
    • orders.update
    • menus.update
  1. Orders

Get order details

Stage
https://stage.api.mercat.com
Stage
https://stage.api.mercat.com
GET
/v1/mercat_developers/orders/{id}
Returns the complete details of a specific order by its ID, including order items, delivery information, and pricing breakdown.
Authentication required: Include the access token obtained from the Authenticate client endpoint.

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Path Params

Responses

🟢200OK
application/json
Order details retrieved successfully
Body

Example
{
    "id": 12345,
    "user_phone": "+56912345678",
    "user_email": "user@example.com",
    "user_address": "123 Main Street, Santiago",
    "user_name": "John Doe",
    "apartment_details": "Apt 4B",
    "user_latitude": -33.4489,
    "user_longitude": -70.6693,
    "dispatch_note": "Ring doorbell",
    "dispatch_method": "store_delivery",
    "store_id": 1,
    "status": "preparing",
    "platform": "web",
    "requested_time": "2024-01-15T19:30:00Z",
    "promised_delivery_time": "2024-01-15T20:00:00Z",
    "promised_pick_up_time": null,
    "created_at": "2024-01-15T19:25:00Z",
    "subtotal_price": 25.5,
    "delivery_price": 3,
    "tip": 2.5,
    "discount": 0,
    "loyalty_discount": 0,
    "total_price": 31,
    "items": [
        {
            "id": 1,
            "product_id": 101,
            "quantity": 2,
            "name": "Margherita Pizza",
            "instructions": "Extra cheese please",
            "price": 12.5,
            "modifiers": [
                {
                    "id": 5,
                    "name": "Extra Cheese",
                    "price": 2,
                    "action": "add",
                    "quantity": 1
                }
            ]
        }
    ],
    "deliveries": [
        {
            "id": 1,
            "type": "own_delivery",
            "confirmation_code": "ABC123",
            "status": "confirmed",
            "tracking_url": "https://tracking.example.com/ABC123"
        }
    ]
}
🟠404Record Not Found
Modified at 2026-02-17 15:11:07
Previous
Get menu details
Next
Webhooks
Built with