Using the Inventory API

Step 1 - Query product variants (
Get Inventory Variants endpoint)

Copy

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

Copy

Step 2 - Update a specific variant of a product (
Update Inventory Status endpoint)

Update whether the product inventory is tracked:

Copy

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

Copy

For tracked products, you should update quantity:

Copy
Did this help?