App reviews, troubleshooting, and recommendations
Hi,
We have made an app so we can use the API to update stock from our System.
We are getting the data we need and we are getting the following in the logs:
Successfully updated Product ID: 9236490092809, Variant ID: 48276516176137 to quantity: 6
Response from Shopify: {'variant': {'id': 48276516176137, 'product_id': 9236490092809, 'title': 'Default Title', 'price': '25.00', 'position': 1, 'inventory_policy': 'deny', 'compare_at_price': '25.00', 'option1': 'Default Title', 'option2': None, 'option3': None, 'created_at': '2024-08-13T17:35:13+01:00', 'updated_at': '2024-10-02T10:11:41+01:00', 'taxable': True, 'barcode': '9359082762438', 'fulfillment_service': 'manual', 'grams': 250, 'inventory_management': 'shopify', 'requires_shipping': True, 'sku': '000MHE-9741', 'weight': 0.5512, 'weight_unit': 'lb', 'inventory_item_id': 50320095904009, 'inventory_quantity': 0, 'old_inventory_quantity': 0, 'admin_graphql_api_id': 'gid://shopify/ProductVariant/48276516176137', 'image_id': None}}
Updated Inventory Quantity: 0
As you can see the quantity is not getting set to 6 like it states it is.
We are using Python and if the code is needed to test this issue let us know.
Thanks
Hardcloud
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025