Which REST API to use to update the Product tax code and "Continue Selling when out of stock" field?

Dewa
Shopify Partner
3 0 4

Hi There 

 

Which REST API to use to update the Product tax code and "Continue Selling when out of stock" field? I looked at the product documentation but I can't find any information on this fields. 

When pushing an update via REST API those two field is getting set back to default "Blank" and False. 

 

 

taxcode.jpg

0 Likes
L_J_K
Shopify Staff
Shopify Staff
137 15 23

Hey @Dewa 

Both of those should be able to be set at the Product variant level - please take a look here for tax code.

You'd be able to set Continue Selling Whilst Out Of Stock (Inventory Policy) to Deny or Continue as indicated here

The product (with or without variants) would be assigned a variant ID which can be used for the call. Hope that helps!

 

| API Support @ Shopify |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
0 Likes