Changing inventory quantity for all variants of product

Changing inventory quantity for all variants of product

damianv
Visitor
2 0 0

Hi,
I work with ADMIN REST API, I add several products with many variants. At the moment, in order to set the same amount for each product, I have to make 3 queries separately for each variant. Update the variant (set fulfillment_service: "manual" and inventory_management: "shopify"), download "inventory_levels" and set invetory_levels for the given "location_id" with the appropriate number of items of the product.

My question is, can I set the number of available products for each variant in a simpler and faster way?

Replies 0 (0)