CreateBarcodesRequest
Input parameters for generating barcodes, customer details, optional numeric range and quantity.
Properties
| Name | Type | Description |
|---|---|---|
| customerNumber | string | Your customer number assigned by PostNL. Consult the 'Manage API'-module in 'MijnPostNL zakelijk' for your API-account details. |
| customerCode | string | Your customer code assigned by PostNL. Consult the 'Manage API'-module in 'MijnPostNL zakelijk' for your API-account details. customerCode provided by PostNL, only allowed characters |
| serieStart | string | Lower bound of the barcode range. Must be provided together with serieEnd. Digits only, same length as serieEnd. Returned barcodes in the array are greater than or equal to this value. |
| serieEnd | string | Upper bound of the barcode range. Must be provided together with serieStart. Digits only, same length as serieStart. Returned barcodes in the array are less than or equal to this value. |
| numberOfBarcodes | integer | Number of barcodes to return. Defaults to one. When a range is supplied, all identifiers fall within it. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/postnl/json-schema/postnl-create-barcodes-request-schema.json",
"title": "CreateBarcodesRequest",
"description": "Input parameters for generating barcodes, customer details, optional numeric range and quantity.",
"x-generated": "2026-11-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/postnl-shipment-api-openapi.yml#/components/schemas/CreateBarcodesRequest",
"type": "object",
"additionalProperties": false,
"required": [
"customerNumber",
"customerCode"
],
"properties": {
"customerNumber": {
"type": "string",
"description": "Your customer number assigned by PostNL. Consult the 'Manage API'-module in 'MijnPostNL zakelijk' for your API-account details.",
"maxLength": 10,
"minLength": 1,
"pattern": "^\\d+$"
},
"customerCode": {
"type": "string",
"description": "Your customer code assigned by PostNL. Consult the 'Manage API'-module in 'MijnPostNL zakelijk' for your API-account details. customerCode provided by PostNL, only allowed characters",
"maxLength": 4,
"minLength": 1,
"pattern": "^[A-Za-z]{1,4}$"
},
"serieStart": {
"type": "string",
"description": "Lower bound of the barcode range. Must be provided together with serieEnd. Digits only, same length as serieEnd. Returned barcodes in the array are greater than or equal to this value.",
"default": "000000000",
"maxLength": 9,
"minLength": 7,
"pattern": "^\\d{7,9}$"
},
"serieEnd": {
"type": "string",
"description": "Upper bound of the barcode range. Must be provided together with serieStart. Digits only, same length as serieStart. Returned barcodes in the array are less than or equal to this value.",
"default": "999999999",
"maxLength": 9,
"minLength": 7,
"pattern": "^\\d{7,9}$"
},
"numberOfBarcodes": {
"type": "integer",
"description": "Number of barcodes to return. Defaults to one. When a range is supplied, all identifiers fall within it.",
"default": 1,
"maximum": 100.0,
"minimum": 1.0
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/postnl-create-barcodes-request"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.