UN Number API

Manage product UN numbers

Base URL

https://{tenant}.logzi.com/api/unnumber/

Every request returns a JSON response. On success result.code == 1, on failure result.code == 0. The UN number API manages products' UN numbers (dangerous goods identifiers), needed for the transport of hazardous materials.

GET /api/unnumber/get

Retrieve a single UN number record by identifier.

Query parameters

ParameterTypeRequiredDescription
idintUN number record identifier

Example request

GET /api/unnumber/get?id=1
X-API-KEY: {your_api_key}
GET /api/unnumber/list

Retrieve the list of UN number records.

No parameters required.

Example request

GET /api/unnumber/list
X-API-KEY: {your_api_key}
POST /api/unnumber/save

Create or update a UN number record.

POST fields — data object

The data object should contain the UN number's details (UN number, substance name, hazard class).

Example request

POST /api/unnumber/save
X-API-KEY: {your_api_key}
Content-Type: application/json

{ "data": { "id": 1 } }
POST /api/unnumber/delete

Delete a UN number record.

POST fields — data object

The data object should contain the details of the UN number record to delete.

Example request

POST /api/unnumber/delete
X-API-KEY: {your_api_key}
Content-Type: application/json

{ "data": { "id": 1 } }

Get in touch with us

Interested in our software? Feel free to write to us!

Need help?

If you can't find the answer and need assistance

Create your account now,
pay later!

Try it free for 3 days, no risk, no obligation!