Repository URL to install this package:
|
Version:
1.2.7 ▾
|
#import "./PropertiesFragment.graphql"
query SearchQuery(
$search: String!
$limit: Int = 8
$offset: Int = 0
$sort: String
$selectedFacets: [FacetsInput]
) {
search(
search: $search
limit: $limit
offset: $offset
sort: $sort
selectedFacets: $selectedFacets
) {
# refine fragment
productFilter {
facets {
name
values {
identifier
name
count
}
}
selectedFilters {
label
value
}
}
productSort {
options {
label
value
}
sortedBy
}
# rest
identifier
image
name
productCount
searchterm
products {
identifier
image
type
name
...Properties
children {
skus {
identifier
image
type
name
properties {
buyinfo {
pricing {
currencycode
prices {
type
ismin
ismax
label
value
}
}
inventorystatus
instock
preorder
preorderdate
deliverydate
availability {
instore
}
}
iteminfo {
flags {
label
value
}
additionalimages {
label
value
}
additionalinfo {
label
value
}
}
state {
starttime
}
skuinfo {
color {
name
}
size1 {
name
}
style {
name
}
}
}
}
products {
identifier
image
type
name
...Properties
children {
skus {
identifier
image
type
name
properties {
buyinfo {
pricing {
currencycode
prices {
type
ismin
ismax
label
value
}
}
inventorystatus
instock
preorder
preorderdate
deliverydate
availability {
instore
}
}
iteminfo {
flags {
label
value
}
additionalimages {
label
value
}
additionalinfo {
label
value
}
}
state {
starttime
}
skuinfo {
color {
name
}
size1 {
name
}
style {
name
}
}
}
}
}
}
relatedproducts {
identifier
image
type
name
...Properties
# properties {
# buyinfo {
# pricing {
# currencycode
# prices {
# type
# ismin
# ismax
# label
# value
# }
# }
# inventorystatus
# instock
# preorder
# preorderdate
# deliverydate
# availability {
# instore
# }
# }
# iteminfo {
# categoryids {
# label
# value
# }
# flags {
# label
# value
# }
# videos {
# label
# value
# }
# additionalimages {
# label
# value
# }
# isgroupproduct
# }
# reviewrating {
# reviewcount
# recommendedcount
# reviews {
# count
# value
# }
# rating
# ratingrange
# }
# skuinfo {
# color {
# image
# name
# }
# size1 {
# name
# }
# style {
# name
# }
# }
# state {
# starttime
# additionalinfo {
# label
# value
# }
# }
# }
children {
skus {
identifier
image
type
name
properties {
buyinfo {
pricing {
currencycode
prices {
type
ismin
ismax
label
value
}
}
inventorystatus
instock
preorder
preorderdate
deliverydate
availability {
instore
}
}
iteminfo {
flags {
label
value
}
additionalimages {
label
value
}
additionalinfo {
label
value
}
}
state {
starttime
}
skuinfo {
color {
name
}
size1 {
name
}
style {
name
}
}
}
}
products {
identifier
image
type
name
...Properties
children {
skus {
identifier
image
type
name
properties {
buyinfo {
pricing {
currencycode
prices {
type
ismin
ismax
label
value
}
}
inventorystatus
instock
preorder
preorderdate
deliverydate
availability {
instore
}
}
iteminfo {
flags {
label
value
}
additionalimages {
label
value
}
additionalinfo {
label
value
}
}
state {
starttime
}
skuinfo {
color {
name
}
size1 {
name
}
style {
name
}
}
}
}
}
}
}
}
recommentedproducts {
identifier
image
type
name
...Properties
# properties {
# buyinfo {
# pricing {
# currencycode
# prices {
# type
# ismin
# ismax
# label
# value
# }
# }
# inventorystatus
# instock
# preorder
# preorderdate
# deliverydate
# availability {
# instore
# }
# }
# iteminfo {
# categoryids {
# label
# value
# }
# flags {
# label
# value
# }
# videos {
# label
# value
# }
# additionalimages {
# label
# value
# }
# isgroupproduct
# }
# reviewrating {
# reviewcount
# recommendedcount
# reviews {
# count
# value
# }
# rating
# ratingrange
# }
# skuinfo {
# color {
# image
# name
# }
# size1 {
# name
# }
# style {
# name
# }
# }
# state {
# starttime
# additionalinfo {
# label
# value
# }
# }
# }
children {
skus {
identifier
image
type
name
properties {
buyinfo {
pricing {
currencycode
prices {
type
ismin
ismax
label
value
}
}
inventorystatus
instock
preorder
preorderdate
deliverydate
availability {
instore
}
}
iteminfo {
flags {
label
value
}
additionalimages {
label
value
}
additionalinfo {
label
value
}
}
state {
starttime
}
skuinfo {
color {
name
}
size1 {
name
}
style {
name
}
}
}
}
products {
identifier
image
type
name
...Properties
children {
skus {
identifier
image
type
name
properties {
buyinfo {
pricing {
currencycode
prices {
type
ismin
ismax
label
value
}
}
inventorystatus
instock
preorder
preorderdate
deliverydate
availability {
instore
}
}
iteminfo {
flags {
label
value
}
additionalimages {
label
value
}
additionalinfo {
label
value
}
}
state {
starttime
}
skuinfo {
color {
name
}
size1 {
name
}
style {
name
}
}
}
}
}
}
}
}
}
}
# array
additional {
label
value
}
categoryIds {
label
value
}
}
}