CPL API
Useful links
Useful links
  • Developer
  • Sandbox
Useful links
Useful links
  • Developer
  • Sandbox
Přepni do češtiny
  1. Customer
  • Back to home
  • API Methods
  • AccessPoint
    • List of access points
  • AddressWhisper
    • Address Whisperer
  • Codelist
    • Codelist for the beneficiary's age verification service
    • Codelist product
    • Codelist externalNumbers
    • Codelist country + COD authorization
    • Codelist currency
    • Method for obtaining the services provided for shipments.
    • A method for obtaining minimum and maximum values ​​for services
    • Codelist shipment phase
    • Codelist status
    • Codelist of validation messages
    • Types of personal documents
    • Document type
  • Customer
    • Customer information - permitted currencies
      GET
    • Customer addresess
      GET
    • Number range creation
      POST
  • Data
    • Single label print
  • Info
    • /info
  • Order
    • Order tracking
  • OrderBatch
    • Create an order
    • Get order status
  • OrderEvent
    • Order cancel
  • Shipment
    • Shipment tracking
    • Save customs documents to shipment
  • ShipmentBatch
    • Shipment creation
    • Used to combine sets of shipments
    • Used to modify the output format of the label.
    • Getting import state
    • Pick up label
  • ShipmentEvent
    • Shipment cancel
    • Adding informations to shipment
  • Routing
    • Used to obtain routing information for a label
  • VersionInformation
    • News
Useful links
Useful links
  • Developer
  • Sandbox
Useful links
Useful links
  • Developer
  • Sandbox
Přepni do češtiny
  1. Customer

Number range creation

POST
/customer/numberRange
Maintainer:Not configured

Meaning and Usage#

This method is designed for creating number series for individual products. If a customer wants to create their own shipment numbers, they can use this method. The created numbers are inserted into the request body POST shipment/batch, which allows defining the shipment number during its creation.

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Header Params

Body Params application/json-patch+jsonRequired

Example
{
    "productType": "string",
    "quantity": 0,
    "documentBack": true,
    "integratorId": "string"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/customer/numberRange' \
--header 'Accept-Language;' \
--header 'X-Correlation-ID;' \
--header 'X-LogLevel;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json-patch+json' \
--data-raw '{
    "productType": "string",
    "quantity": 0,
    "documentBack": true,
    "integratorId": "string"
}'

Responses

🟢200
application/json
Success
Headers

Body

Example
{
    "productType": "string",
    "quantity": 0,
    "packNumberFrom": "string",
    "packNumberTo": "string"
}
🟠400
🟠401
🟠403
🟠404
🔴500
🔴503
Modified at 2026-02-07 07:33:25
Previous
Customer addresess
Next
Data