Hello, Shopify Community,
We are facing an issue with the Shopify API where a specific product does not appear in the general /products.json
API call or when searching by SKU, but it does appear when queried by handle.
Issue Details
- The product has ID:
44749896810652
and handle:"sweater-dollman"
. - When making a generic API call to
/products.json
, this product does not appear in the response. - When searching by SKU (
/variants.json?sku=LS157GKS2
), the API does not return the variant. - However, when querying by handle (
/products.json?handle=sweater-dollman
), the product appears correctly, including all its variants.
Steps We Have Taken
- Verified that the product is active and properly set up in Shopify.
- Edited the product manually in Shopify to force reindexing.
- Compared with other similar products that do appear in the generic API call, and there are no visible differences.
Question
Why does this product not appear in the general /products.json
API call or when searching by SKU, but it does when using the handle?
Is there a known issue with product indexing in Shopify’s API, or is there something specific that needs to be checked?
Any help would be greatly appreciated!
Thanks in advance.