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>"
}
}
'