Skip to main content
GET
/
invoice-series
/
{id}
/
reservations
List pending reservations for this device
curl --request GET \
  --url https://api.contazen.ro/v1/invoice-series/{id}/reservations \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "object": "list",
    "data": [
      {
        "object": "number_reservation",
        "token": "<string>",
        "series_id": "<string>",
        "number": 123,
        "status": "pending",
        "device_id": "<string>",
        "reserved_at": 123,
        "expires_at": 123,
        "consumed_at": 123,
        "client_local_uuid": "<string>"
      }
    ],
    "total": 123
  },
  "meta": {
    "version": "v1",
    "request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "response_time": "23.45ms"
  }
}

Overview

Returns the reservation pool for the authenticated device on this series. Used by the mobile app to reconcile its local pool against the server’s view after a long offline period or a local database wipe. Only reservations where device_id matches the caller’s user_session.device_id AND status = 'pending' are returned. Expired / consumed / released rows are omitted — those are not usable for new invoices.

Response

data
array
Same shape as Reserve Numbers.
total
integer
Number of usable reservations the calling device currently owns on this series.

Authorizations

Authorization
string
header
required

Use your API key (sk_live_xxx or sk_test_xxx)

Path Parameters

id
string
required

Response

Reservation list

success
boolean
data
object
meta
object