API e desenvolvedores

Get order counts by status

get/v1/orders/counts

Retrieve the number of orders per status for the authenticated merchant.

Exemplo

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

Respostas

200
Successful Response
401
Invalid or missing API key
403
API key lacks the orders:read scope
429
Rate limit exceeded
Precisa de ajuda?