List crossdocks
Crossdocks
List crossdocks
Retrieve crossdocks using GraphQL. Supports filtering, sorting, and pagination via relay-style connections.
POST
List crossdocks
Query Structure
Filter Argument
All filters are passed inside thefilter argument. Each filter field accepts an input object with operators (e.g. eq, ilike, from, to, between):
Available Filters
| Filter | Input Type | Operators | Description |
|---|---|---|---|
reference | StringInputType | eq, ilike, like, in, between | Crossdock reference |
account_id | IdInputType | eq, in, gt, gteq, lt, lteq, filled | Account ID |
warehouse_id | IdInputType | eq, in, gt, gteq, lt, lteq, filled | Warehouse ID |
supplier_id | IdInputType | eq, in, gt, gteq, lt, lteq, filled | Supplier ID |
carrier_id | IdInputType | eq, in, gt, gteq, lt, lteq, filled | Carrier ID |
expected_date_of_receipt | DatetimeInputType | eq, from, to, between | Expected receipt date |
Authorizations
OAuth 2.0 authentication. Use the client credentials or authorization code flow to obtain an access token.
The subdomain/tenant name identifying which tenant's data to access. Required for all API requests.
Body
application/json
GraphQL query string
Example:
"query($filter: CrossdockFilterType) { crossdocks { all(filter: $filter) { edges { node { id reference status inbound_method crossdock_type expected_date_of_receipt account { id code } warehouse { id code } } } } } }"
Query variables including the filter object
Example:
{
"filter": { "reference": { "ilike": "XD" } }
}
