Skip to main content
GET
/
orders
/
{orderId}
obter pedido
curl --request GET \
  --url https://api.teceo.co/store/v1/orders/{orderId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "ord_xyz789",
  "number": "PED-2025-0001",
  "status": "confirmed",
  "total": 589.5,
  "brand": {
    "id": "brand_abc",
    "name": "distribuidora exemplo"
  },
  "items": [
    {
      "product_id": "prod_abc123",
      "name": "refrigerante cola 2l",
      "quantity": 10,
      "unit_price": 8.9,
      "subtotal": 89
    }
  ],
  "notes": "entregar no período da manhã",
  "created_at": "2025-01-14T10:00:00Z",
  "updated_at": "2025-01-14T10:05:00Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

orderId
string
required

id único do pedido

Response

pedido encontrado

id
string

id único do pedido

number
string

número do pedido

status
enum<string>

status do pedido

Available options:
pending,
confirmed,
shipped,
delivered,
cancelled
total
number<float>

valor total do pedido

items_count
integer

quantidade de itens

brand
object
created_at
string<date-time>
items
object[]
notes
string
updated_at
string<date-time>