App reviews, troubleshooting, and recommendations
I want to update product data like tags, price, etc from a csv input. The process works fine is i use the product id instead of its SKU, but i need to update the data using SKU, I am unable to find a suitable end point or the URL to perform the task, all the search result leads to this url "https://store..myshopify.com/search?type=product&q=variants.sku:XYZ00" but this not working. Anyone?
Hi @krish115
You can use GraphQL queries to search using SKU or the BARCODE. Below is the sample query.
{
products(first: 5, query: "sku:abc123") {
edges {
node {
title
variants(first: 10) {
edges {
node {
barcode
}
}
}
}
}
}
}
Hope this will help...
This is working but it has limit of 250 products only, can I fetch more than 250 products? like all products in my store.
Yes, for security and performance reason their is a limit of max 250 records, to get data beyond to that you have to use pagination.
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025