Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/altoviz-com:altoviz-com-customers-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: Altoviz Customers API
description: 'RESTful APIs for the Altoviz services
## Deprecations
### Product prices
A product now stores its sale price both excluding and including tax, so both are
returned, along with the margin figures derived from them: `taxExcludedPrice`,
`taxIncludedPrice`, `margin`, `markupRate` (margin over cost, FR « taux de marge ») and
`marginRate` (margin over sale price, FR « taux de marque »).
Two fields are deprecated as a result:
| Deprecated | Use instead |
| --- | --- |
| `unitPrice` | `taxExcludedPrice` |
| `isUnitPriceTaxIncluded` | `taxIncludedPrice`, to send a tax-included price |
**`unitPrice` is now always the tax-excluded price.** It previously held whichever half
the product was priced in, which `isUnitPriceTaxIncluded` told you. For a product priced
tax-included, `unitPrice` therefore returns a different number than it used to, and
`isUnitPriceTaxIncluded` is now always `false`. If you read the flag before using the
price, your result is unchanged. If you assumed the price was tax-included, read
`taxIncludedPrice`.
Writing is unaffected. Both fields are still accepted and behave exactly as before:
`unitPrice` alone is read as tax-excluded, and setting `isUnitPriceTaxIncluded` to `true`
still means the price you are sending includes tax. `margin`, `markupRate` and
`marginRate` are derived by the server and ignored if sent.'
contact:
name: Altoviz
email: contact@altoviz.com
license:
name: Altoviz license
url: https://altoviz.com/license
version: v1
x-logo:
url: https://altoviz.com/altoviz-logo-ext-violet-262x72.png
altText: Altoviz logo
servers:
- url: https://api.altoviz.com
description: Altoviz
security:
- {}
tags:
- name: Customers
description: Customers API
paths:
/v1/customers:
get:
tags:
- Customers
summary: List customers
operationId: GET_Customers_List
parameters:
- name: PageIndex
in: query
schema:
type: integer
format: int32
- name: PageSize
in: query
schema:
type: integer
format: int32
- name: OrderBy
in: query
schema:
type: string
- name: query
in: query
description: query (full text search)
schema:
type: string
responses:
'200':
description: OK
headers:
x-page-prev:
description: Relative URL of previous page when available
schema:
type: string
x-page-next:
description: Relative URL of next page when available
schema:
type: string
x-page-count:
description: Total number of pages
schema:
type: integer
format: int32
x-record-count:
description: Total number of matching records
schema:
type: integer
format: int32
x-page-index:
description: Current page index
schema:
type: integer
format: int32
x-page-size:
description: Current page size
schema:
type: integer
format: int32
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Customer'
post:
tags:
- Customers
summary: Create a new customer
operationId: POST_Customers_Post
requestBody:
description: Customer to create
content:
application/json:
schema:
$ref: '#/components/schemas/CustomerCreate'
text/json:
schema:
$ref: '#/components/schemas/CustomerCreate'
application/*+json:
schema:
$ref: '#/components/schemas/CustomerCreate'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Customer'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/v1/customers/find:
get:
tags:
- Customers
summary: Find a customer
operationId: GET_Customers_Find
parameters:
- name: email
in: query
description: Customer email
schema:
type: string
- name: internalId
in: query
description: Customer internal ID
schema:
type: string
- name: number
in: query
description: Customer internal ID
schema:
type: string
responses:
'200':
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Customer'
/v1/customers/getbyinternalid/{internalid}:
get:
tags:
- Customers
summary: Find a single customer by its internal ID
operationId: GET_Customers_GetByInternalId
parameters:
- name: internalId
in: path
description: Customer internal ID
required: true
schema:
type: string
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Customer'
/v1/customers/{id}:
get:
tags:
- Customers
summary: Get a customer by ID
operationId: GET_Customers_Get
parameters:
- name: id
in: path
description: Customer id
required: true
schema:
type: integer
format: int32
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Customer'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
put:
tags:
- Customers
summary: Update a customer
operationId: PUT_Customers_Update
parameters:
- name: id
in: path
description: Customer ID
required: true
schema:
type: integer
format: int32
requestBody:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/Customer'
text/json:
schema:
$ref: '#/components/schemas/Customer'
application/*+json:
schema:
$ref: '#/components/schemas/Customer'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Customer'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
delete:
tags:
- Customers
summary: Delete a customer
operationId: DELETE_Customers_Delete
parameters:
- name: id
in: path
description: Customer id
required: true
schema:
type: integer
format: int32
responses:
'200':
description: OK
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
/v1/customers/{id}/contacts:
get:
tags:
- Customers
summary: Get customer contacts
operationId: GET_Customers_GetContacts
parameters:
- name: id
in: path
description: Customer id
required: true
schema:
type: integer
format: int32
responses:
'200':
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/ThirdContact'
components:
schemas:
CustomerType:
enum:
- Business
- Consumer
- Government
type: string
ThirdContact:
type: object
properties:
cellPhone:
type:
- string
- 'null'
companyName:
type:
- string
- 'null'
displayName:
type:
- string
- 'null'
readOnly: true
email:
type:
- string
- 'null'
firstName:
type:
- string
- 'null'
function:
type:
- string
- 'null'
id:
type: integer
description: Contact ID
format: int32
readOnly: true
internalId:
type:
- string
- 'null'
description: ID used in your system
invertedDisplayName:
type:
- string
- 'null'
readOnly: true
isMain:
type: boolean
description: Indicates if the contact is the main third contact
lastName:
type:
- string
- 'null'
phone:
type:
- string
- 'null'
service:
type:
- string
- 'null'
title:
type:
- string
- 'null'
additionalProperties: false
description: Third contact
DiscountType:
enum:
- Percent
- Fixed
type: string
CommitmentStatus:
enum:
- Unpaid
- Paid
- PartiallyPaid
- Balanced
type: string
CustomerFamily:
type: object
properties:
id:
type: integer
description: ID
format: int32
readOnly: true
internalId:
type:
- string
- 'null'
description: Internal ID
label:
type:
- string
- 'null'
description: Label
number:
type:
- string
- 'null'
description: Number
additionalProperties: false
description: Customer family
Discount:
type: object
properties:
type:
$ref: '#/components/schemas/DiscountType'
value:
type: number
format: double
additionalProperties: false
ProblemDetails:
type: object
properties:
detail:
type:
- string
- 'null'
instance:
type:
- string
- 'null'
status:
type:
- integer
- 'null'
format: int32
title:
type:
- string
- 'null'
type:
type:
- string
- 'null'
additionalProperties: {}
Customer:
type: object
properties:
active:
type: boolean
description: Active
billingAddress:
$ref: '#/components/schemas/AddressFields'
billingOptions:
$ref: '#/components/schemas/BillingOptions'
cellPhone:
type:
- string
- 'null'
description: Cell phone number
companyInformations:
$ref: '#/components/schemas/CompanyInfo'
companyName:
type:
- string
- 'null'
description: Company name
email:
type:
- string
- 'null'
description: Email
family:
$ref: '#/components/schemas/CustomerFamily'
firstName:
type:
- string
- 'null'
description: First name
id:
type: integer
description: Customer ID
format: int32
readOnly: true
internalId:
type:
- string
- 'null'
description: ID used in information system
internalNotes:
type:
- string
- 'null'
description: Internal notes
lastName:
type:
- string
- 'null'
description: Last name
metadata:
type:
- object
- 'null'
additionalProperties:
type:
- string
- 'null'
description: 'Metadata: free-form key/value pairs carried with the customer, for an integration to keep
its own identifiers and flags against it.
Sent as a PATCH, not a replacement: keys you send are added or updated, keys you leave out
keep whatever they held, and a key is removed only when you send it as `null`. Omitting
the property entirely leaves the whole bag untouched, and `""` stores an empty value
rather than removing the key.'
name:
type:
- string
- 'null'
description: Name
readOnly: true
number:
type:
- string
- 'null'
description: Number
phone:
type:
- string
- 'null'
description: Phone number
shippingAddress:
$ref: '#/components/schemas/AddressFields'
title:
type:
- string
- 'null'
description: Title
type:
$ref: '#/components/schemas/CustomerType'
additionalProperties: false
description: Customer
Error:
type: object
properties:
errors:
type:
- array
- 'null'
items:
type: string
description: List of error messages
message:
type:
- string
- 'null'
description: Error message
additionalProperties: false
description: Error
CompanyInfo:
type: object
properties:
effectiveElectronicAddress:
type:
- string
- 'null'
electronicAddress:
type:
- string
- 'null'
siret:
type:
- string
- 'null'
vatNumber:
type:
- string
- 'null'
additionalProperties: false
AddressFields:
type: object
properties:
city:
type:
- string
- 'null'
countryIso:
type:
- string
- 'null'
countryName:
type:
- string
- 'null'
readOnly: true
formattedAddress:
type:
- string
- 'null'
readOnly: true
inlineAddress:
type:
- string
- 'null'
readOnly: true
street:
type:
- string
- 'null'
zipcode:
type:
- string
- 'null'
additionalProperties: false
BillingOptions:
type: object
properties:
allowed:
type:
- boolean
- 'null'
description: Allowed
bankAccountId:
type:
- integer
- 'null'
description: Bank account ID
format: int32
buyerReference:
type:
- string
- 'null'
description: Buyer reference
colleagueId:
type:
- integer
- 'null'
description: Colleague ID
format: int32
discount:
$ref: '#/components/schemas/Discount'
initialCommitmentAmount:
type:
- number
- 'null'
description: Intial commitment amount
format: double
initialCommitmentDate:
type:
- string
- 'null'
description: Initial commitment date
format: date
initialCommitmentStatus:
$ref: '#/components/schemas/CommitmentStatus'
liableToVat:
type:
- boolean
- 'null'
description: Indicates whether the document is liable to VAT
paymentMethod:
$ref: '#/components/schemas/PaymentMethod'
sendDocumentAsAttachment:
type:
- boolean
- 'null'
description: Send document as attachment
settlementTermId:
type:
- integer
- 'null'
description: Settlement term ID
format: int32
useTaxIncludedPrices:
type:
- boolean
- 'null'
description: Use tax included prices
vatReverseCharge:
type:
- boolean
- 'null'
description: Indicates VAT should be included in sales
vendorReference:
type:
- string
- 'null'
description: Vendor reference. Used to be print on sales
additionalProperties: false
description: Billing options
CustomerCreate:
type: object
properties:
active:
type: boolean
description: Active
billingAddress:
$ref: '#/components/schemas/AddressFields'
billingOptions:
$ref: '#/components/schemas/BillingOptions'
cellPhone:
type:
- string
- 'null'
description: Cell phone number
companyInformations:
$ref: '#/components/schemas/CompanyInfo'
companyName:
type:
- string
- 'null'
description: Company name
email:
type:
- string
- 'null'
description: Email
family:
$ref: '#/components/schemas/CustomerFamily'
firstName:
type:
- string
- 'null'
description: First name
internalId:
type:
- string
- 'null'
description: ID used in information system
internalNotes:
type:
- string
- 'null'
description: Internal notes
lastName:
type:
- string
- 'null'
description: Last name
metadata:
type:
- object
- 'null'
additionalProperties:
type:
- string
- 'null'
description: 'Metadata: free-form key/value pairs carried with the customer, for an integration to keep
its own identifiers and flags against it.
Sent as a PATCH, not a replacement: keys you send are added or updated, keys you leave out
keep whatever they held, and a key is removed only when you send it as `null`. Omitting
the property entirely leaves the whole bag untouched, and `""` stores an empty value
rather than removing the key.'
name:
type:
- string
- 'null'
description: Name
readOnly: true
number:
type:
- string
- 'null'
description: Number
phone:
type:
- string
- 'null'
description: Phone number
shippingAddress:
$ref: '#/components/schemas/AddressFields'
title:
type:
- string
- 'null'
description: Title
type:
$ref: '#/components/schemas/CustomerType'
additionalProperties: false
description: Customer
PaymentMethod:
enum:
- Transfer
- Order
- Check
- Cash
- Card
- Bill
- Usec
- Other
type: string
securitySchemes:
ApiKey:
type: apiKey
description: 'API KEY generated in application. Example: "X-API-KEY: {apiKey}"'
name: X-API-KEY
in: header