expiration_lots

Arguments

ArgumentTypeRequiredDefaultDescription
skuStringNo
po_idStringNo
analyzeBooleanNo

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

Return Type

LotsQueryResult

Query

query expiration_lots(
  $sku: String,
  $po_id: String,
  $analyze: Boolean
) {
  expiration_lots(
    sku: $sku,
    po_id: $po_id,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...LotConnectionFragment
    }
  }
}

Variables

{
  "sku": "abc123",
  "po_id": "abc123",
  "analyze": true
}

Response

{
  "data": {
    "expiration_lots": {
      "request_id": "abc123",
      "complexity": 987,
      "data": LotConnection
    }
  }
}