Skip to main content
StubHub's Developer Portal
  • Products
    • APIs
    • Data types
    • Widgets
  • Documentation
    • Getting started
    • Using widgets
    • Account tiers
    • API deprecation policy
  • Support
    • FAQs
    • Contact us
  • Products
    • APIs
    • Data types
    • Widgets
  • Documentation
    • Getting started
    • Using widgets
    • Account tiers
    • API deprecation policy
  • Support
    • FAQs
    • Contact us
  • Sign in
    • Sign up

JSDK Documentation

  • Javascript SDK
  • EnhancedPerformer
  • Event
  • GeoPoint
    • toJSON
    • toString
  • Performer
  • Query
    • eventQuery
    • contains
    • date
    • dateRange
    • equalTo
    • find
    • hasTicket
    • limit
    • localDate
    • localDateRange
    • locateAt
    • notContains
    • notEqualTo
    • offset
    • select
    • sort
    • withInMiles
  • QueryObject
    • contains
    • date
    • dateRange
    • equalTo
    • hasTicket
    • limit
    • localDate
    • localDateRange
    • locateAt
    • notContains
    • notEqualTo
    • offset
    • select
    • sort
    • withInMiles
  • QueryParam
    • setTo
  • RecoQuery
    • contains
    • date
    • dateRange
    • equalTo
    • find
    • hasTicket
    • limit
    • localDate
    • localDateRange
    • locateAt
    • notContains
    • notEqualTo
    • offset
    • select
    • sort
    • withInMiles
  • SHimage
  • StubhubObject
  • TicketInfo
  • Venue

JSDK Modules

  • StubHub
    • initialize

QueryParam

The class that represents a predefined query parameter.
new QueryParam()

Methods

setTo

setTo(query) → {Query}
Set the query parameter to a specified query.
Parameters
NameTypeDescription
query
Query
A Query instance.  
Returns
  • Query

Footer

  • Contact us
  • About us
© 2000-2025. All rights reserved.
API License Agreement | User Agreement | Privacy Notice

Sign in

Forgot password?


Forgot your password?

New to StubHub's developer portal? Sign up

Sign in to build amazing apps