Accounts
- GET
/crm/accountsList accounts - POST
/crm/accountsCreate an account - GET
/crm/accounts/{id}Get an account - PATCH
/crm/accounts/{id}Update an account
List accounts #
/api/public/v1/quosuite/crm/accountscrm:readlistCrmAccountsCompanies and organisations (prospects, customers, suppliers, partners). partnerId finds the account of an ERP record; archived accounts are excluded unless archived=true. Allowed sort: name, createdAt, updatedAt (default name).
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.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.typestring[]queryTypes, comma-separated.
partnerIdstring (uuid)queryAccount linked to this ERP record.
ownerIdstring (uuid)querysearchstringqueryName, city, email or tax ID containing this text.
archivedbooleanqueryInclude archived accounts.
Response 200application/json
Success.
itemsCrmAccountDto[]requiredCrmAccountDto 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/crm/accounts' \
-H "Authorization: Bearer $QUOSUITE_API_KEY"{
"success": true,
"data": {
"items": [
{
"id": "03d0a39c-ab5f-4e02-8c91-8f758564de45",
"name": "BTP Horizon",
"type": "PROSPECT",
"typeLabel": "Client",
"partnerId": "85ebdc78-01a1-4a94-87d2-9a59f34e0575",
"industry": null,
"website": null,
"email": null,
"phone": null,
"address": null,
"city": null,
"country": null,
"taxId": "8c2b7e1b-b1ff-47ee-82af-ff889a8bcf31",
"size": "10-49",
"currency": "TND",
"source": null,
"tags": [
"string"
],
"ownerId": "89177531-665b-42c2-84c9-b10666588395",
"ownerName": null,
"notes": null,
"archived": true,
"createdAt": "2026-10-02T09:15:00.000Z",
"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
Create an account #
/api/public/v1/quosuite/crm/accountscrm:writeIdempotentcreateCrmAccountWith partnerId, the account is linked to this ERP record (a record links to one account only: 422 CRM_PARTNER_ALREADY_LINKED).
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
namestringrequirede.g.BTP HorizontypestringvaluesPROSPECTCUSTOMERSUPPLIERPARTNEROTHERdefault"PROSPECT"partnerIdstring (uuid)ERP customer / supplier record to link.
industryobjectwebsiteobjectemailobjectphoneobjectaddressobjectcityobjectcountryobjecttaxIdobjectsizestringe.g.10-49currencystring | nulle.g.TNDsourceobjecttagsstring[]ownerIdstring (uuid) | nullOwner: a user of the workspace (
GET /crm/owners). Omitted on creation: none (a “new lead” automation may assign it);nullon update: remove it.notesobject
Response 201application/json
Created.
idstring (uuid)requirednamestringrequirede.g.BTP HorizontypestringrequiredvaluesPROSPECTCUSTOMERSUPPLIERPARTNEROTHERtypeLabelstringrequirede.g.ClientpartnerIdstring (uuid) | nullLinked ERP customer / supplier record (
GET /partners/{id}).industrystring | nullwebsitestring | nullemailstring | nullphonestring | nulladdressstring | nullcitystring | nullcountrystring | nulltaxIdstring | nullsizestring | nulle.g.10-49currencystring | nullWorking currency.
e.g.TNDsourcestring | nulltagsstring[]requiredownerIdstring (uuid) | nullownerNamestring | nullnotesstring | nullarchivedbooleanrequiredArchived (“deleted” in the application).
createdAtstringrequiredupdatedAtstringrequired
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/crm/accounts' \
-H "Authorization: Bearer $QUOSUITE_API_KEY" \
-H 'Idempotency-Key: 3f1c2a9e-5b7d-4e8a-9c1f-2d6b8e4a7c30' \
-H 'Content-Type: application/json' \
-d '{
"name": "BTP Horizon"
}'{
"success": true,
"data": {
"id": "03d0a39c-ab5f-4e02-8c91-8f758564de45",
"name": "BTP Horizon",
"type": "PROSPECT",
"typeLabel": "Client",
"partnerId": "85ebdc78-01a1-4a94-87d2-9a59f34e0575",
"industry": null,
"website": null,
"email": null,
"phone": null,
"address": null,
"city": null,
"country": null,
"taxId": "8c2b7e1b-b1ff-47ee-82af-ff889a8bcf31",
"size": "10-49",
"currency": "TND",
"source": null,
"tags": [
"string"
],
"ownerId": "89177531-665b-42c2-84c9-b10666588395",
"ownerName": null,
"notes": null,
"archived": true,
"createdAt": "2026-10-02T09:15:00.000Z",
"updatedAt": "2026-10-02T09:15:00.000Z"
},
"timestamp": "2026-10-02T09:15:00.000Z"
}Get an account #
/api/public/v1/quosuite/crm/accounts/{id}crm:readgetCrmAccountParameters
idstring (uuid)pathrequiredlangstringqueryLanguage of the labels (and of the PDF). Default:
Accept-Language, otherwise the workspace language.frenar
Response 200application/json
Success.
idstring (uuid)requirednamestringrequirede.g.BTP HorizontypestringrequiredvaluesPROSPECTCUSTOMERSUPPLIERPARTNEROTHERtypeLabelstringrequirede.g.ClientpartnerIdstring (uuid) | nullLinked ERP customer / supplier record (
GET /partners/{id}).industrystring | nullwebsitestring | nullemailstring | nullphonestring | nulladdressstring | nullcitystring | nullcountrystring | nulltaxIdstring | nullsizestring | nulle.g.10-49currencystring | nullWorking currency.
e.g.TNDsourcestring | nulltagsstring[]requiredownerIdstring (uuid) | nullownerNamestring | nullnotesstring | nullarchivedbooleanrequiredArchived (“deleted” in the application).
createdAtstringrequiredupdatedAtstringrequired
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/crm/accounts/aac39e3a-0c40-44b2-8697-b597f357c5a9' \
-H "Authorization: Bearer $QUOSUITE_API_KEY"{
"success": true,
"data": {
"id": "03d0a39c-ab5f-4e02-8c91-8f758564de45",
"name": "BTP Horizon",
"type": "PROSPECT",
"typeLabel": "Client",
"partnerId": "85ebdc78-01a1-4a94-87d2-9a59f34e0575",
"industry": null,
"website": null,
"email": null,
"phone": null,
"address": null,
"city": null,
"country": null,
"taxId": "8c2b7e1b-b1ff-47ee-82af-ff889a8bcf31",
"size": "10-49",
"currency": "TND",
"source": null,
"tags": [
"string"
],
"ownerId": "89177531-665b-42c2-84c9-b10666588395",
"ownerName": null,
"notes": null,
"archived": true,
"createdAt": "2026-10-02T09:15:00.000Z",
"updatedAt": "2026-10-02T09:15:00.000Z"
},
"timestamp": "2026-10-02T09:15:00.000Z"
}Try this request
Update an account #
/api/public/v1/quosuite/crm/accounts/{id}crm:writeupdateCrmAccountParameters
idstring (uuid)pathrequired
Request body application/json
namestringe.g.BTP HorizontypestringvaluesPROSPECTCUSTOMERSUPPLIERPARTNEROTHERdefault"PROSPECT"partnerIdstring (uuid)ERP customer / supplier record to link.
industryobjectwebsiteobjectemailobjectphoneobjectaddressobjectcityobjectcountryobjecttaxIdobjectsizestringe.g.10-49currencystring | nulle.g.TNDsourceobjecttagsstring[]ownerIdstring (uuid) | nullOwner: a user of the workspace (
GET /crm/owners). Omitted on creation: none (a “new lead” automation may assign it);nullon update: remove it.notesobject
Response 200application/json
Success.
idstring (uuid)requirednamestringrequirede.g.BTP HorizontypestringrequiredvaluesPROSPECTCUSTOMERSUPPLIERPARTNEROTHERtypeLabelstringrequirede.g.ClientpartnerIdstring (uuid) | nullLinked ERP customer / supplier record (
GET /partners/{id}).industrystring | nullwebsitestring | nullemailstring | nullphonestring | nulladdressstring | nullcitystring | nullcountrystring | nulltaxIdstring | nullsizestring | nulle.g.10-49currencystring | nullWorking currency.
e.g.TNDsourcestring | nulltagsstring[]requiredownerIdstring (uuid) | nullownerNamestring | nullnotesstring | nullarchivedbooleanrequiredArchived (“deleted” in the application).
createdAtstringrequiredupdatedAtstringrequired
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.
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.
curl -X PATCH 'https://quosuite.com/api/public/v1/quosuite/crm/accounts/aac39e3a-0c40-44b2-8697-b597f357c5a9' \
-H "Authorization: Bearer $QUOSUITE_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"name": "BTP Horizon",
"size": "10-49",
"currency": "TND"
}'{
"success": true,
"data": {
"id": "03d0a39c-ab5f-4e02-8c91-8f758564de45",
"name": "BTP Horizon",
"type": "PROSPECT",
"typeLabel": "Client",
"partnerId": "85ebdc78-01a1-4a94-87d2-9a59f34e0575",
"industry": null,
"website": null,
"email": null,
"phone": null,
"address": null,
"city": null,
"country": null,
"taxId": "8c2b7e1b-b1ff-47ee-82af-ff889a8bcf31",
"size": "10-49",
"currency": "TND",
"source": null,
"tags": [
"string"
],
"ownerId": "89177531-665b-42c2-84c9-b10666588395",
"ownerName": null,
"notes": null,
"archived": true,
"createdAt": "2026-10-02T09:15:00.000Z",
"updatedAt": "2026-10-02T09:15:00.000Z"
},
"timestamp": "2026-10-02T09:15:00.000Z"
}Generated from the QuoSuite API OpenAPI contract v1.0.0.