Skip to navigation

1. Create new shipment

View as Markdown

SHIPMENT STRUCTURE

Parameter

Type

Description

Mandatory? Yes/ No

Constraints

documentType

String

Type of the shipment document

Yes

Possible values:
MAWB,
HAWB,
CMR

externalClientId
String
External system client ID shared with the platform
No
When not set then the caller needs to be registered as client

documentNumber

String

Number of the shipment document

Yes

Format for airwaybill shipment number:

XXX-XXXXXXXX

masterNumber

String

MAWB number for HAWB shipment

Yes, for house_airwaybill shipment

Format:

XXX-XXXXXXXX

flightNumber

String

Flightnumber + flight date

Yes, for airwaybill and house_airwaybill shipment

Expected Format:

AY1234/20NOV25

charter

Boolean

Is it charter flight?

No

Possible values:

true,
false,
null

airport

String

Entryairport

Yes, for airwaybill and house_airwaybill shipment

Airport IATA code. Should be supported by the system. For OTP entry use “OTP”.

operatorSiteCode
String
Specifies operator site code based on agreement with operator.
Yes
Site code “OTP”

arriveDate

String

Time of Arrival

Yes

1. Format: 2025-11-27T15:00:00Z

shipmentPieces

Integer

Shipment Packages Count

Yes

1. shipmentPieces > 0

shipmentWeight

Number

Shipment total weight, in KG-s

Yes

1. shipmentWeight > 0

2. Max 3 decimals

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:password)>.

Request

This endpoint expects an object.
airportstringRequired
charterbooleanRequired
arriveDatedatetimeRequired
documentTypestringRequired
flightNumberstringRequired
documentNumberstringRequired
shipmentPiecesintegerRequired
shipmentWeightdoubleRequired
operatorSiteCodestringRequired

Response

OK
dataobject
statusstring
messagestring
statusCodeinteger

Errors

400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error