Change in the Semantics of the externalId Field in the Division Directory
From January 1, 2027, the internal logic and purpose of the externalId field in the response of the GET /v.1.0/divisions method will change.
To ensure the stable operation of your integration, please note that the externalId field is an internal service attribute. To avoid issues in the future, it is strongly recommended not to:
use it to identify divisions;
store it as a permanent unique key in the database;
pass it as an input parameter to other API methods.
The externalId field will remain in the response structure; however, its format, value, and purpose may change in the future.
Recommended Actions to Update the Integration
The items[].id field is intended to identify divisions in the system.
If your integration currently uses externalId, complete the following steps by January 1, 2027:
Update the directory: Send a
GET /v.1.0/divisionsrequest and retrieve the current list of divisions. For details, see Directories | API Docs | NovaPost or the offline directory Directories | API Docs | NovaPost.Switch to the correct ID: Store the
items[].idfield as the primary division identifier in your system.Update requests: Replace
externalIdwith the correspondingidvalue in requests for creating shipments and searching for divisions.
For example, the response to the GET /v.1.0/divisions request contains the id = 4493 value, which must be stored:
{
"current_page": 1,
"last_page": 1,
"per_page": 15,
"total": 1,
"from": null,
"to": null,
"items": [
{
"id": 4493,
"name": "Пункт приймання-видачі (до 30 кг): вул. Шкільна, 152",
"shortName": "Пункт приймання-видачі (до 30 кг): вул. Шкільна, 152",
"externalId": "7ce49933-9912-11ea-a768-b8830365bd14",
"source": "NPUA",
"countryCode": "UA",
"settlement": {
"id": 122776,
"name": "village Myliach",
"region": {
"id": 864,
"name": "Dubrovytskyi raion",
"parent": {
"id": 413,
"name": "Rivnenska oblast"
}
}
}
In the POST /v.1.0/shipments request for creating a shipment, pass "divisionId": 4493:
Important for Legacy Integrations in Ukraine
If your system uses the recipient address identifier (REF) or parcel locker identifier to create shipments in legacy integrations in Ukraine, this value is available in the additional parameters object returned by the GET /v.1.0/divisions endpoint at the following path:
items[].additionalIds[type="InternetAddress"].value
Example:
Recommendation: To ensure stable and long-term operation, we recommend switching to the updated API endpoints for shipments: Shipments | API Docs | NovaPost and using items[].id as the divisionId.
Last updated