Aramex Shipping API

Complete reference guide for integrating with Aramex SOAP-based shipping services. Covers shipment creation, tracking, rate calculation, and location services.

Overview

Aramex provides SOAP-based web services for shipping, tracking, rate calculation, and location services. The API is organized into four main services:

ServiceOperationsUse Case
ShippingCreateShipments, PrintLabel, CreatePickup, CancelPickupCreate shipments and schedule pickups
TrackingTrackShipmentsTrack shipment status by AWB
RatesCalculateRateGet shipping cost estimates
LocationValidateAddress, FetchCountries, FetchCities, FetchOfficesAddress validation and reference data

Authentication

All Aramex API requests require a ClientInfo object in the SOAP request body.

ClientInfo Object

FieldTypeRequiredDescription
UserNamestringYesAramex account username
PasswordstringYesAramex account password
VersionstringYesAPI version (e.g., "v1.0")
AccountNumberstringYesAramex account number
AccountPinstringYesAccount PIN
AccountEntitystringYesAccount entity code (e.g., "AMM" for Amman)
AccountCountryCodestringYes2-letter country code (e.g., "JO")

Common Data Types

Address

FieldTypeRequiredDescription
Line1stringYesAddress line 1
Line2stringNoAddress line 2
Line3stringNoAddress line 3
CitystringYesCity name
StateOrProvinceCodestringNoState/province code
PostCodestringYesPostal/ZIP code
CountryCodestringYes2-letter ISO country code

Contact

FieldTypeRequiredDescription
PersonNamestringYesContact person name
CompanyNamestringNoCompany name
PhoneNumber1stringYesPrimary phone
CellPhonestringNoMobile number
EmailAddressstringNoEmail address

Weight

FieldTypeDescription
Unitstring"KG" or "LB"
ValuedoubleWeight value

Dimensions

FieldTypeDescription
LengthdoubleLength
WidthdoubleWidth
HeightdoubleHeight
Unitstring"CM" or "IN"

Money

FieldTypeDescription
CurrencyCodestring3-letter currency code (e.g., "USD", "AED")
ValuedoubleAmount

1. Shipping Services API

POSTCreateShipments

Creates one or more shipments and returns AWB numbers and labels.

Request: ShipmentCreationRequest
FieldTypeRequiredDescription
ClientInfoClientInfoYesAuthentication
ShipmentsShipment[]YesArray of shipments to create
LabelInfoLabelInfoNoLabel configuration
Shipment Object
FieldTypeRequiredDescription
Reference1stringNoYour shipment reference
ShipperPartyYesShipper details (Address + Contact)
ConsigneePartyYesRecipient details (Address + Contact)
ShippingDateTimedateTimeYesShipping date/time
DetailsShipmentDetailsYesPackage details
ShipmentDetails Object
FieldTypeRequiredDescription
ActualWeightWeightYesActual weight
DescriptionOfGoodsstringYesContents description
NumberOfPiecesintYesNumber of pieces
ProductGroupstringYes"EXP" (Express) or "DOM" (Domestic)
ProductTypestringYesService type (see below)
PaymentTypestringYes"P" (Prepaid), "C" (Collect), "3" (Third Party)
CashOnDeliveryAmountMoneyNoCOD amount
Product Types
CodeDescriptionGroup
PDXPriority Document ExpressEXP
PPXPriority Parcel ExpressEXP
PLXPriority Letter ExpressEXP
DDXDeferred Document ExpressEXP
DPXDeferred Parcel ExpressEXP
ONDOvernight DomesticDOM
LabelInfo Object
FieldTypeDescription
ReportIDintLabel template ID (9201 = A4, 9729 = A6)
ReportTypestring"URL" or "RPT"
Response: ShipmentCreationResponse
FieldTypeDescription
HasErrorsbooleanTrue if errors occurred
NotificationsNotification[]Warnings/errors
ShipmentsProcessedShipment[]Created shipments
ProcessedShipment Object
FieldTypeDescription
IDstringAWB number
Reference1stringYour reference
ShipmentLabel.LabelURLstringURL to download label
ShipmentLabel.LabelFileContentsbase64Label file as base64

POSTCreatePickup

Schedules a pickup for shipments.

Pickup Object
FieldTypeRequiredDescription
PickupAddressAddressYesPickup location address
PickupContactContactYesPickup contact
PickupLocationstringYesLocation description
PickupDatedateTimeYesDate for pickup
ReadyTimedateTimeYesWhen shipment is ready
LastPickupTimedateTimeYesLatest pickup time
ClosingTimedateTimeYesLocation closing time
PickupItemsPickupItemDetail[]YesPickup item details
Response: ProcessedPickup
FieldTypeDescription
IDstringPickup ID
GUIDguidPickup GUID (use for cancellation)

POSTCancelPickup

Cancels a scheduled pickup.

Request: PickupCancelationRequest
FieldTypeRequiredDescription
ClientInfoClientInfoYesAuthentication
PickupGUIDstringYesPickup GUID to cancel
CommentsstringNoCancellation reason

2. Tracking API

POSTTrackShipments

Tracks one or more shipments by AWB number.

Request: ShipmentTrackingRequest
FieldTypeRequiredDescription
ClientInfoClientInfoYesAuthentication
Shipmentsstring[]YesArray of AWB numbers
GetLastTrackingUpdateOnlybooleanNoIf true, only returns latest update
Response: TrackingResult
FieldTypeDescription
WaybillNumberstringAWB number
UpdateCodestringStatus code
UpdateDescriptionstringStatus description
UpdateDateTimedateTimeEvent timestamp
UpdateLocationstringEvent location
ProblemCodestringProblem code (if any)

3. Rate Calculator API

POSTCalculateRate

Calculates shipping rates for a shipment.

Request: RateCalculatorRequest
FieldTypeRequiredDescription
ClientInfoClientInfoYesAuthentication
OriginAddressAddressYesOrigin address
DestinationAddressAddressYesDestination address
ShipmentDetailsShipmentDetailsYesPackage details
Response: RateCalculatorResponse
FieldTypeDescription
HasErrorsbooleanError flag
NotificationsNotification[]Warnings/errors
TotalAmountMoneyCalculated shipping rate

4. Location API

POSTValidateAddress

Validates an address and returns suggestions.

Request
FieldTypeRequiredDescription
ClientInfoClientInfoYesAuthentication
AddressAddressYesAddress to validate
Response
FieldTypeDescription
HasErrorsbooleanError flag
SuggestedAddressesAddress[]Suggested valid addresses

POSTFetchCountries

Retrieves list of all countries supported by Aramex.

Response: Country Object
FieldTypeDescription
Codestring2-letter Aramex code
NamestringCountry name
IsoCodestringISO country code
StateRequiredbooleanWhether state is required
PostCodeRequiredbooleanWhether postal code is required

POSTFetchCities

Retrieves cities for a country/state.

Request
FieldTypeRequiredDescription
CountryCodestringYesCountry code
StatestringNoState/province code
NameStartsWithstringNoFilter by city name prefix
Response

Cities: string[] — List of city names

POSTFetchOffices

Retrieves Aramex office locations for a country.

Response: Office Object
FieldTypeDescription
EntitystringOffice entity code
EntityDescriptionstringEntity description
AddressAddressOffice address
TelephonestringPhone number
WorkingDaysstringWorking days
WorkingHoursstringWorking hours
LatitudedecimalGPS latitude
LongtitudedecimalGPS longitude

Error Handling

All responses include:

  • HasErrors (boolean) — True if the request failed
  • Notifications (array) — Contains error/warning messages

Common Error Codes

CodeDescription
ERR01Invalid credentials
ERR02Account not active
ERR03Missing required field
ERR04Invalid field value
ERR05Service not available

Environments

ServiceProductionTest/Dev
Shippingws.aramex.netws.dev.aramex.net
Trackingws.aramex.netws.dev.aramex.net
Ratesws.aramex.netws.dev.aramex.net
Locationws.aramex.netws.dev.aramex.net
NBOX Logistics Logo

Your comprehensive platform for managing logistics, communications, and business operations.


© 2026 NBOX Logistics. All rights reserved.