1
0

search.graphql 589 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. query {
  2. search(input: {
  3. take: 20
  4. groupByProduct: true
  5. }) {
  6. items {
  7. productId
  8. productVariantId
  9. productName
  10. productVariantName
  11. productAsset {
  12. preview
  13. }
  14. productVariantAsset {
  15. preview
  16. }
  17. price {
  18. ... on PriceRange {
  19. min
  20. max
  21. }
  22. ... on SinglePrice {
  23. value
  24. }
  25. }
  26. score
  27. }
  28. totalItems
  29. facetValues {
  30. count
  31. facetValue {
  32. id
  33. name
  34. facet {
  35. id
  36. name
  37. }
  38. }
  39. }
  40. }
  41. }