Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Delivery session

A restricted session that lets an external system follow order and task tracking.

A delivery session is a special session type for integrating order and task tracking into an external system. It is what a courier-tracking page authenticates with, and it carries far less authority than an ordinary session.

The delivery info operations accept this session type alongside the standard one.

API actions

API base path: /user/session/delivery.


A demo session may create a delivery session only when one does not already exist.

Required sub-user rights: delivery_session_create.

Create delivery session

post
/user/session/delivery/create

Create a delivery session for the current user.

Requires the delivery_session_create right.

Takes no parameters. Also accepts GET.

Authorizations
AuthorizationstringRequired

Either a user session hash or an API key, with the "NVX " prefix, for example "NVX 22eac1c27af4be7b9d04da2ce1af111b". Obtain a session hash from the userAuth operation, or create an API key from the API keys operations. A small number of operations accept a session hash only and reject an API key with error code 4; each says so in its description.

Responses
200

The new delivery session

application/json
successbooleanRead-onlyOptional

true if request finished successfully.

Example: true
valuestringOptional

Delivery session hash.

post/user/session/delivery/create
POST /v2/user/session/delivery/create HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "success": true,
  "value": "text"
}

Errors

These errors come in addition to the general error codes:

  • 101 - In demo mode this function is disabled, when the session is a demo one and a delivery session already exists.

  • 236 - Feature unavailable due to tariff restrictions.


Read delivery session

post
/user/session/delivery/read

Return the delivery session hash for the current user, used by the delivery application.

Also accepts GET with the same parameters as query-string values.

Authorizations
AuthorizationstringRequired

Either a user session hash or an API key, with the "NVX " prefix, for example "NVX 22eac1c27af4be7b9d04da2ce1af111b". Obtain a session hash from the userAuth operation, or create an API key from the API keys operations. A small number of operations accept a session hash only and reject an API key with error code 4; each says so in its description.

Responses
200

The delivery session hash

application/json
successbooleanRead-onlyOptional

true if request finished successfully.

Example: true
valuestringOptional

Delivery session hash.

post/user/session/delivery/read
POST /v2/user/session/delivery/read HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "success": true,
  "value": "text"
}

Errors

These errors come in addition to the general error codes:

  • 201 - Not found in the database, when the user has no delivery session.

Last updated

Was this helpful?