Skip to main content
New to Corsair? See API access, authentication, and error handling.

Account

getClassifications

account.getClassifications List accounting classifications, optionally filtered by type (Sale | Expense | Other) Risk: read
Input Output: object[]

getCurrentUser

account.getCurrentUser Get the authenticated user Risk: read
Input: empty object Output

getSettings

account.getSettings Get accounting, company, emailing, sales, social and VAT settings Risk: read
Input: empty object Output: Record<string, any>

getUnits

account.getUnits List measurement units - reference data, mirrored Risk: read
Input: empty object Output: object[]

getVats

account.getVats List VAT rates - reference data, mirrored Risk: read
Input: empty object Output: object[]

testApiKey

account.testApiKey Verify the API key and get the account identity - takes no parameters Risk: read
Input: empty object Output

Colleagues

delete

colleagues.delete Delete a colleague Risk: destructive · Irreversible
Input Output

get

colleagues.get Get a colleague by id Risk: read
Input Output

list

colleagues.list List colleagues, paged Risk: read
Input Output: object[]

update

colleagues.update Update a colleague. Read-modify-write internally - a partial body is a 500 on this route, not just a clearing PUT. Risk: write
Input Output

Contacts

create

contacts.create Create a standalone contact. There is no customerId field on this route - it cannot be attached to a customer here. Risk: write
Input Output

find

contacts.find Find contacts by email or internalId - returns an array, possibly empty Risk: read
Input Output: object[]

get

contacts.get Get a contact by id Risk: read
Input Output

list

contacts.list List contacts, paged. Includes shadow contacts auto-created by customer/supplier/colleague writes. Risk: read
Input Output: object[]

Customer Families

create

customerFamilies.create Create a customer family (segment) Risk: write
Input Output

delete

customerFamilies.delete Delete a customer family. Refused with a conflict if it still has members - it does not cascade. Risk: destructive · Irreversible
Input Output

get

customerFamilies.get Get a customer family by id Risk: read
Input Output

list

customerFamilies.list List customer families, paged Risk: read
Input Output: object[]

Customers

create

customers.create Create a customer. type is Business | Consumer | Government - NOT the Company/Individual the catalog description documents. Risk: write
Input
Output

delete

customers.delete Delete a customer. Evicts the auto-created contact from the mirror if one is cached. Risk: destructive · Irreversible
Input Output

find

customers.find Find customers by email, internalId or number - returns an array, possibly empty Risk: read
Input Output: object[]

get

customers.get Get a customer by id Risk: read
Input Output

getByInternalId

customers.getByInternalId Get a customer by the caller-supplied internalId Risk: read
Input Output

getContacts

customers.getContacts List a customer’s contacts, including the one auto-created when the customer was created Risk: read
Input Output: object[]

list

customers.list List customers, paged (PageIndex is 1-based) Risk: read
Input Output: object[]

update

customers.update Update a customer. Read-modify-write internally, because Altoviz PUT clears any field the caller omits. Risk: write
Input
Output

Product Families

create

productFamilies.create Create a product family Risk: write
Input Output

delete

productFamilies.delete Delete a product family. Refused with a conflict if it still has members. Risk: destructive · Irreversible
Input Output

get

productFamilies.get Get a product family by id Risk: read
Input Output

list

productFamilies.list List product families, paged Risk: read
Input Output: object[]

Products

create

products.create Create a product. unit/vat/family are resolved from an id to their value form before the request is sent. Risk: write
Input Output

delete

products.delete Delete a product Risk: destructive · Irreversible
Input Output

find

products.find Find a product by number - returns an array Risk: read
Input Output: object[]

findByNumberOrId

products.findByNumberOrId Find a product by number or internalId - same route as products.find, superset of parameters Risk: read
Input Output: object[]

get

products.get Get a product by id Risk: read
Input Output

Purchase Invoices

download

purchaseInvoices.download Download a purchase invoice as PDF Risk: read
Input Output

upload

purchaseInvoices.upload Upload a purchase invoice file (PDF or image). There is no delete for this anywhere in the API - only the Altoviz UI can remove it. Risk: write
Input Output

Receipts

create

receipts.create Create a receipt. links to a draft document are refused - the document must be finalized first, which is outside this plugin. Risk: write
Input
Output

delete

receipts.delete Delete a receipt Risk: destructive · Irreversible
Input Output

find

receipts.find Find receipts by the receipt’s own internalId - returns an array Risk: read
Input Output: object[]

get

receipts.get Get a receipt by id Risk: read
Input Output

list

receipts.list List receipts, paged Risk: read
Input Output: object[]

update

receipts.update Update a receipt. Read-modify-write internally; a customer reference is required even on update. Risk: write
Input
Output

Sale Credits

create

saleCredits.create Create a draft credit note (avoir) Risk: write
Input
Output

delete

saleCredits.delete Delete a draft sale credit. Drafts only. Risk: destructive · Irreversible
Input Output

download

saleCredits.download Download a sale credit as PDF. May not be byte-exact - see the core text-decoding note. Risk: read
Input Output

find

saleCredits.find Find sale credits by internalId - returns an array Risk: read
Input Output: object[]

get

saleCredits.get Get a sale credit by id Risk: read
Input Output

list

saleCredits.list List sale credits, paged, filterable by date range and customer Risk: read
Input Output: object[]

update

saleCredits.update Update a draft credit note. Drafts only; lines must be resent in full or the credit is emptied. Risk: write
Input
Output

Sale Invoices

create

saleInvoices.create Create a draft sale invoice. Lines use taxExcludedPrice, never unitPrice - unitPrice is silently ignored and prices the line at zero. Risk: write
Input
Output

delete

saleInvoices.delete Delete a draft sale invoice. Drafts only. Risk: destructive · Irreversible
Input Output

download

saleInvoices.download Download a sale invoice as PDF. May not be byte-exact - see the core text-decoding note. Risk: read
Input Output

find

saleInvoices.find Find sale invoices by internalId - returns an array Risk: read
Input Output: object[]

get

saleInvoices.get Get a sale invoice by id Risk: read
Input Output

list

saleInvoices.list List sale invoices, paged, filterable by date range, customer and status Risk: read
Input Output: object[]

Sale Quotes

delete

saleQuotes.delete Delete a sale quote. Deleting a quote that does not exist also returns 200. Risk: destructive · Irreversible
Input Output

find

saleQuotes.find Find sale quotes by internalId - returns an array Risk: read
Input Output: object[]

list

saleQuotes.list List sale quotes, paged, filterable by date range and customer. No working status filter - the spec one is a generator artefact. Risk: read
Input Output: object[]

Suppliers

delete

suppliers.delete Delete a supplier. Evicts the auto-created contact from the mirror if one is cached. Risk: destructive · Irreversible
Input Output

get

suppliers.get Get a supplier by id Risk: read
Input Output

getContacts

suppliers.getContacts List a supplier’s contacts Risk: read
Input Output: object[]

list

suppliers.list List suppliers, paged Risk: read
Input Output: object[]

update

suppliers.update Update a supplier. Read-modify-write internally, same clearing-PUT behaviour as customers. Risk: write
Input
Output

Webhook Subscriptions

list

webhookSubscriptions.list List registered webhook subscriptions Risk: read
Input: empty object Output: object[]

register

webhookSubscriptions.register Register a webhook subscription. The response id is 0 - list immediately after to get the real id. Risk: write
Input Output

unregister

webhookSubscriptions.unregister Unregister a webhook subscription by id or url. Exactly one of the two is required. Risk: destructive · Irreversible
Input Output