Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Updating Inventory Policy from API

Updating Inventory Policy from API

joe93
Shopify Partner
2 0 1

We are trying to update the "Inventory Policy" field from the API, everything gets set correctly but after a while the field "Inventory Management" gets nulled and this makes the inventory policy and stock disappear from the UI, and if we send the data again everything is correct then it gets nulled again.

Replies 3 (3)

SBD_
Shopify Staff
1831 273 423

Hey @joe93 

 

How soon after does it get cleared? Could there be another app overwriting your changes?

Scott | Developer Advocate @ Shopify 

joe93
Shopify Partner
2 0 1

We don't have any other app overwriting the products and it gets cleared after 1 hr 

 

SBD_
Shopify Staff
1831 273 423

Can you please provide the request ID from the last update you run (before it's overwritten). This can be found in the response headers.

Scott | Developer Advocate @ Shopify