RentalQuery

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.
    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.
    orders
    RentalOrderListItemConnection!
    Required
    List the authenticated vendor's rental orders.
      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.
      locationId
      Int
      Limit to one location. Omit for all.
      status
      String
      Filter by rental status. Omit for all.
    profile
    Profile!
    Required
    The authenticated vendor's profile.
    rentalSettings
    VendorRentalSettings
    The authenticated vendor's rental settings (if configured).
    settings
    Settings!
    Required
    The authenticated vendor's settings blob.
    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