https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/inventorySetQuantities I followed this example to adjust the variant’s inventory, but why does the response parameter say “The specified location could not be found”? The locationId value I passed seems to be correct, what’s the reason? Is it because the location was created using the Rest API?
Topic summary
Issue: After using Shopify Admin GraphQL (2024-10) mutation inventorySetQuantities to adjust a variant’s inventory, the API responds with “The specified location could not be found.”
Details: The poster believes the locationId provided is correct and asks whether the error could stem from the location having been created via the REST API. They reference the official mutation documentation and are seeking the underlying cause of the location lookup failure.
Context/Terms: inventorySetQuantities sets inventory quantities for an inventory item at specific locations. locationId refers to the GraphQL global ID for a Location.
Status: No troubleshooting steps, example IDs, or permission checks are included; no replies or resolution yet. The key open question is whether a location created through REST affects its usability or identification in the GraphQL mutation.