Returns all supported carriers.
See google spreadsheet with supported carriers - Link
Arguments
Name | Type | Description |
---|---|---|
aliases | [SCAC!] | The standard carrier alpha code of the carriers to return by the query. |
Returns
Name | Description |
---|---|
[Carrier!]! | The carrier information. |
Carrier Fields
Example Code
Sample Query
query Carriers($aliases: [SCAC!]) {
carriers(aliases: $aliases) {
code
shortName
longName
codeAliases
}
}
Variables
{
"aliases": "PCIU"
}
Response
{
"data": {
"carriers": [
{
"code": "PCIU",
"shortName": "PIL",
"longName": "Pacific International Lines (PIL)",
"codeAliases": [
"PCIU",
"PABV"
]
}
]
}
}