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.

Re: Issue creating product variant and inventory management not staying blank

Solved

Issue creating product variant and inventory management not staying blank

tickletrunkart
New Member
7 0 0

I have an issue with an api module, for creating a product variant. I use Printify for the my fulfillment service and then I do not track inventory. So for the field "inventory management" I leave it blank, but when then api is sent to shopfiy, shopify fills the field with "shopify" for shopify to track inventory. How do I create the new variant and not have inventory tracked. I've tried "null" and it comes back saying null would have to be my fulfillment service. I am using make.com (integromat) for my api modules. Please help!

Accepted Solution (1)

garyrgilbert
Shopify Partner
433 41 191

This is an accepted solution.

Hi There,

 

excuse the question, just want to be sure... Are you sending

{

"inventory_management":"null"

}

or 

{
"inventory_management" : null
}

 

 

Cheers,

 

Gary

 

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution

View solution in original post

Replies 4 (4)

garyrgilbert
Shopify Partner
433 41 191

This is an accepted solution.

Hi There,

 

excuse the question, just want to be sure... Are you sending

{

"inventory_management":"null"

}

or 

{
"inventory_management" : null
}

 

 

Cheers,

 

Gary

 

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
tickletrunkart
New Member
7 0 0
Ya, i tried both null and "null" comes back with fulfillment needs to be
the same
tickletrunkart
New Member
7 0 0

I was inputting null incorrectly. Needed to enter a boxed null provided by make.com

filiprr
Visitor
1 0 0

Hi @tickletrunkart 

How did you manage to make it work? I put null inside the "Inventory Management" and still Shopify overrides its "shopify" value. 

 

Zrzut ekranu 2023-04-25 o 16.43.30.png