Pular para o conteúdo principal
GET
Search direct orders by externalReference

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Parâmetros de caminho

institutionId
string<uuid>
obrigatório

The institution's unique identifier (UUID).

Exemplo:

"550e8400-e29b-41d4-a716-446655440000"

Parâmetros de consulta

externalReference
string
obrigatório

externalReference to search by. Same rules as the stored key: a value that looks like personal data is refused (422 personal-data-in-key) and never echoed.

Maximum string length: 128
Pattern: ^[A-Za-z0-9_.:-]{1,128}$
Exemplo:

"REM-2026-10-22-A"

cursor
string

Opaque cursor from a previous page.

Maximum string length: 512
limit
integer<int64>
padrão:50

Maximum items per page.

Intervalo obrigatório: 1 <= x <= 200

Resposta

OK

items
object[] | null
obrigatório

Orders whose externalReference matches.

nextCursor
string | null
obrigatório

Opaque cursor of the next page; null at the end.