Customers & suppliers
- GET
/partnersList customers and suppliers - POST
/partnersCreate a customer or supplier - GET
/partners/{id}Get a partner - PATCH
/partners/{id}Update a partner - GET
/partners/{id}/contactsPartner contacts - POST
/partners/{id}/contactsAdd a contact to a partner
List customers and suppliers #
/api/public/v1/quosuite/partnerspartners:readlistPartnersFilterable by role (role=CLIENT includes mixed records), type, nature, search, category, tags, email or tax ID. Allowed sort: code, 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.rolestringqueryRole played:
CLIENTreturns customers andBOTHrecords, likewise forSUPPLIER.CLIENTSUPPLIERtypestringqueryExact record type.
CLIENTSUPPLIERBOTHkindstringqueryINDIVIDUALCOMPANYqstringquerySearch in the code, name, email and tax ID.
categorystringquerytagsstring[]queryTags (at least one), comma-separated.
emailstringqueryExact email (case-insensitive).
taxIdstringqueryExact tax ID.
includeArchivedbooleanquery
Response 200application/json
Success.
itemsPartnerDto[]requiredPartnerDto 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/partners' \
-H "Authorization: Bearer $QUOSUITE_API_KEY"{
"success": true,
"data": {
"items": [
{
"id": "fffa9e0b-33d4-4332-8d8a-b58c9c1af631",
"code": "CLI-0042",
"type": "CLIENT",
"typeLabel": "Client",
"kind": "INDIVIDUAL",
"name": "Société Exemple SARL",
"email": null,
"phone": null,
"mobile": null,
"address": null,
"city": null,
"country": "TN",
"taxId": "b62e3b7e-b4d6-4ffe-884c-16ebafa5e5a5",
"legalForm": null,
"tradeRegister": null,
"tradeName": null,
"managerName": null,
"category": null,
"tags": [
"string"
],
"currency": "TND",
"paymentTermsDays": 30,
"creditLimit": 10000,
"defaultDiscountPercent": 0,
"preferredPaymentMethod": "CASH",
"accountBalance": 0,
"bank": {
"bankName": null,
"iban": "TN5904018104003691234567",
"bic": null,
"accountHolder": 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 a customer or supplier #
/api/public/v1/quosuite/partnerspartners:writeIdempotentcreatePartnerThe code is assigned by the type's series when omitted; if provided, it must be free (422). Counts towards the plan's record quota (402).
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
typestringrequiredvaluesCLIENTSUPPLIERBOTHnamestringrequirede.g.Société Exemple SARLcodestringOmitted: next code of the type's series.
e.g.CLI-0042kindstringvaluesINDIVIDUALCOMPANYdefault"COMPANY"emailstringe.g.contact@exemple.tnphonestringmobilestringaddressstringcitystringcountrystringe.g.TNtaxIdstringTax ID / VAT number.
legalFormstringtradeRegisterstringtradeNamestringTrade name.
managerNamestringName of the person in charge (manager, director).
categorystringtagsstring[]currencystringe.g.TNDpaymentTermsDaysnumbermin.0max.365e.g.30creditLimitnumbermin.0e.g.10000defaultDiscountPercentnumbermin.0max.100e.g.5preferredPaymentMethodstringvaluesCASHCHECKDRAFTTRANSFERCARDLOYALTYBALANCECREDITOTHERbankNamestringbankIbanstringbankBicstringbankAccountHolderstring
Response 201application/json
Created.
idstring (uuid)requiredcodestringrequiredUnique code, assigned by the ERP when not provided.
e.g.CLI-0042typestringrequiredCLIENT,SUPPLIERorBOTH.valuesCLIENTSUPPLIERBOTHtypeLabelstringrequirede.g.ClientkindstringrequiredvaluesINDIVIDUALCOMPANYnamestringrequirede.g.Société Exemple SARLemailstring | nullphonestring | nullmobilestring | nulladdressstring | nullcitystring | nullcountrystring | nulle.g.TNtaxIdstring | nullTax ID / VAT number.
legalFormstring | nulltradeRegisterstring | nulltradeNamestring | nullTrade name.
managerNamestring | nullName of the person in charge (manager, director).
categorystring | nulltagsstring[]requiredcurrencystringrequiredPartner's usual currency.
e.g.TNDpaymentTermsDaysnumberrequiredPayment terms (days).
e.g.30creditLimitnumberrequiredCredit limit (0 = unlimited), partner currency.
e.g.10000defaultDiscountPercentnumberrequiredDefault discount (%).
e.g.0preferredPaymentMethodstring | nullvaluesCASHCHECKDRAFTTRANSFERCARDLOYALTYBALANCECREDITOTHERaccountBalancenumberrequiredPartner account balance (advances paid, credit notes credited), partner currency.
e.g.0bankBankDetailsDtorequiredBankDetailsDto details
archivedbooleanrequiredArchived (soft delete).
createdAtstringrequiredupdatedAtstringrequiredcontactsPartnerContactDto[]requiredPartnerContactDto details
addressesPartnerAddressDto[]requiredPartnerAddressDto details
financialsPartnerFinancialsDtorequiredPartnerFinancialsDto 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/partners' \
-H "Authorization: Bearer $QUOSUITE_API_KEY" \
-H 'Idempotency-Key: 3f1c2a9e-5b7d-4e8a-9c1f-2d6b8e4a7c30' \
-H 'Content-Type: application/json' \
-d '{
"type": "CLIENT",
"name": "Société Exemple SARL"
}'{
"success": true,
"data": {
"id": "006ce7c6-d389-43c0-8435-59136cb6ead1",
"code": "CLI-0042",
"type": "CLIENT",
"typeLabel": "Client",
"kind": "INDIVIDUAL",
"name": "Société Exemple SARL",
"email": null,
"phone": null,
"mobile": null,
"address": null,
"city": null,
"country": "TN",
"taxId": "ce4ef841-d41d-4f12-8237-fcd48e819555",
"legalForm": null,
"tradeRegister": null,
"tradeName": null,
"managerName": null,
"category": null,
"tags": [
"string"
],
"currency": "TND",
"paymentTermsDays": 30,
"creditLimit": 10000,
"defaultDiscountPercent": 0,
"preferredPaymentMethod": "CASH",
"accountBalance": 0,
"bank": {
"bankName": null,
"iban": "TN5904018104003691234567",
"bic": null,
"accountHolder": null
},
"archived": true,
"createdAt": "2026-10-02T09:15:00.000Z",
"updatedAt": "2026-10-02T09:15:00.000Z",
"contacts": [
{
"id": "ebe7b025-2fbf-41b2-8983-ddb8b77c8d3d",
"name": "Sarra Ben Ali",
"role": "Comptabilité",
"email": null,
"phone": null,
"mobile": null,
"notes": null,
"isPrimary": true,
"updatedAt": "2026-10-02T09:15:00.000Z"
}
],
"addresses": [
{
"id": "0f77a31d-3027-4892-8542-16dc3f280949",
"kind": "BILLING",
"label": null,
"address": "string",
"city": null,
"postalCode": null,
"country": null,
"isDefault": true
}
],
"financials": {
"unpaidTotal": 1191,
"overdueTotal": 0,
"creditExceeded": false,
"aging": {
"d0_30": 0,
"d30_60": 0,
"d60_90": 0,
"d90plus": 0
}
}
},
"timestamp": "2026-10-02T09:15:00.000Z"
}Get a partner #
/api/public/v1/quosuite/partners/{id}partners:readgetPartnerRecord, contacts, addresses and financial position (outstanding, overdue, aging, credit limit).
Parameters
idstring (uuid)pathrequiredPartner identifier.
langstringqueryLanguage of the labels (and of the PDF). Default:
Accept-Language, otherwise the workspace language.frenar
Response 200application/json
Success.
idstring (uuid)requiredcodestringrequiredUnique code, assigned by the ERP when not provided.
e.g.CLI-0042typestringrequiredCLIENT,SUPPLIERorBOTH.valuesCLIENTSUPPLIERBOTHtypeLabelstringrequirede.g.ClientkindstringrequiredvaluesINDIVIDUALCOMPANYnamestringrequirede.g.Société Exemple SARLemailstring | nullphonestring | nullmobilestring | nulladdressstring | nullcitystring | nullcountrystring | nulle.g.TNtaxIdstring | nullTax ID / VAT number.
legalFormstring | nulltradeRegisterstring | nulltradeNamestring | nullTrade name.
managerNamestring | nullName of the person in charge (manager, director).
categorystring | nulltagsstring[]requiredcurrencystringrequiredPartner's usual currency.
e.g.TNDpaymentTermsDaysnumberrequiredPayment terms (days).
e.g.30creditLimitnumberrequiredCredit limit (0 = unlimited), partner currency.
e.g.10000defaultDiscountPercentnumberrequiredDefault discount (%).
e.g.0preferredPaymentMethodstring | nullvaluesCASHCHECKDRAFTTRANSFERCARDLOYALTYBALANCECREDITOTHERaccountBalancenumberrequiredPartner account balance (advances paid, credit notes credited), partner currency.
e.g.0bankBankDetailsDtorequiredBankDetailsDto details
archivedbooleanrequiredArchived (soft delete).
createdAtstringrequiredupdatedAtstringrequiredcontactsPartnerContactDto[]requiredPartnerContactDto details
addressesPartnerAddressDto[]requiredPartnerAddressDto details
financialsPartnerFinancialsDtorequiredPartnerFinancialsDto 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/partners/aac39e3a-0c40-44b2-8697-b597f357c5a9' \
-H "Authorization: Bearer $QUOSUITE_API_KEY"{
"success": true,
"data": {
"id": "006ce7c6-d389-43c0-8435-59136cb6ead1",
"code": "CLI-0042",
"type": "CLIENT",
"typeLabel": "Client",
"kind": "INDIVIDUAL",
"name": "Société Exemple SARL",
"email": null,
"phone": null,
"mobile": null,
"address": null,
"city": null,
"country": "TN",
"taxId": "ce4ef841-d41d-4f12-8237-fcd48e819555",
"legalForm": null,
"tradeRegister": null,
"tradeName": null,
"managerName": null,
"category": null,
"tags": [
"string"
],
"currency": "TND",
"paymentTermsDays": 30,
"creditLimit": 10000,
"defaultDiscountPercent": 0,
"preferredPaymentMethod": "CASH",
"accountBalance": 0,
"bank": {
"bankName": null,
"iban": "TN5904018104003691234567",
"bic": null,
"accountHolder": null
},
"archived": true,
"createdAt": "2026-10-02T09:15:00.000Z",
"updatedAt": "2026-10-02T09:15:00.000Z",
"contacts": [
{
"id": "ebe7b025-2fbf-41b2-8983-ddb8b77c8d3d",
"name": "Sarra Ben Ali",
"role": "Comptabilité",
"email": null,
"phone": null,
"mobile": null,
"notes": null,
"isPrimary": true,
"updatedAt": "2026-10-02T09:15:00.000Z"
}
],
"addresses": [
{
"id": "0f77a31d-3027-4892-8542-16dc3f280949",
"kind": "BILLING",
"label": null,
"address": "string",
"city": null,
"postalCode": null,
"country": null,
"isDefault": true
}
],
"financials": {
"unpaidTotal": 1191,
"overdueTotal": 0,
"creditExceeded": false,
"aging": {
"d0_30": 0,
"d30_60": 0,
"d60_90": 0,
"d90plus": 0
}
}
},
"timestamp": "2026-10-02T09:15:00.000Z"
}Try this request
Update a partner #
/api/public/v1/quosuite/partners/{id}partners:writeupdatePartnerPartial update; the code does not change.
Parameters
idstring (uuid)pathrequiredPartner identifier.
Request body application/json
typestringvaluesCLIENTSUPPLIERBOTHnamestringe.g.Société Exemple SARLkindstringvaluesINDIVIDUALCOMPANYdefault"COMPANY"emailstringe.g.contact@exemple.tnphonestringmobilestringaddressstringcitystringcountrystringe.g.TNtaxIdstringTax ID / VAT number.
legalFormstringtradeRegisterstringtradeNamestringTrade name.
managerNamestringName of the person in charge (manager, director).
categorystringtagsstring[]currencystringe.g.TNDpaymentTermsDaysnumbermin.0max.365e.g.30creditLimitnumbermin.0e.g.10000defaultDiscountPercentnumbermin.0max.100e.g.5preferredPaymentMethodstringvaluesCASHCHECKDRAFTTRANSFERCARDLOYALTYBALANCECREDITOTHERbankNamestringbankIbanstringbankBicstringbankAccountHolderstring
Response 200application/json
Success.
idstring (uuid)requiredcodestringrequiredUnique code, assigned by the ERP when not provided.
e.g.CLI-0042typestringrequiredCLIENT,SUPPLIERorBOTH.valuesCLIENTSUPPLIERBOTHtypeLabelstringrequirede.g.ClientkindstringrequiredvaluesINDIVIDUALCOMPANYnamestringrequirede.g.Société Exemple SARLemailstring | nullphonestring | nullmobilestring | nulladdressstring | nullcitystring | nullcountrystring | nulle.g.TNtaxIdstring | nullTax ID / VAT number.
legalFormstring | nulltradeRegisterstring | nulltradeNamestring | nullTrade name.
managerNamestring | nullName of the person in charge (manager, director).
categorystring | nulltagsstring[]requiredcurrencystringrequiredPartner's usual currency.
e.g.TNDpaymentTermsDaysnumberrequiredPayment terms (days).
e.g.30creditLimitnumberrequiredCredit limit (0 = unlimited), partner currency.
e.g.10000defaultDiscountPercentnumberrequiredDefault discount (%).
e.g.0preferredPaymentMethodstring | nullvaluesCASHCHECKDRAFTTRANSFERCARDLOYALTYBALANCECREDITOTHERaccountBalancenumberrequiredPartner account balance (advances paid, credit notes credited), partner currency.
e.g.0bankBankDetailsDtorequiredBankDetailsDto details
archivedbooleanrequiredArchived (soft delete).
createdAtstringrequiredupdatedAtstringrequiredcontactsPartnerContactDto[]requiredPartnerContactDto details
addressesPartnerAddressDto[]requiredPartnerAddressDto details
financialsPartnerFinancialsDtorequiredPartnerFinancialsDto 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.
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/partners/aac39e3a-0c40-44b2-8697-b597f357c5a9' \
-H "Authorization: Bearer $QUOSUITE_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"name": "Société Exemple SARL",
"email": "contact@exemple.tn",
"country": "TN",
"currency": "TND",
"paymentTermsDays": 30,
"creditLimit": 10000,
"defaultDiscountPercent": 5
}'{
"success": true,
"data": {
"id": "006ce7c6-d389-43c0-8435-59136cb6ead1",
"code": "CLI-0042",
"type": "CLIENT",
"typeLabel": "Client",
"kind": "INDIVIDUAL",
"name": "Société Exemple SARL",
"email": null,
"phone": null,
"mobile": null,
"address": null,
"city": null,
"country": "TN",
"taxId": "ce4ef841-d41d-4f12-8237-fcd48e819555",
"legalForm": null,
"tradeRegister": null,
"tradeName": null,
"managerName": null,
"category": null,
"tags": [
"string"
],
"currency": "TND",
"paymentTermsDays": 30,
"creditLimit": 10000,
"defaultDiscountPercent": 0,
"preferredPaymentMethod": "CASH",
"accountBalance": 0,
"bank": {
"bankName": null,
"iban": "TN5904018104003691234567",
"bic": null,
"accountHolder": null
},
"archived": true,
"createdAt": "2026-10-02T09:15:00.000Z",
"updatedAt": "2026-10-02T09:15:00.000Z",
"contacts": [
{
"id": "ebe7b025-2fbf-41b2-8983-ddb8b77c8d3d",
"name": "Sarra Ben Ali",
"role": "Comptabilité",
"email": null,
"phone": null,
"mobile": null,
"notes": null,
"isPrimary": true,
"updatedAt": "2026-10-02T09:15:00.000Z"
}
],
"addresses": [
{
"id": "0f77a31d-3027-4892-8542-16dc3f280949",
"kind": "BILLING",
"label": null,
"address": "string",
"city": null,
"postalCode": null,
"country": null,
"isDefault": true
}
],
"financials": {
"unpaidTotal": 1191,
"overdueTotal": 0,
"creditExceeded": false,
"aging": {
"d0_30": 0,
"d30_60": 0,
"d60_90": 0,
"d90plus": 0
}
}
},
"timestamp": "2026-10-02T09:15:00.000Z"
}Partner contacts #
/api/public/v1/quosuite/partners/{id}/contactspartners:readlistPartnerContactsParameters
idstring (uuid)pathrequiredPartner identifier.
langstringqueryLanguage of the labels (and of the PDF). Default:
Accept-Language, otherwise the workspace language.frenar
Response 200application/json
Success.
itemsPartnerContactDto[]requiredPartnerContactDto 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/partners/aac39e3a-0c40-44b2-8697-b597f357c5a9/contacts' \
-H "Authorization: Bearer $QUOSUITE_API_KEY"{
"success": true,
"data": {
"items": [
{
"id": "ebe7b025-2fbf-41b2-8983-ddb8b77c8d3d",
"name": "Sarra Ben Ali",
"role": "Comptabilité",
"email": null,
"phone": null,
"mobile": null,
"notes": null,
"isPrimary": true,
"updatedAt": "2026-10-02T09:15:00.000Z"
}
]
},
"timestamp": "2026-10-02T09:15:00.000Z"
}Try this request
Add a contact to a partner #
/api/public/v1/quosuite/partners/{id}/contactspartners:writeIdempotentcreatePartnerContactParameters
idstring (uuid)pathrequiredPartner identifier.
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.Sarra Ben Alirolestringe.g.ComptabilitéemailstringphonestringmobilestringnotesstringisPrimarybooleanMain contact (replaces the previous one).
defaultfalse
Response 201application/json
Created.
idstring (uuid)requirednamestringrequirede.g.Sarra Ben Alirolestring | nulle.g.Comptabilitéemailstring | nullphonestring | nullmobilestring | nullnotesstring | nullisPrimarybooleanrequiredupdatedAtstringrequired
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/partners/aac39e3a-0c40-44b2-8697-b597f357c5a9/contacts' \
-H "Authorization: Bearer $QUOSUITE_API_KEY" \
-H 'Idempotency-Key: 3f1c2a9e-5b7d-4e8a-9c1f-2d6b8e4a7c30' \
-H 'Content-Type: application/json' \
-d '{
"name": "Sarra Ben Ali"
}'{
"success": true,
"data": {
"id": "ebe7b025-2fbf-41b2-8983-ddb8b77c8d3d",
"name": "Sarra Ben Ali",
"role": "Comptabilité",
"email": null,
"phone": null,
"mobile": null,
"notes": null,
"isPrimary": true,
"updatedAt": "2026-10-02T09:15:00.000Z"
},
"timestamp": "2026-10-02T09:15:00.000Z"
}Generated from the QuoSuite API OpenAPI contract v1.0.0.