---
title: "Stock by Product and Location"
method: GET
path: "/products_locations.json"
tags: ["Products Locations"]
---

# Stock by Product and Location

`GET /products_locations.json`

## Request

- Base URL: `https://api.jumpseller.com/v1`
- URL: `https://api.jumpseller.com/v1/products_locations.json`
- Auth: one of:
  - HTTP basic
  - API key in query parameter `login` and API key in query parameter `authtoken`
  - OAuth 2
    - Authorization code: `https://accounts.jumpseller.com/oauth/authorize`
    - Token URL: `https://accounts.jumpseller.com/oauth/token` scopes: `read_products`

## Query parameters

- `location_ids` integer[], required
- `product_ids` integer[], required
- `variant_ids` integer[]

## Response `200`

Array of products locations

- ProductsLocationsWithoutStockUnlimited[]
  - `location_id` integer
  - `product_id` integer
  - `variant_id` integer, nullable
  - `stock` integer

## Other responses

- `400`: location_ids or product_ids missing.
- `404`: Stock location combinations not found.

## Changes

- **2026-10-15** `53dc9f2c1329`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/jumpseller/apis/jumpseller-api/changes/products_locations.json/get.md)

---

[API](https://skmtc.dev/jumpseller/apis/jumpseller-api.md) - [All operations](https://skmtc.dev/jumpseller/apis/jumpseller-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jumpseller/apis/jumpseller-api/revisions/09f991a20d74?raw)
