INPUT_OBJECT
AdvertSearchInput
Advert search arguments for building an ElasticSearch query.
link GraphQL Schema definition
- input AdvertSearchInput {
- # Request specific adverts by ID rather than query on advert attributes.
- ID!] : [
- # Minimum date for booking availability. Specific to adverts for services
- #
- # that accept date-based reservations, such as hotels, tours, or events.
- ISO8601DateTime :
- # Minimum date for booking availability. Specific to adverts for services
- #
- # that accept date-based reservations, such as hotels, tours, or events.
- ISO8601DateTime :
- # IDs of desired brands. See the Brand data type for more details.
- ID!] : [
- # Note: This field is now deprecated. Use brandSlugs field instead.
- #
- # Brand name as represented by a partial URL path with spaces replaced by '-'.
- #
- # Must match a brand name saved in the database and search index.
- String :
- # Brand names as represented by a partial URL path with spaces replaced by '-'.
- #
- # Must match brand names saved in the database and search index.
- String!] : [
- # Collapse like Adverts into a single result in the response.
- Boolean :
- # The conditions of the product being advertised.
- AdvertConditionEnum!] : [
- # IDs of the desired countries (i.e. where the sellers are based).
- #
- # See the Country data type for more details.
- ID!] : [
- # Indicates how long the advertised event lasts.
- AdvertDurationPeriodEnum :
- # Gender for whom the product is intended.
- AdvertGenderEnum!] : [
- # Location name, usually a city, as represented by a partial URL path with spaces
- # replaced by '-'.
- #
- # Must match an indexed location name.
- String :
- # Query adverts by maximum price denominated in cents.
- Int :
- # Query adverts by minimum price denominated in cents.
- Int :
- # Query adverts by maximum price.
- Float :
- # Query adverts by minimum price.
- Float :
- # IDs of desired option values (e.g. 'red', 'large').
- #
- # See the OptionValue data type for more details.
- ID!] : [
- # The desired postcode, which matches according to the seller's address
- String :
- # IDs of the desired model.
- ID!] : [
- # IDs of the desired model.
- ID!] : [
- # Model name as represented by a partial URL path with spaces replaced by '-'.
- String :
- # Search advert text fields with one or more keywords.
- String :
- # For searching by region or state. Must be the abbreviation
- #
- # of the region/state name (e.g. use 'VIC', not 'Victoria').
- String :
- # Region, state, or province name as represented by a partial URL path with spaces
- # replaced by '-'.
- String :
- # The ways in which the good or service can be purchased and collected.
- AdvertSaleTypeEnum!] : [
- # The ways in which the good or service can be purchased and collected.
- AdvertAvailabilityEnum!] : [
- # When location is included in the search, the radius (in kilometers
- #
- # or miles depending on country) from the geographic center of the queried
- # location.
- Int :
- # Whether your searching for adverts by retailer or by individual adverts.
- AdvertSearchTypeEnum :
- # IDs of the desired sellers. See the Seller data type for more details.
- ID!] : [
- # ID of the desired seller. See the Seller data type for more details.
- ID :
- # The attributes by which results can be sorted.
- AdvertSearchSortByEnum :
- # ID of the desired taxon. See the Taxon data type for more details.
- ID :
- # Taxon name as represented by a partial URL path with spaces replaced by '-'.
- String :
- # Based on the taxonType of the associated Taxon.
- TaxonTypeEnum :
- # Only return adverts which have been updated since this date
- ISO8601DateTime :
- # Rating selection for filtering
- String!] : [
- # Point in time ID of the index at which the search performs. Point in time ID
- # expires after 1 minute
- String :
- # Where advert is published to, either "marketplace" or "m_store"
- String :
- }