shipping_plan

Arguments

ArgumentTypeRequiredDefaultDescription
idStringNo
analyzeBooleanNo

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

Return Type

ShippingPlanQueryResult

Query

query shipping_plan(
  $id: String,
  $analyze: Boolean
) {
  shipping_plan(
    id: $id,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...ShippingPlanFragment
    }
  }
}

Variables

{
  "id": "abc123",
  "analyze": true
}

Response

{
  "data": {
    "shipping_plan": {
      "request_id": "abc123",
      "complexity": 987,
      "data": ShippingPlan
    }
  }
}