inbound_shipment

Fetch inbound shipment records matching the supplied arguments.

Arguments

ArgumentTypeRequiredDefaultDescription
idString!Yes

Filter by ID; pass the public API ID unless the field name says legacy ID. Required.

analyzeBooleanNo

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

Return Type

InboundShipmentQueryResult

Query

query inbound_shipment(
  $id: String!,
  $analyze: Boolean
) {
  inbound_shipment(
    id: $id,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...InboundShipmentFragment
    }
  }
}

Variables

{
  "id": "UmVjb3JkOjEyMzQ=",
  "analyze": true
}

Response

{
  "data": {
    "inbound_shipment": {
      "request_id": "UmVjb3JkOjEyMzQ=",
      "complexity": 100,
      "data": {id: "SW5ib3VuZFNoaXBtZW50OjEyMzQ="}
    }
  }
}