wholesale_order

Arguments

ArgumentTypeRequiredDefaultDescription
idStringNo
order_idStringNo
analyzeBooleanNo

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

Return Type

WholesaleOrderQueryResult

Query

query wholesale_order(
  $id: String,
  $order_id: String,
  $analyze: Boolean
) {
  wholesale_order(
    id: $id,
    order_id: $order_id,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...WholesaleOrderFragment
    }
  }
}

Variables

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

Response

{
  "data": {
    "wholesale_order": {
      "request_id": "abc123",
      "complexity": 987,
      "data": WholesaleOrder
    }
  }
}