FleetOperatorQuery

Fields

    bot
    Bot!
    Required
    Fetch one of the authenticated vendor's bots by id.
      botId
      Int!
      Required
      Unique identifier of the bot.
    botAnalytics
    BotAnalytics!
    Required
    Analytics for a bot: totals, webhook health, a 7-day time series and the top-10 commands over the requested window (default 7 days, max 90).
      botId
      Int!
      Required
      Bot to report on.
      days
      Int
      History window in days (default 7, max 90).
    bots
    BotConnection!
    Required
    List the authenticated vendor's bots, optionally filtered by status.
      after
      String

      Opaque cursor — pass back the previous page's endCursor.

      before
      String

      Opaque cursor — pass back the previous page's startCursor.

      first
      Int
      How many items to return, paging forward.
      last
      Int
      How many items to return, paging backwards.
      status
      BotStatus
      Filter by bot status. Omit for all.
    fleet
    DriverPartnerFleet
    Fetch one fleet by id (only if owned by the authenticated business).
      fleetId
      Int!
      Required
      Unique identifier of the fleet.
    fleets
    DriverPartnerFleetConnection!
    Required
    List the authenticated business's fleets, optionally filtered by a free text search across name / email / phone.
      after
      String

      Opaque cursor — pass back the previous page's endCursor.

      before
      String

      Opaque cursor — pass back the previous page's startCursor.

      first
      Int
      How many items to return, paging forward.
      last
      Int
      How many items to return, paging backwards.
      search
      String
      Match on fleet name. Omit to return all.
    location
    Location!
    Required
    Fetch one location by id.
      locationId
      Int!
      Required
      Unique identifier of the location.
    locations
    LocationConnection!
    Required
    List the authenticated vendor's locations/branches.
      activeOnly
      Boolean
      Only active locations. Omit for all.
      after
      String

      Opaque cursor — pass back the previous page's endCursor.

      before
      String

      Opaque cursor — pass back the previous page's startCursor.

      first
      Int
      How many items to return, paging forward.
      last
      Int
      How many items to return, paging backwards.
    profile
    Profile!
    Required
    The authenticated vendor's profile.
    settings
    Settings!
    Required
    The authenticated vendor's settings blob.
    unit
    AutonomousUnit!
    Required
    One of the acting vendor's units.
      id
      Int!
      Required
      Unique identifier of the unit.
    units
    AutonomousUnitConnection!
    Required

    The acting vendor's autonomous units, newest first.

    Scoped by forcing ownerVendorId to the authorized vendor. It is deliberately NOT an argument — accepting one would invite passing somebody else's.

      after
      String

      Opaque cursor — pass back the previous page's endCursor.

      before
      String

      Opaque cursor — pass back the previous page's startCursor.

      first
      Int
      How many items to return, paging forward.
      hasCredential
      Boolean
      Restrict to units that have their own credentials, or to those that do not. Omit for both.
      isActive
      Boolean
      Restrict to active or inactive units. Omit for both.
      isDispatchable
      Boolean
      Restrict to units that can be sent on a job right now, or to those that cannot. Omit for both.
      last
      Int
      How many items to return, paging backwards.
      maxBatteryPct
      Int
      Restrict to units at or below this battery percentage. Omit for any charge.
      serialNo
      String
      Exact serial number to look up. Omit for every unit.
      status
      AutonomousUnitStatus
      Filter by unit status. Omit for all.
      verificationStatus
      AutonomousVerificationStatus
      Filter by verification state. Omit for all.
    vehicle
    VendorVehicle
    Fetch one of the vendor's vehicles by id.
      vehicleId
      Int!
      Required
      Unique identifier of the vehicle.
    vehicles
    VendorVehicleConnection!
    Required
    List the authenticated vendor's vehicles.
      after
      String

      Opaque cursor — pass back the previous page's endCursor.

      before
      String

      Opaque cursor — pass back the previous page's startCursor.

      first
      Int
      How many items to return, paging forward.
      isActive
      Boolean
      Restrict to active or inactive vehicles. Omit for both.
      last
      Int
      How many items to return, paging backwards.
      search
      String
      Match on plate or model. Omit to return all.
      vehicleCategory
      VehicleCategory
      Filter by vehicle category. Omit for all.
      vehicleTypeId
      Int
      Filter by vehicle type. Omit for all.
      verified
      Boolean
      Restrict to verified or unverified vehicles. Omit for both.
    vendorCoupons
    [Coupon!]!
    Required
    The coupons this vendor owns. Platform coupons the vendor merely qualifies for are not listed — those belong to the platform and are not theirs to manage.
      activeOnly
      Boolean
      Only active coupons. Omit for all.
    vendorPerformanceMetrics
    VendorPerformanceMetricsResponse!
    Required
    Acceptance rate, delivery success rate, average fulfilment time and customer satisfaction over the last 30 days.
    vendorReviews
    VendorCustomerReviews!
    Required
    Recent customer reviews, optionally filtered to a single star rating.
      limit
      Int
      Maximum reviews to return. Clamped to a ceiling.
      ratingFilter
      Int
      Only reviews with this star rating (1-5). Omit for all.
    vendorSalesAnalytics
    VendorSalesAnalytics!
    Required

    Sales for a window, with top products, a daily series and growth against the preceding window of equal length.

    period is today, week, month or year, resolved in the vendor's own timezone. Any other value requires date (RFC-3339 or YYYY-MM-DD) and reports that single local day; without one it is rejected rather than silently widening to all time.

      date
      String

      Single day to report (YYYY-MM-DD). Omit to use period instead.

      period
      String
      One of today, week, month or year. Defaults to month.
    webhook
    Webhook
    Fetch one webhook by id (scoped to the authenticated business).
      webhookId
      Int!
      Required
      Unique identifier of the webhook.
    webhooks
    WebhookConnection!
    Required
    List the authenticated business's webhook subscriptions.
      after
      String

      Opaque cursor — pass back the previous page's endCursor.

      before
      String

      Opaque cursor — pass back the previous page's startCursor.

      first
      Int
      How many items to return, paging forward.
      last
      Int
      How many items to return, paging backwards.
Built with