mirror of
https://github.com/vercel/commerce.git
synced 2025-05-17 15:06:59 +00:00
55 lines
1.0 KiB
GraphQL
55 lines
1.0 KiB
GraphQL
query GetCollectionProductsBySlug($slug: String!) {
|
|
collection(channel: "default-channel", slug: $slug) {
|
|
products(first: 100) {
|
|
edges {
|
|
node {
|
|
id
|
|
slug
|
|
name
|
|
isAvailableForPurchase
|
|
description
|
|
seoTitle
|
|
seoDescription
|
|
pricing {
|
|
priceRange {
|
|
start {
|
|
gross {
|
|
currency
|
|
amount
|
|
}
|
|
}
|
|
stop {
|
|
gross {
|
|
currency
|
|
amount
|
|
}
|
|
}
|
|
}
|
|
}
|
|
media {
|
|
url(size: 2160)
|
|
type
|
|
alt
|
|
}
|
|
collections {
|
|
name
|
|
}
|
|
updatedAt
|
|
variants {
|
|
id
|
|
name
|
|
pricing {
|
|
price {
|
|
gross {
|
|
currency
|
|
amount
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|