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
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024