---
title: "Updated inventory of many variations"
method: POST
path: "/shops/{SHOP_ID}/variations/update_quantity"
tags: ["Product"]
---

# Updated inventory of many variations

`POST /shops/{SHOP_ID}/variations/update_quantity`

Update inventory quantity for multiple variations

## Path parameters

- `SHOP_ID` integer, required

## Request body

- object
  - `is_actual_remain_quantity` boolean — true: Update inventory, false: Update sellable quantity
  - `variations_warehouses` object[], required — Variations warehouses information
    - `variation_id` string, required — Variation ID
    - `remain_quantity` integer, required — Remain quantity
    - `warehouse_id` string, required — Warehouse ID

## Response `200`

Success

- object
  - `success` boolean — Success status

---

[API](https://skmtc.dev/pancake/apis/pancake-pos-open-api.md) · [All operations](https://skmtc.dev/pancake/apis/pancake-pos-open-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pancake/pancake-pos-open-api/revisions/acb70aa4b3f5/schema)
