Core GraphQL APIReferenceQueries
Inventory__stock Movements
Requires a signed-in staff user. Needs the `inventory__Stock` `read` permission. Send the `x-tenant` header (the gateway sets it from your API key).
QUERY
inventory__stockMovements(where: CommonPaginationDto): InventoryMovementsWithPagination!Requires a signed-in staff user. Needs the inventory__Stock read permission. Send the x-tenant header (the gateway sets it from your API key).
Arguments
where?Returns
- inventory__stockMovements
meta?nodes?Example Request
query Inventory__stockMovements { inventory__stockMovements { meta { currentPage hasNextPage totalCount totalPages } nodes { _id afterOnHand afterReserved beforeOnHand beforeReserved createdAt createdBy note } }}{ "data": { "inventory__stockMovements": { "meta": { "currentPage": 10.5, "hasNextPage": true, "totalCount": 10.5, "totalPages": 10.5 }, "nodes": [ { "_id": "1", "afterOnHand": 10, "afterReserved": 10, "beforeOnHand": 10, "beforeReserved": 10, "createdAt": "<DateTime>", "createdBy": "string", "note": "string" } ] } }}Inventory__stock Items QUERY
Requires a signed-in staff user. Needs the `inventory__Stock` `read` permission. Send the `x-tenant` header (the gateway sets it from your API key).
Inventory__technical Specification Template QUERY
A single technical specification template for the current tenant. Requires a signed-in staff user. Needs the `inventory__Product` `read` permission. Send the `x-tenant` header (the gateway sets it from your API key).