Stock
Get all stock movements
GET
Get all stock movements
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Headers
Tenant identifier. Send the Tenant ID in the X-Tenant header to scope API requests to a specific tenant.
Query Parameters
The search query.
Maximum string length:
255Filter by product ID.
Required range:
x >= 1Filter by warehouse ID.
Required range:
x >= 1Filter by stock movement type.
Available options:
purchase, sale, sale_return, transfer, adjustment, count, usage, usage_return, initial_stock, waste Filter by direction (in or out).
Available options:
in, out Filter records from this date (inclusive, YYYY-MM-DD).
Filter records up to this date (inclusive, YYYY-MM-DD).
The number of items per page.
Required range:
1 <= x <= 100The page number.
Required range:
x >= 1The field to sort by.
Available options:
effective_at, quantity, type, direction, created_at The sort direction (asc or desc).
Available options:
asc, desc