inbound_shipments

Fetch inbound shipments matching the supplied arguments.

Arguments

ArgumentTypeRequiredDefaultDescription
customer_ids[String]No

Filter by one or more 3PL child/customer account IDs.

statuses[String]No

Filter by statuses; use values returned by the corresponding status field.

warehouse_ids[String]No

Filter by one or more public API warehouse IDs.

search_termStringNo

Free-text search term used to match the most relevant records.

dates_fromISODateTimeNo

Inclusive start of the dates range, in ISO-8601 datetime format.

dates_toISODateTimeNo

Inclusive end of the dates range, in ISO-8601 datetime format.

estimated_truck_arrival_fromISODateTimeNo

Inclusive start of the estimated truck arrival range, in ISO-8601 datetime format.

estimated_truck_arrival_toISODateTimeNo

Inclusive end of the estimated truck arrival range, in ISO-8601 datetime format.

status_updated_at_fromISODateTimeNo

Inclusive start of the status updated at range, in ISO-8601 datetime format.

status_updated_at_toISODateTimeNo

Inclusive end of the status updated at range, in ISO-8601 datetime format.

require_faiBooleanNo

When true, filters results where require FAI applies; when false, filters where it does not.

analyzeBooleanNo

If true, the query will only be analyzed (cost estimated) without executing it.

Return Type

InboundShipmentsQueryResult

Query

query inbound_shipments(
  $customer_ids: [String],
  $statuses: [String],
  $warehouse_ids: [String],
  $search_term: String,
  $dates_from: ISODateTime,
  $dates_to: ISODateTime,
  $estimated_truck_arrival_from: ISODateTime,
  $estimated_truck_arrival_to: ISODateTime,
  $status_updated_at_from: ISODateTime,
  $status_updated_at_to: ISODateTime,
  $require_fai: Boolean,
  $analyze: Boolean
) {
  inbound_shipments(
    customer_ids: $customer_ids,
    statuses: $statuses,
    warehouse_ids: $warehouse_ids,
    search_term: $search_term,
    dates_from: $dates_from,
    dates_to: $dates_to,
    estimated_truck_arrival_from: $estimated_truck_arrival_from,
    estimated_truck_arrival_to: $estimated_truck_arrival_to,
    status_updated_at_from: $status_updated_at_from,
    status_updated_at_to: $status_updated_at_to,
    require_fai: $require_fai,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...InboundShipmentConnectionFragment
    }
  }
}

Variables

{
  "customer_ids": ["QWNjb3VudDoxMjM0", "QWNjb3VudDo1Njc4"],
  "statuses": ["pending", "shipped"],
  "warehouse_ids": ["V2FyZWhvdXNlOjEyMzQ=", "V2FyZWhvdXNlOjU2Nzg="],
  "search_term": "BLUE-TEE",
  "dates_from": "2026-07-09T15:30:00Z",
  "dates_to": "2026-07-09T15:30:00Z",
  "estimated_truck_arrival_from": "2026-07-09T15:30:00Z",
  "estimated_truck_arrival_to": "2026-07-09T15:30:00Z",
  "status_updated_at_from": "2026-07-09T15:30:00Z",
  "status_updated_at_to": "2026-07-09T15:30:00Z",
  "require_fai": true,
  "analyze": true
}

Response

{
  "data": {
    "inbound_shipments": {
      "request_id": "UmVjb3JkOjEyMzQ=",
      "complexity": 100,
      "data": [{id: "SW5ib3VuZFNoaXBtZW50Q29ubmVjdGlvbjoxMjM0"}]
    }
  }
}