Using the Inventory API

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

Copy
1

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

Copy
1

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

Update whether the product inventory is tracked:

Copy
1

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

Copy
1

For tracked products, you should update quantity:

Copy
1
Was this helpful?
Yes
No