Using the Inventory API

Step 1 - Call
Get Inventory Variants to retrieve product variants

Copy

From the result, you can see whether inventory is being tracked for this product:

Copy

Step 2 - Call
Update Inventory Status to update specific variant of a product

Update whether the product inventory is tracked:

Copy

For a non-tracked product, you should update the inStock value:

Copy

For tracked products, you should update quantity:

Copy
Did this help?