Skip to main content
GET
/
orders
/
{id}
Obtiene una orden por ID
curl --request GET \
  --url http://localhost:3000/api/v1/orders/{id} \
  --header 'x-api-key: <api-key>'
{
  "id": "ord_01",
  "code": "O-2025-0001",
  "status": "created",
  "amount": 123.45,
  "currency": "USD",
  "title": "Compra de insumos"
}

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

Response

Orden encontrada

id
string
required
code
string
status
string
title
string
amount
number
currency
string
paymentDays
number
paymentMethod
string
deliveryMethod
string
deliveryDate
unknown
createdAt
unknown
updatedAt
unknown