Inventory Manager API · items
A SKU's stock levels
GET /items/{sku}/stock
A SKU's stock levels, how many on hand: every quantity bucket as of now, in one read — onHand; reserved (held for sales orders); available (onHand − reserved, what a new order can be promised); damaged; awaitingIdentification (tracked units that have arrived but have not been named, deliberately outside available); incoming (open purchase-order expectations, registered when a PO is authorised); backordered (accepted sales demand this SKU cannot cover, reported by fulfillment at allocation); and projected — available + incoming − backordered, which goes negative when the orders already taken exceed everything on hand and on its way.
That negative number is the reorder signal, and the reason all of these live in one shape rather than across three services. Expiry-aware shelf views live with the registry fold (see /shelf/:sku).
Access
Requires stock:read or products:read or receiving:read or purchasing:read or allocations:read.
Any one of these scopes is enough.
How scopes come from roles: Scopes and roles. Getting a token: Authentication and app tokens.
AI agent tool
Agents call this as inventory_get_stock (Inventory: Get stock), in the stock toolset. It only reads.
Connecting an agent: AI agents.
Example
curl -X GET 'https://inventory.getmanifold.io/items/WIDGET-BLUE/stock' \
-H "Authorization: Bearer $MANIFOLD_TOKEN"const response = await fetch("https://inventory.getmanifold.io/items/WIDGET-BLUE/stock", {
method: "GET",
headers: { Authorization: `Bearer ${process.env.MANIFOLD_TOKEN}` },
});
if (!response.ok) throw new Error(`${response.status}: ${await response.text()}`);
const answer = await response.json();{
"sku": "WIDGET-BLUE",
"onHand": 158,
"reserved": 10,
"available": 148,
"damaged": 2,
"awaitingIdentification": 0,
"inTransit": 6,
"incoming": 24,
"backordered": 0,
"projected": 178,
"byLocation": [
{
"locationId": "loc_019cadd3-8330-7e12-aa44-2cd5f05da74a",
"fulfillable": true,
"onHand": 140,
"reserved": 10,
"available": 130,
"damaged": 2,
"awaitingIdentification": 0,
"inTransit": 0,
"incoming": 24
},
{
"locationId": "loc_019cd06e-3b38-7e92-b496-c92f8184a3aa",
"fulfillable": true,
"onHand": 18,
"reserved": 0,
"available": 18,
"damaged": 0,
"awaitingIdentification": 0,
"inTransit": 6,
"incoming": 0
}
],
"asOf": "2026-10-22T05:30:01.000Z"
}The panel writes this call in other languages. It does not send it: Manifold's APIs do not take calls from a web
page on another site, so run the call from your own code or terminal. The whole API as OpenAPI: inventory-manager.openapi.json. Base URL https://inventory.getmanifold.io.
Errors
Every refusal is a status and a JSON body whose _tag names it. A refused call changes nothing.
401
| Refusal | What it means | What to do |
|---|---|---|
Unauthorized reason | The token is missing, expired or not one Manifold issued. | Get a fresh token and send the call again. |
TokenAlreadyUsed tokenId | A single-use app token was already spent. | Mint a new token for this call. |
402
| Refusal | What it means | What to do |
|---|---|---|
SubscriptionRequired status | The organization's subscription has lapsed, so writes are refused. | An owner settles billing. Reads still work meanwhile. |
403
| Refusal | What it means | What to do |
|---|---|---|
TenantRequired userId | The token names no organization. | Choose the organization, then get a new token. |
ScopeRequired required | The token's roles do not grant the scope this call needs. | Ask an owner or admin for a role that grants it. |
404
| Refusal | What it means | What to do |
|---|---|---|
ItemNotFound sku | No such record in this organization. | Check the id in the path or the body. |
LocationNotFound locationId | No such record in this organization. | Check the id in the path or the body. |
409
| Refusal | What it means | What to do |
|---|---|---|
LocationArchived locationId | The location is archived, and an archived location takes no changes or stock. | Use an active location. |
MirroredFromSource source | This area is fed by your source system until the organization goes live. | Make the change in the source system, or go live first. |
503
| Refusal | What it means | What to do |
|---|---|---|
RequestLogUnavailable tokenId, reason | The service could not record the request, so it did nothing. | Try again shortly. |
How refusals work everywhere: Errors.
Used in
- Ordering stock in, and counting it when it lands, step 3: See it held out of the pool
- Ordering stock in, and counting it when it lands, step 7: Read the whole picture
- Ordering stock in, and counting it when it lands, step 10: The incoming draws down as the goods land
- Running more than one location, step 6: Watch them disappear from both sides
- Running more than one location, step 8: The flag does its work
- Selling stock you do not have yet, step 4: See the demand land on the SKU
- Selling stock you do not have yet, step 10: The demand goes with it
- What happens when you get it wrong, or send it twice, step 5: Ten, not twenty