Untitled
unknown
plain_text
2 years ago
2.6 kB
3
Indexable
Never
query getData($notInitial: Boolean!, $culture: String!, $region: String!, $routeToMarket: String!, $countryPriceDescriptor: String!, $regionPriceDescriptor: String!, $page: Int!, $perPage: Int!, $sort: ProductSort, $keyword: String, $category: CategoryFilter, $subCategory: SubCategoryFilter, $slider: Map, $checkbox: Map, $stockRange: StaticSliderFilter, $priceRange: StaticSliderFilter, $distributors: [String], $switch: Map, $sku: String, $showHWStockAvailability: Boolean!, $dealType: String!, $cacheKey: String, $getProducts: Boolean!, $getCategories: Boolean!, $getMeta: Boolean!) { smartSearch( culture: $culture region: $region routeToMarket: $routeToMarket countryPriceDescriptor: $countryPriceDescriptor regionPriceDescriptor: $regionPriceDescriptor dealType: $dealType filter: {keyword: $keyword, category: $category, subCategory: $subCategory, slider: $slider, checkbox: $checkbox, distributors: $distributors, switch: $switch, priceRange: $priceRange, stockRange: $stockRange, recommendationsFor: $sku, cacheKey: $cacheKey} ) { searchContext @include(if: $notInitial) { culture region routeToMarket countryPriceDescriptor regionPriceDescriptor dealType } filter @include(if: $notInitial) { keyword recommendationsFor category { name } subCategory { name } checkbox slider switch priceRange { min max } stockRange { min max } distributors skus cacheKey } products(page: $page, perPage: $perPage, sort: $sort) @include(if: $getProducts) { name sku parentSku description image productLine category subCategory listPrice currency currencySign attributes { name value } label units @include(if: $showHWStockAvailability) quantity optimized family } meta @include(if: $getMeta) { count } categories @include(if: $getCategories) { count name enabled subCategories { count name enabled } } prices { currency currencySign max min name } sliders @include(if: $notInitial) { format max min name } checkboxes @include(if: $notInitial) { name values { count value enabled } } switches @include(if: $notInitial) { name } } }