Skip to main content
POST
/
api
/
hawb
/
drafts
Receive HAWB as Draft (XFZB/FHL)
curl --request POST \
  --url https://1a557de0-701c-477d-bedd-433520441dae.mock.pstmn.io/api/hawb/drafts \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "awbNumber": "157-12345675",
  "hawbNumber": "HAWB-0001",
  "origin": "DOH",
  "destination": "LHR",
  "shipper": {
    "name": "ACME Export",
    "address": "123 Export Street"
  },
  "consignee": {
    "name": "ACME UK",
    "address": "456 Import Avenue"
  },
  "pieces": 5,
  "weight": 250.5,
  "volume": 1.2,
  "goodsDescription": "Electronics",
  "iataMessages": {
    "xfzb": "<XFZB XML or IMP here>",
    "fhl": "<FHL if sent>"
  }
}
'
{
  "hawbId": "hawb_01HXYZ",
  "hawbNumber": "HAWB-0001",
  "status": "draft",
  "linkedAwb": "157-12345675"
}
Receive House Air Waybill (HAWB) as draft with FHL/XFZB data format.

Reference Documentation

For more information on HAWB draft handling with FHL/XFZB format, please refer to:

Authorizations

Authorization
string
header
required

Body

application/json
awbNumber
string
required
Example:

"157-12345675"

hawbNumber
string
required
Example:

"HAWB-0001"

origin
string
required
Example:

"DOH"

destination
string
required
Example:

"LHR"

shipper
object
required
consignee
object
required
pieces
integer
required
Example:

5

weight
number
Example:

250.5

volume
number
Example:

1.2

goodsDescription
string
Example:

"Electronics"

iataMessages
object

Response

200 - application/json

Draft Created Successfully

hawbId
string
Example:

"hawb_01HXYZ"

hawbNumber
string
Example:

"HAWB-0001"

status
string
Example:

"draft"

linkedAwb
string
Example:

"157-12345675"