Focusing on managing products, variants, and collections through the API.
Hello! So I'm trying to publish a Shopify App to integrate with my company application, which its only feature basicaly is creating products to the user's store (using the Shopify REST API, passing the product's title, body_html, variants, etc). Recently, during the app review, the reviewer told me that I should also add the cost and the location of that product (as shown here in this screencast. But I can't find how to add it with the request, according to the official documentation. Is there any property that I can pass to add a product with a cost and location?
My application is using Ruby and the shopify_api gem (version 9.5) to simplify the requests.
Thank you,
Victor
Solved! Go to the solution
This is an accepted solution.
Hey @Rotciv
This can be achieved with the GraphQL API. See the inventoryItem field.
Scott | Developer Advocate @ Shopify
This is an accepted solution.
Hey @Rotciv
This can be achieved with the GraphQL API. See the inventoryItem field.
Scott | Developer Advocate @ Shopify