---
title: "Update Stock by Product and Location"
method: PUT
path: "/products_locations"
tags: ["Products Locations"]
---

# Update Stock by Product and Location

`PUT /products_locations`

## Request body

- ProductsLocations
  - `location_id` integer, required
  - `product_id` integer, required
  - `variant_id` integer
  - `stock_unlimited` boolean, required
  - `stock` integer, required

## Response `200`

Products locations updated successfully

## Other responses

- `400` — Bad request, check your parameters
- `500` — Error while updating stock error

---

[API](https://skmtc.net/jumpseller/apis/jumpseller-api.md) · [All operations](https://skmtc.net/jumpseller/apis/jumpseller-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/jumpseller/jumpseller-api/revisions/d63f37bfbe02/schema)
