-
Notifications
You must be signed in to change notification settings - Fork 22
/
productsQuery.gql
79 lines (79 loc) · 1.37 KB
/
productsQuery.gql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
query Products(
$category: String
$collection: String
$specificationFilters: [String]
$orderBy: String
$from: Int
$to: Int
$hideUnavailableItems: Boolean = false
) {
products(
category: $category
collection: $collection
specificationFilters: $specificationFilters
orderBy: $orderBy
from: $from
to: $to
hideUnavailableItems: $hideUnavailableItems
) @context(provider: "vtex.search-graphql") {
cacheId
productId
productName
productReference
description
link
linkText
brand
brandId
specificationGroups {
name
specifications {
name
values
}
}
items {
name
itemId
measurementUnit
unitMultiplier
referenceId {
Value
}
images {
imageUrl
imageTag
imageLabel
}
sellers {
sellerId
commertialOffer {
Installments(criteria: MAX) {
Value
InterestRate
TotalValuePlusInterestRate
NumberOfInstallments
Name
}
AvailableQuantity
Price
ListPrice
teasers {
name
}
discountHighlights {
name
}
}
}
}
productClusters {
id
name
}
properties {
name
values
}
}
}