Upcoming change to ProductVariants default parameters

New Member
11 0 0

Sorry, I thought that's what you were telling me to do.  I'll try the product variant instead.

0 Likes
New Member
11 0 0

holy cow that worked.. THANKS!!!!

0 Likes
New Member
8 0 0

 Ryan, please help with request to update product quantity, can't find it on documentation.

Before changes I have used request:

payload = {
                    "variant": {
                    "id":''' + str(promotion_inventory_id) + ''',
                    "inventory_policy":'''+'"'+inventory_policy+'"'+''', 
                    "inventory_management": "shopify",
                    "inventory_quantity":'''+ str(n) + '''
                          }
              }
        response = request.put(
            'https://' + shopify_store + '.myshopify.com/admin/variants/' + str(promotion_inventory_id) + ".json", json=payload)

 

 

 

 

0 Likes
Shopify Partner
2 0 0

HI Ryan,

We have a fulfillment app that was working fine until the past few days, however now it won't return fulfillment tracking numbers and PDF labels to our app in Shopify stores.  I'm not sure if this has anything to do with the inventory_management change defaulting to 'shopify' now?  I think previously we had it as 'Manual'.  Would this matter and should we change it to shopify to have fulfillment data get returned correctly to the app and shopify stores?

Thank you.

Steve

0 Likes