Tightly Movements API
The movements API from Tightly — 1 operation(s) for movements.
The movements API from Tightly — 1 operation(s) for movements.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/tightly-io:tightly-io-movements-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
description: 'The public Tightly API. Authenticate with an API key as a bearer token; the key carries the organisation, so no X-Organization-ID header is sent. Every operation below states the scopes a key needs.
Every response carries two headers, whatever it answers: `X-Request-Id`, the handle on that one call, and `X-Tightly-Region`, the home that served it.
Every write accepts an optional `Idempotency-Key` request header, any string up to 255 characters. Send the same key twice and the second request is answered with the first one''s status and body instead of writing again, so a client that retried after a timeout ends holding the record''s id rather than creating a second one. Reusing a key with a different body, or while the first request is still running, is refused `409`. A write that failed releases its key. Keys answer for 24 hours and belong to the API key that used them.
Any operation can answer `503`, and it is about Tightly rather than about the request: a database briefly out of reach, which is what a failover or a full connection pool looks like from outside, or an idempotency store that could not answer. `message.desc` says which, and most carry a `Retry-After` header naming the seconds to wait. Where the sentence says nothing was written, the same request is safe to send again. Otherwise a read is safe to repeat and a write is not certain either way, because the connection was lost in the middle of it: read the object back before sending it a second time. An `Idempotency-Key` does not settle that one, and deliberately: a write that raised releases its key so the retry is a fresh attempt rather than a refusal for the next day. Branch on the status rather than on `code`, which is `POSTGRES_UNAVAILABLE` or `SERVICE_UNAVAILABLE` depending on which seam refused.'
title: Tightly Movements API
version: 2026-11
servers:
- url: https://api.app.tightly.io
security:
- ApiKey: []
tags:
- name: movements
paths:
/api/v1/inventory/movements:
get:
description: 'Every plus and minus of stock, newest first, each naming the document that caused it: a receipt, a count, a fulfilment, a return, an adjustment, a transfer leg, the opening the ledger started from, or a correction the nightly sweep booked against a source that disagreed.
With no filter the page is the organisation''s latest movements across every product and warehouse. Name a product and a warehouse, a document (`document_type` with `document_id`), a kind or a window to narrow it; every filter narrows the ledger itself, so `filtered_max_size` counts the matching rows.
Sums are the point. The rows for one product at one warehouse sum to that pair''s on hand, which is what `get_position` serves as one figure. `evidence` rides a `sync_correction` alone, where it carries the source''s snapshot, the ledger''s sum and how many nights running they disagreed.
Nothing writes here, ever. A movement is written by the document that moved the stock; correcting one is a reversing movement against it, not an edit.
Scope: `movements:read`.'
operationId: list_movements
parameters:
- description: The product.
in: query
name: variant_id
required: false
schema:
examples:
- fx-v-mar-top-m
type: string
- description: The warehouse.
in: query
name: location_id
required: false
schema:
examples:
- loc-lb
type: string
- description: 'One of ledger_opening, purchase_order_delivery, transfer_order_delivery, stocktake, fulfilment_request, channel_fulfilment, return, approval_request, etl_run, manufacturing_build, quarantine_disposition, transfer_custody, outbound_custody.
'
in: query
name: document_type
required: false
schema:
examples:
- purchase_order_delivery
type: string
- description: The document's own id, as text. Sent with `document_type`.
in: query
name: document_id
required: false
schema:
examples:
- '8841'
type: string
- description: 'Comma-separated movement kinds to filter to: opening, receipt, fulfilment, return, adjustment, transfer_out, transfer_in, stocktake, sync_correction.
'
in: query
name: kind
required: false
schema:
examples:
- receipt,return
type: string
- description: Only movements that occurred at or after this instant.
in: query
name: since
required: false
schema:
format: date-time
type: string
- description: Only movements that occurred at or before this instant.
in: query
name: until
required: false
schema:
format: date-time
type: string
- description: How many movements to skip, for paging through a long ledger.
in: query
name: offset
required: false
schema:
default: 0
type: integer
- description: How many movements to return, newest first.
in: query
name: limit
required: false
schema:
default: 100
maximum: 10000
type: integer
- $ref: '#/components/parameters/TightlyVersion'
responses:
'200':
content:
application/json:
example:
data:
filtered_max_size: 13
max_size: 13
offset: 0
rows:
- actor: null
document:
id: '31'
name: RET-00000031
type: return
document_line_id: '54'
evidence: null
id: 9013
kind: return
landed_unit_cost:
cents: null
currency: null
reason: Not measured
usd: null
location_id: loc-lb
location_name: Long Beach
occurred_at: '2026-09-05T02:14:00+00:00'
product_title: Marina Top
quantity_delta: 2
recorded_at: '2026-09-05T02:14:03+00:00'
reverses_movement_id: null
sequence: 1
sku: MAR-TOP-M
source_system: shopify
unit_cost:
cents: 1200
currency: USD
reason: null
usd: 12.0
variant_id: fx-v-mar-top-m
variant_title: M
size: 1
message:
desc: ''
service: inventory
severity: INFO
schema:
properties:
data:
properties:
filtered_max_size:
type: integer
max_size:
type: integer
offset:
type: integer
rows:
items:
type: object
type: array
size:
type: integer
type: object
message:
description: severity, service and desc.
type: object
type: object
description: A page of the ledger, newest first.
headers:
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
X-Request-Id:
$ref: '#/components/headers/X-Request-Id'
X-Tightly-Region:
$ref: '#/components/headers/X-Tightly-Region'
'400':
content:
application/json:
example:
message:
desc: 'kind[0]: One or more of the choices you made was not in: opening, receipt, fulfilment, return, adjustment, transfer_out, transfer_in, stocktake, sync_correction.'
service: UNKNOWN
severity: ERROR
description: 'A kind, document type, instant (`since`, `until`) or page bound could not be read.
'
headers:
X-Request-Id:
$ref: '#/components/headers/X-Request-Id'
X-Tightly-Region:
$ref: '#/components/headers/X-Tightly-Region'
'401':
content:
application/json:
example:
code: key_invalid
message:
code: key_invalid
desc: The API key is not valid.
doc_url: https://app.tightly.io/docs/api/guides/errors#key_invalid
request_id: req_8f3c1d0a6b2e4a519c772e0a4b6d1f83
service: UNKNOWN
severity: ERROR
description: 'No usable key: malformed, unknown, revoked, expired or stopped.
'
headers:
X-Request-Id:
$ref: '#/components/headers/X-Request-Id'
X-Tightly-Region:
$ref: '#/components/headers/X-Tightly-Region'
'403':
content:
application/json:
example:
code: scope_missing
message:
code: scope_missing
desc: This key cannot read Movements.
doc_url: https://app.tightly.io/docs/api/guides/errors#scope_missing
request_id: req_6d2b7e1490af4c338b0e51d9c7a2e4b6
service: UNKNOWN
severity: ERROR
description: The key does not hold Movements (`scope_missing`).
headers:
X-Request-Id:
$ref: '#/components/headers/X-Request-Id'
X-Tightly-Region:
$ref: '#/components/headers/X-Tightly-Region'
'429':
$ref: '#/components/responses/RateLimited'
'503':
$ref: '#/components/responses/DatabaseUnavailable'
security:
- ApiKey: []
summary: The stock ledger, newest first
tags:
- movements
x-tightly-scopes:
- movements:read
components:
responses:
DatabaseUnavailable:
content:
application/json:
example:
code: POSTGRES_UNAVAILABLE
message:
code: postgres_unavailable
desc: The database is unavailable right now. Try again in a few seconds.
doc_url: https://app.tightly.io/docs/api/guides/errors#postgres_unavailable
request_id: req_2e7b41c0d9384fa6b15c8073ea92d1f4
service: UNKNOWN
severity: ERROR
schema:
properties:
code:
description: The same stable code as message.code, at the envelope's top level.
type: string
message:
description: severity, service, desc, and on a keyed refusal code, doc_url and request_id.
type: object
type: object
description: The database is briefly out of reach, which is what a failover or a full connection pool looks like from outside. Wait the seconds `Retry-After` names and send the request again. A read is safe to repeat. A write is not, because the connection was lost in the middle of it, so read the object back before sending it a second time. Branch on the status rather than on `code`, which is `POSTGRES_UNAVAILABLE` from one of the two seams that raise this and `SERVICE_UNAVAILABLE` from the other.
headers:
Retry-After:
$ref: '#/components/headers/Retry-After'
X-Request-Id:
$ref: '#/components/headers/X-Request-Id'
X-Tightly-Region:
$ref: '#/components/headers/X-Tightly-Region'
RateLimited:
content:
application/json:
example:
code: rate_limited
message:
code: rate_limited
desc: This key has reached its limit of 600 reads a minute; try again in 12 seconds.
doc_url: https://app.tightly.io/docs/api/guides/errors#rate_limited
request_id: req_5c1a9f47b0e34d8f9a2c6e10b3d4f785
service: UNKNOWN
severity: ERROR
schema:
properties:
code:
description: The same stable code as message.code, at the envelope's top level.
type: string
message:
description: severity, service, desc, and on a keyed refusal code, doc_url and request_id.
type: object
type: object
description: The key has spent its allowance for this minute. 600 reads and 120 writes a minute, counted per key, refused calls included. `Retry-After` says how long to wait.
headers:
Retry-After:
$ref: '#/components/headers/Retry-After'
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
X-Request-Id:
$ref: '#/components/headers/X-Request-Id'
X-Tightly-Region:
$ref: '#/components/headers/X-Tightly-Region'
headers:
X-RateLimit-Reset:
description: Unix seconds. The moment the allowance is whole again.
schema:
examples:
- 1793491260
type: integer
X-Tightly-Region:
description: The home that served the call. `us` for every organisation today.
schema:
examples:
- us
type: string
Retry-After:
description: Seconds to wait before sending the request again.
schema:
examples:
- 12
type: integer
X-Request-Id:
description: The handle on this one call. Quote it in a support conversation, or find the call by it in the key's Usage.
schema:
examples:
- req_8f3c1d0a6b2e4a519c772e0a4b6d1f83
type: string
X-RateLimit-Limit:
description: The ceiling on the allowance this call spent, per key, per minute. Reads and writes are counted apart, so the number moves with the verb.
schema:
examples:
- 600
type: integer
X-RateLimit-Remaining:
description: What is left of that allowance, this call included. Never below zero.
schema:
examples:
- 597
type: integer
parameters:
TightlyVersion:
description: The date train to answer on. One train exists today, `2026-11`, the one this reference describes and the one every key is minted on, so the call answers on it with or without this header. Send it anyway, so a client built now names its train from the start.
in: header
name: Tightly-Version
required: false
schema:
examples:
- 2026-11
type: string
securitySchemes:
ApiKey:
description: 'An API key from Settings > Developer > API keys, sent as `Authorization: Bearer tly_live_...`. The key carries the organisation.'
scheme: bearer
type: http