Printago API
GET /v1/sequences/usage

Get all sequences with usage

Sequences with usage facts: how many serials each has issued, the last issued serial, and which SKUs currently bind a text parameter to it.

Requires: sequence.view

Response Schema

SequenceWithUsage[]
Array of SequenceWithUsage, each with:
createdAtrequired
string
format: date-time
idrequired
string
pattern: ^[a-z0-9]{24}$
issuedCountrequired
number
lastIssuedAtrequirednullable
string
format: date-time
lastSerialrequirednullable
string
namerequired
string
nextValuerequired
number
numberStylerequired
"decimal" | "base32"
decimalbase32
paddingrequired
number
prefixrequired
string
storeIdrequired
string
pattern: ^[a-z0-9]{24}$
suffixrequired
string
updatedAtrequired
string
format: date-time
usedBySkuIdsrequired
string[]
SKU ids whose linked parts bind a text parameter to this sequence.

Example Response

200 OK — application/json
[
  {
    "issuedCount": 1,
    "lastIssuedAt": "2025-01-15T12:00:00.000Z",
    "lastSerial": "string",
    "usedBySkuIds": [
      "string"
    ],
    "name": "string",
    "nextValue": 1,
    "prefix": "string",
    "suffix": "string",
    "padding": 1,
    "numberStyle": "decimal",
    "id": "string",
    "storeId": "string",
    "createdAt": "2025-01-15T12:00:00.000Z",
    "updatedAt": "2025-01-15T12:00:00.000Z"
  }
]