Skip to main content
POST
/
api
/
mawb
Create MAWB
curl --request POST \
  --url https://1a557de0-701c-477d-bedd-433520441dae.mock.pstmn.io/api/mawb \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "awbNumber": "15712345678",
  "origin": "DOH",
  "destination": "LHR",
  "pieces": 10,
  "weight": 500,
  "volume": 2.5,
  "commodity": "GEN",
  "shipper": {
    "name": "Example Corp",
    "address": "123 Main St, City, Country",
    "contact": "contact@example.com"
  },
  "consignee": {
    "name": "Example Corp",
    "address": "123 Main St, City, Country",
    "contact": "contact@example.com"
  }
}'
{
  "awbNumber": "15712345678",
  "status": "created",
  "createdAt": "2024-01-01T10:00:00Z"
}
Create/submit Master Air Waybill (MAWB) with FWB/XFWB data elements.

Reference Documentation

For more information on MAWB creation with FWB data set, please refer to:

Authorizations

Authorization
string
header
required

Body

application/json
awbNumber
string
required
Example:

"15712345678"

origin
string
required
Example:

"DOH"

destination
string
required
Example:

"LHR"

pieces
integer
required
Example:

10

weight
number
required
Example:

500

commodity
string
required
Example:

"GEN"

shipper
object
required
consignee
object
required
volume
number
Example:

2.5

Response

201 - application/json

MAWB created

awbNumber
string
Example:

"15712345678"

status
string
Example:

"created"

createdAt
string<date-time>
Example:

"2024-01-01T10:00:00Z"

I