Covers all questions related to inventory management, order fulfillment, and shipping.
Hello,
I want to update the available quantity of the products, but I only have the SKU.
I've tried to obtain the product ID by making a request to this endpoint:
/admin/api/2024-01/products.json?sku=110021039
but it returns all the products from my store in the response.
You can query products by sku using graphql:
https://shopify.dev/docs/api/admin-graphql/2023-10/objects/product#queries