Stock
- GET
/stock/levelsStock levels - GET
/stock/movementsStock movement journal - POST
/stock/movementsRecord a stock movement - GET
/articles/{id}/availabilityArticle availability per warehouse
Stock levels #
/api/public/v1/quosuite/stock/levelsstock:readlistStockLevelsQuantity, average cost and value per article and per warehouse. belowMinimum=true lists stock-outs and articles to restock. Allowed sort: quantity, updatedAt (default -updatedAt).
Parameters
langstringqueryLanguage of the labels (and of the PDF). Default:
Accept-Language, otherwise the workspace language.frenarpagenumberqueryPage number (starting at 1).
pageSizenumberqueryItems per page (100 at most).
sortstringquerySort: comma-separated fields,
-prefix for descending order. Allowed fields: see the route description. A final criterion onidmakes pagination stable.updatedSincestringqueryOnly returns items created or updated since this instant (ISO 8601, inclusive). With
sort=updatedAt, this is the recommended form of an incremental sync.articleIdstring (uuid)querywarehouseIdstring (uuid)querybelowMinimumbooleanqueryOnly the rows below the article's minimum stock.
Response 200application/json
Success.
itemsStockLevelDto[]requiredStockLevelDto details
paginationPaginationDtorequiredPaginationDto details
Errors
400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR
Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.
401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED
Key missing, invalid, revoked or expired.
403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE
Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.
429API_RATE_LIMITEDAPI_AUTH_BLOCKED
Key or workspace quota reached (see Retry-After), or address blocked.
500INTERNAL_ERROR
Unexpected error. Quote requestId to support.
503SERVICE_UNAVAILABLE
Temporarily unavailable (see Retry-After). No infrastructure details.
curl 'https://quosuite.com/api/public/v1/quosuite/stock/levels' \
-H "Authorization: Bearer $QUOSUITE_API_KEY"{
"success": true,
"data": {
"items": [
{
"article": {
"id": "7407cd90-df2f-446e-8aff-6c11fe9bb9b5",
"reference": "ART-0001",
"label": "Ordinateur portable 14\"",
"unit": "U"
},
"warehouse": {
"id": "55f194cb-9384-43fa-8a66-2876212e7455",
"code": "DEP-01",
"name": "Dépôt central"
},
"quantity": 42,
"averageCost": 812.5,
"value": 34125,
"minStock": 5,
"belowMinimum": false,
"updatedAt": "2026-10-02T09:15:00.000Z"
}
],
"pagination": {
"page": 1,
"pageSize": 25,
"totalItems": 132,
"totalPages": 6,
"limit": 100,
"nextCursor": "c1.eyJzIjoiZGF0ZTpkZXNjLGlkOmFzYyIsImYiOiJ…",
"hasMore": true
}
},
"timestamp": "2026-10-02T09:15:00.000Z"
}Try this request
Stock movement journal #
/api/public/v1/quosuite/stock/movementsstock:readlistStockMovementsReceipts, issues, transfers and adjustments, with the originating document. Allowed sort: date, quantity (default -date).
Parameters
langstringqueryLanguage of the labels (and of the PDF). Default:
Accept-Language, otherwise the workspace language.frenarpagenumberqueryPage number (starting at 1).
pageSizenumberqueryItems per page (100 at most).
sortstringquerySort: comma-separated fields,
-prefix for descending order. Allowed fields: see the route description. A final criterion onidmakes pagination stable.cursorstringqueryCursor pagination:
nextCursorof the previous page, to be passed back as is with the same filters and the same sort. Stable even if items are created during the walk, and constant cost whatever the depth. Mutually exclusive withpage.limitnumberqueryCursor pagination: items per page (100 at most).
?limit=100starts a cursor walk; the response returnspagination.nextCursor.articleIdstring (uuid)querywarehouseIdstring (uuid)querydocumentIdstring (uuid)queryMovements of a document.
typestring[]queryTypes, comma-separated.
dateFromstringquerydateTostringquery
Response 200application/json
Success.
itemsStockMovementDto[]requiredStockMovementDto details
paginationPaginationDtorequiredPaginationDto details
Errors
400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR
Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.
401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED
Key missing, invalid, revoked or expired.
403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE
Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.
429API_RATE_LIMITEDAPI_AUTH_BLOCKED
Key or workspace quota reached (see Retry-After), or address blocked.
500INTERNAL_ERROR
Unexpected error. Quote requestId to support.
503SERVICE_UNAVAILABLE
Temporarily unavailable (see Retry-After). No infrastructure details.
curl 'https://quosuite.com/api/public/v1/quosuite/stock/movements' \
-H "Authorization: Bearer $QUOSUITE_API_KEY"{
"success": true,
"data": {
"items": [
{
"id": "e4f217a6-bcf3-4bbc-897f-b50b4dc84869",
"type": "IN",
"typeLabel": "Entrée",
"quantity": 10,
"unitCost": 812.5,
"date": "2026-10-02",
"note": "Réception BR-2026-0003",
"article": {
"id": "7407cd90-df2f-446e-8aff-6c11fe9bb9b5",
"reference": "ART-0001",
"label": "Ordinateur portable 14\"",
"unit": "U"
},
"warehouse": {
"id": "55f194cb-9384-43fa-8a66-2876212e7455",
"code": "DEP-01",
"name": "Dépôt central"
},
"documentId": "2cac278f-abf9-4576-842b-ec00c2eb53f9"
}
],
"pagination": {
"page": 1,
"pageSize": 25,
"totalItems": 132,
"totalPages": 6,
"limit": 100,
"nextCursor": "c1.eyJzIjoiZGF0ZTpkZXNjLGlkOmFzYyIsImYiOiJ…",
"hasMore": true
}
},
"timestamp": "2026-10-02T09:15:00.000Z"
}Try this request
Record a stock movement #
/api/public/v1/quosuite/stock/movementsstock:writeIdempotentcreateStockMovementManual receipt, issue or adjustment of an article in a warehouse (sync with an external warehouse, cycle count…). A composite article is moved through its components. Returns the resulting availability of the article. Strongly recommended with Idempotency-Key: a replayed movement would count twice.
Parameters
Idempotency-KeystringheaderIdempotency key (1–255 printable ASCII characters, UUID v4 recommended). A retry with the same key and the same body within 24 h replays the response of the first successful call (header
Idempotent-Replayed: true) instead of creating a second time. Same key, different body: 422IDEMPOTENCY_KEY_REUSED. First call still in progress: 409IDEMPOTENCY_IN_PROGRESS.
Request body application/json
articleIdstring (uuid)requiredwarehouseIdstring (uuid)requiredtypestringrequiredINreceipt,OUTissue,ADJUSTMENTcorrection (signed quantity: +3 adds, −2 removes). Transfers between warehouses do not go through this route.valuesINOUTADJUSTMENTquantitynumberrequiredQuantity (positive, except for an adjustment).
e.g.10unitCostnumberUnit cost of a receipt (weighted average), base currency.
min.0e.g.812.5notestringe.g.Synchronisation WMS #4512
Response 201application/json
Created.
articleArticleRefDtorequiredArticleRefDto details
formulastringrequiredvaluesSIMPLECOMPOSITEMETRICPACKtrackedbooleanrequiredfalse: stock not tracked (service…), quantities not applicable.e.g.truesimulatedbooleanrequiredComposite article: availability is simulated from the stock of its components.
e.g.falsetotalnumberrequirede.g.42byWarehouseWarehouseAvailabilityDto[]requiredWarehouseAvailabilityDto details
Errors
400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR
Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.
401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED
Key missing, invalid, revoked or expired.
402PLAN_QUOTA_EXCEEDEDFEATURE_NOT_INCLUDEDMODULE_NOT_INCLUDED
Subscription plan limit or option (monthly document quota, multi-currency…).
403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE
Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.
404NOT_FOUND
Resource not found — or belonging to another workspace, which amounts to the same.
409CONFLICTIDEMPOTENCY_IN_PROGRESS
Conflict: unique value already taken, or same idempotency key still in progress.
422BUSINESS_RULE_VIOLATIONIDEMPOTENCY_KEY_REUSED
Well-formed request but refused by an ERP business rule (forbidden status transition, locked paid document, stock…), or reused idempotency key.
429API_RATE_LIMITEDAPI_AUTH_BLOCKED
Key or workspace quota reached (see Retry-After), or address blocked.
500INTERNAL_ERROR
Unexpected error. Quote requestId to support.
503SERVICE_UNAVAILABLE
Temporarily unavailable (see Retry-After). No infrastructure details.
# One key per operation, reused as is on every retry.
curl -X POST 'https://quosuite.com/api/public/v1/quosuite/stock/movements' \
-H "Authorization: Bearer $QUOSUITE_API_KEY" \
-H 'Idempotency-Key: 3f1c2a9e-5b7d-4e8a-9c1f-2d6b8e4a7c30' \
-H 'Content-Type: application/json' \
-d '{
"articleId": "953f9233-cd38-4756-825e-a05e4f5e54c9",
"warehouseId": "e92a08ea-fdde-4c86-8817-29efe37edbdd",
"type": "IN",
"quantity": 10
}'{
"success": true,
"data": {
"article": {
"id": "7407cd90-df2f-446e-8aff-6c11fe9bb9b5",
"reference": "ART-0001",
"label": "Ordinateur portable 14\"",
"unit": "U"
},
"formula": "SIMPLE",
"tracked": true,
"simulated": false,
"total": 42,
"byWarehouse": [
{
"warehouse": {
"id": "55f194cb-9384-43fa-8a66-2876212e7455",
"code": "DEP-01",
"name": "Dépôt central"
},
"available": 12
}
]
},
"timestamp": "2026-10-02T09:15:00.000Z"
}Article availability per warehouse #
/api/public/v1/quosuite/articles/{id}/availabilitystock:readgetArticleAvailabilityAvailable quantity per warehouse. For a composite article, the quantity that can be assembled from the stock of its components (simulated: true).
Parameters
idstring (uuid)pathrequiredArticle identifier.
langstringqueryLanguage of the labels (and of the PDF). Default:
Accept-Language, otherwise the workspace language.frenar
Response 200application/json
Success.
articleArticleRefDtorequiredArticleRefDto details
formulastringrequiredvaluesSIMPLECOMPOSITEMETRICPACKtrackedbooleanrequiredfalse: stock not tracked (service…), quantities not applicable.e.g.truesimulatedbooleanrequiredComposite article: availability is simulated from the stock of its components.
e.g.falsetotalnumberrequirede.g.42byWarehouseWarehouseAvailabilityDto[]requiredWarehouseAvailabilityDto details
Errors
400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR
Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.
401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED
Key missing, invalid, revoked or expired.
403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE
Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.
404NOT_FOUND
Resource not found — or belonging to another workspace, which amounts to the same.
429API_RATE_LIMITEDAPI_AUTH_BLOCKED
Key or workspace quota reached (see Retry-After), or address blocked.
500INTERNAL_ERROR
Unexpected error. Quote requestId to support.
503SERVICE_UNAVAILABLE
Temporarily unavailable (see Retry-After). No infrastructure details.
curl 'https://quosuite.com/api/public/v1/quosuite/articles/aac39e3a-0c40-44b2-8697-b597f357c5a9/availability' \
-H "Authorization: Bearer $QUOSUITE_API_KEY"{
"success": true,
"data": {
"article": {
"id": "7407cd90-df2f-446e-8aff-6c11fe9bb9b5",
"reference": "ART-0001",
"label": "Ordinateur portable 14\"",
"unit": "U"
},
"formula": "SIMPLE",
"tracked": true,
"simulated": false,
"total": 42,
"byWarehouse": [
{
"warehouse": {
"id": "55f194cb-9384-43fa-8a66-2876212e7455",
"code": "DEP-01",
"name": "Dépôt central"
},
"available": 12
}
]
},
"timestamp": "2026-10-02T09:15:00.000Z"
}Try this request
Generated from the QuoSuite API OpenAPI contract v1.0.0.