Skip to content
  • There are no suggestions because the search field is empty.

Auto-increment

This API is used to create number series that are auto-incremented each time a call is made. Operations are atomic ensuring a unique number every time

Managing number series

List

GET /v1/autoincrements/control

Create

POST /v1/autoincrements/control

{
"autoIncrementName": "shipment-number"
"initialValue": 10000000
}

Overwrite

PUT /v1/autoincrements/control/shipment-number

{
"initialValue": 20000000,
"value": 20000000
}

Delete

DELETE /v1/autoincrements/control/shipment-number

Getting a new number

GET /v1/autoincrements/live/shipment-number

Returns:

{
"value": 20000001
}