Hi!
Two times this week we noticed that the Storefront API only returned a fraction of the products in a collection for a period of time.
The first time we experienced this was May 5 for 2-3 hours until it magically went back to normal and started returning all products again.
The second time we noticed that a lot of products where missing was yesterday May 16. After chatting with support the Shopify support-line did a re-sync “on their backend” and our storefront API start working again. Both times it was the same products that were missing.
The Shopify chat support confirmed that everything looked fine in the collection, and I should write a ticket here instead.
Around 60-70% of all our products where missing in the Storefront GraphQL API
We using Graphql /api/2023-04/graphql.json
This is the query
query getRichProductsFromCollectionHandle(
$handle: String!
$productCount: Int!
) {
collection(handle: $handle) {
id
title
handle
products(first: $productCount) {
nodes{
title
}
pageInfo {
hasNextPage
hasPreviousPage
endCursor
}
}
}
}
Not being able to relay on the Storefront API is stressing me out