cancel
Showing results for 
Search instead for 
Did you mean: 

GraphQL products query not returning all products

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

GraphQL products query not returning all products

Hello all,

I am currently trying to fetch all my products information using the products query of GraphQL. However, the response only brings few results, and not everything I have added (I have 3 products, and only 1 is being returned).

 

Here is my request:

{
products(filter: {sku: {like: "%%"}}) {
total_count
items {
name
description
short_description
sku
__typename
categories {
name
}
websites {
name
}
price {
regularPrice {
amount {
value
currency
}
}
}

}
page_info {
page_size
current_page
}
}
}

 

Any idea on how to solve this? Should I use a different filter?

 

Thanks!

 

Carla Bernardino