API e desenvolvedores

Get order by ID

get/v1/orders/{order_id}

Retrieve a single order by its ID for the authenticated merchant.

Exemplo

curl -X GET "https://api.ya.onl/v1/orders/{order_id}" \
  -H "X-API-Key: yv_live_v1_…"

Parâmetros

order_idintegerpathobrigatório

Unique order identifier

Respostas

200
Successful Response
401
Invalid or missing API key
403
API key lacks the orders:read scope
404
Order not found
422
Validation Error
429
Rate limit exceeded
Precisa de ajuda?