wholesale_staging_location_candidates

Arguments

ArgumentTypeRequiredDefaultDescription
warehouse_idString!Yes

Identifier from where the wholesale order will be shipped

searchStringNo
analyzeBooleanNo

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

Return Type

WholesaleStagingLocationCandidatesQueryResult

Query

query wholesale_staging_location_candidates(
  $warehouse_id: String!,
  $search: String,
  $analyze: Boolean
) {
  wholesale_staging_location_candidates(
    warehouse_id: $warehouse_id,
    search: $search,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...LocationConnectionFragment
    }
  }
}

Variables

{
  "warehouse_id": "abc123",
  "search": "abc123",
  "analyze": true
}

Response

{
  "data": {
    "wholesale_staging_location_candidates": {
      "request_id": "abc123",
      "complexity": 987,
      "data": LocationConnection
    }
  }
}