Cannot set "track quantity" to false

Solved
Highlighted
New Member
2 1 0

I am using the Python Shopify API, and I am trying to set the "Track quantity" field to false, but I have tried the following, and it does not work:

 

 
variant = shopify.Variant()
variant.inventory_management = "shopify"
variant.fulfillment_service = "manual"

It is still showing as follows in Shopify:

Screen Shot 2020-05-22 at 12.16.28 PM.png

0 Likes
Highlighted

Success.

New Member
2 1 0

This will work:

 

variant = shopify.Variant()
variant.inventory_management = None
variant.fulfillment_service = "manual"

 

0 Likes