API and developers

Get order counts by status

get/v1/orders/counts

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

Example

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

Responses

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