shipping_containers

Arguments

ArgumentTypeRequiredDefaultDescription
warehouse_idStringNo
carrierStringNo
shipping_methodStringNo
created_fromISODateTimeNo
created_toISODateTimeNo
updated_fromISODateTimeNo
updated_toISODateTimeNo
shipped_date_fromISODateTimeNo
shipped_date_toISODateTimeNo
analyzeBooleanNo

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

Return Type

ShippingContainersQueryResult

Query

query shipping_containers(
  $warehouse_id: String,
  $carrier: String,
  $shipping_method: String,
  $created_from: ISODateTime,
  $created_to: ISODateTime,
  $updated_from: ISODateTime,
  $updated_to: ISODateTime,
  $shipped_date_from: ISODateTime,
  $shipped_date_to: ISODateTime,
  $analyze: Boolean
) {
  shipping_containers(
    warehouse_id: $warehouse_id,
    carrier: $carrier,
    shipping_method: $shipping_method,
    created_from: $created_from,
    created_to: $created_to,
    updated_from: $updated_from,
    updated_to: $updated_to,
    shipped_date_from: $shipped_date_from,
    shipped_date_to: $shipped_date_to,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...ShippingContainerConnectionFragment
    }
  }
}

Variables

{
  "warehouse_id": "abc123",
  "carrier": "abc123",
  "shipping_method": "abc123",
  "created_from": ISODateTime,
  "created_to": ISODateTime,
  "updated_from": ISODateTime,
  "updated_to": ISODateTime,
  "shipped_date_from": ISODateTime,
  "shipped_date_to": ISODateTime,
  "analyze": true
}

Response

{
  "data": {
    "shipping_containers": {
      "request_id": "abc123",
      "complexity": 987,
      "data": ShippingContainerConnection
    }
  }
}