Query
Every GraphQL schema has a root type for both queries and mutations. The query type defines GraphQL operations that retrieve data from the server.
Connections
AccountConnectionTypeConnection)
| Argument | Type | Description |
|---|---|---|
accountId |
String!
|
|
accountConnectionsFiltersInput |
AccountConnectionsFiltersInput!
|
|
searchQuery |
String
|
|
after |
String
|
Returns the elements in the list that come after the specified cursor. |
before |
String
|
Returns the elements in the list that come before the specified cursor. |
first |
Int
|
Returns the first n elements from the list. |
last |
Int
|
Returns the last n elements from the list. |
AccountLocationConnection)
| Argument | Type | Description |
|---|---|---|
accountId |
String!
|
|
accountLocationsFiltersInput |
AccountLocationsFiltersInput
|
|
after |
String
|
Returns the elements in the list that come after the specified cursor. |
before |
String
|
Returns the elements in the list that come before the specified cursor. |
first |
Int
|
Returns the first n elements from the list. |
last |
Int
|
Returns the last n elements from the list. |
order |
SortInput
|
AccountConnectionTypeConnection)
| Argument | Type | Description |
|---|---|---|
accountId |
String!
|
|
after |
String
|
Returns the elements in the list that come after the specified cursor. |
before |
String
|
Returns the elements in the list that come before the specified cursor. |
first |
Int
|
Returns the first n elements from the list. |
last |
Int
|
Returns the last n elements from the list. |
searchAssignableAccountsFiltersInput |
SearchAssignableAccountsFiltersInput!
|
BookingConnection!)
Query bookings
| Argument | Type | Description |
|---|---|---|
active |
Boolean
|
Flag to show only active bookings |
after |
String
|
Returns the elements in the list that come after the specified cursor. |
archived |
Boolean
|
Flag to show archived bookings |
before |
String
|
Returns the elements in the list that come before the specified cursor. |
first |
Int
|
Returns the first n elements from the list. |
last |
Int
|
Returns the last n elements from the list. |
onlyShipments |
Boolean
|
|
textContains |
String
|
Text string to search for |
zencargoReferences |
[String!]
|
Limit search to specific references |
PackingListConnection)
Query packing lists
| Argument | Type | Description |
|---|---|---|
after |
String
|
Returns the elements in the list that come after the specified cursor. |
before |
String
|
Returns the elements in the list that come before the specified cursor. |
findBy |
PackingListFindBy!
|
|
first |
Int
|
Returns the first n elements from the list. |
last |
Int
|
Returns the last n elements from the list. |
PurchaseOrderConnection!)
Query purchase orders
| Argument | Type | Description |
|---|---|---|
accountIds |
[String!]
|
Limit purchase orders to particular accounts |
after |
String
|
Returns the elements in the list that come after the specified cursor. |
before |
String
|
Returns the elements in the list that come before the specified cursor. |
bookingState |
[PurchaseOrderBookingStateEnum!]
|
Filter by the booking state of PO |
cargoReadyDate |
Int
|
Filter by cargo ready date, this takes a number of seconds to by added to todays date and returns POs with CRD before this |
customerUuid |
String
|
Limit purchase orders to particular customer |
customerUuids |
[String]
|
Lookup by customers(s) |
filterBy |
FilterOptionsEnum
|
Filter by state of purchase order |
first |
Int
|
Returns the first n elements from the list. |
id |
String
|
Lookup by id |
ids |
[String!]
|
Lookup by multiple ids |
incoterms |
String
|
Filter by incoterms |
last |
Int
|
Returns the last n elements from the list. |
manufacturerIds |
[String]
|
Lookup by manufacturer(s) |
orderReferenceNumber |
String
|
Lookup by reference number |
portOfDestinationUnlocode |
String
|
Filter by destination |
portOfLoadUnlocode |
String
|
Filter by origin |
textContains |
String
|
Search for text |
TerminalConnection)
Query terminals
| Argument | Type | Description |
|---|---|---|
after |
String
|
Returns the elements in the list that come after the specified cursor. |
before |
String
|
Returns the elements in the list that come before the specified cursor. |
first |
Int
|
Returns the first n elements from the list. |
last |
Int
|
Returns the last n elements from the list. |
query |
String!
|
Search string you want to query for |
terminalType |
TerminalTypeValue
|
Terminal type you want to restrict search to |
CoreProductAttributeConnection)
CoreProductCategoryConnection)
ProductConnection!)
Query Products and associated information
| Argument | Type | Description |
|---|---|---|
after |
String
|
Returns the elements in the list that come after the specified cursor. |
archived |
Boolean
|
Show archived products The default value is |
before |
String
|
Returns the elements in the list that come before the specified cursor. |
first |
Int
|
Returns the first n elements from the list. |
ids |
[String!]
|
Return specific products by id |
last |
Int
|
Returns the last n elements from the list. |
nameContains |
String
|
Search for products by name |
skuContains |
String
|
Search for products by sku |
textContains |
String
|
Search for products by text |
Fields
AccountLocation)
| Argument | Type | Description |
|---|---|---|
locationId |
String!
|
LegacyAccount)
Query information about the account
| Argument | Type | Description |
|---|---|---|
uuid |
String!
|
Identifier of the account to retrieve |
CoreProduct)
Query a Product operation
| Argument | Type | Description |
|---|---|---|
id |
String!
|
CoreProductAttribute)
Query a Product Attribute operation
| Argument | Type | Description |
|---|---|---|
id |
String!
|
CoreProductCategory)
Query a Product Category operation
| Argument | Type | Description |
|---|---|---|
id |
String!
|
[ProductCategory!]!)
Query Product Categories