Customers & Suppliers
All API Operations related with Customers & Suppliers
READ Scope
Retrieves all the customers or suppliers that match with provided filters
API Key Authentication
Send this as true if you would like to list suppliers.
Send this as true if you would like to list customers.
OK
GET /v1/business-entities HTTP/1.1
Host: api.nuvio.io
Authorization: YOUR_API_KEY
Accept: */*
OK
{
"success": true,
"errors": [
"text"
],
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"entityCode": "text",
"name": "text",
"legalName": "text",
"vatNumber": "text",
"taxOffice": "text",
"address": "text",
"city": "text",
"country": "text",
"district": "text",
"state": "text",
"postalCode": "text",
"email": "text",
"phone": "text",
"iban": "text",
"isCustomer": true,
"isSupplier": true
}
]
}Retrieves a customer or supplier by its unique ID or user-generated customer or supplier ID.
API Key Authentication
OK
GET /v1/business-entities/{id} HTTP/1.1
Host: api.nuvio.io
Authorization: YOUR_API_KEY
Accept: */*
OK
{
"success": true,
"errors": [
"text"
],
"data": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"entityCode": "text",
"name": "text",
"legalName": "text",
"vatNumber": "text",
"taxOffice": "text",
"address": "text",
"city": "text",
"country": "text",
"district": "text",
"state": "text",
"postalCode": "text",
"email": "text",
"phone": "text",
"iban": "text",
"isCustomer": true,
"isSupplier": true
}
}WRITE Scope
Creates a new Customer or Supplier from scratch
API Key Authentication
A unique code for this customer / supplier. Should be a unique alpha numeric string.
A short name for this customer / supplier. This will be the visible name of this business entity.
Should be true if this business entity is a customer.
Should be true if this business entity is a supplier.
Legal company name for this business entity that is going to be used in invoices and billing.
TaxID or VAT number of the business entity.
Registered Tax office.
Billing Address of the business entity.
City of the registered billing address.
Country of the registered billing address. You can find the available countries here.
District / region of the registered billing address.
State of the registered billing address.
Postal code of the registered billing address.
Contact person's email
Company's or contact person's phone
IBAN number of the bank account of the business entity.
OK
POST /v1/business-entities HTTP/1.1
Host: api.nuvio.io
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 273
{
"entityCode": "text",
"name": "text",
"isCustomer": true,
"isSupplier": true,
"legalName": "text",
"vatNumber": "text",
"taxOffice": "text",
"address": "text",
"city": "text",
"country": "text",
"district": "text",
"state": "text",
"postalCode": "text",
"email": "text",
"phone": "text",
"iban": "text"
}OK
{
"success": true,
"errors": [
"text"
],
"data": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"entityCode": "text",
"name": "text",
"legalName": "text",
"vatNumber": "text",
"taxOffice": "text",
"address": "text",
"city": "text",
"country": "text",
"district": "text",
"state": "text",
"postalCode": "text",
"email": "text",
"phone": "text",
"iban": "text",
"isCustomer": true,
"isSupplier": true
}
}UPDATE Scope
Updates an existing customer or supplier
API Key Authentication
A unique code for this customer / supplier. Should be a unique alpha numeric string.
A short name for this customer / supplier. This will be the visible name of this business entity.
Should be true if this business entity is a customer.
Should be true if this business entity is a supplier.
Legal company name for this business entity that is going to be used in invoices and billing.
TaxID or VAT number of the business entity.
Registered Tax office.
Billing Address of the business entity.
City of the registered billing address.
Country of the registered billing address. You can find the available countries here.
District / region of the registered billing address.
State of the registered billing address.
Postal code of the registered billing address.
Contact person's email
Company's or contact person's phone
IBAN number of the bank account of the business entity.
OK
PUT /v1/business-entities/{id} HTTP/1.1
Host: api.nuvio.io
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 273
{
"entityCode": "text",
"name": "text",
"isCustomer": true,
"isSupplier": true,
"legalName": "text",
"vatNumber": "text",
"taxOffice": "text",
"address": "text",
"city": "text",
"country": "text",
"district": "text",
"state": "text",
"postalCode": "text",
"email": "text",
"phone": "text",
"iban": "text"
}OK
{
"success": true,
"errors": [
"text"
],
"data": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"entityCode": "text",
"name": "text",
"legalName": "text",
"vatNumber": "text",
"taxOffice": "text",
"address": "text",
"city": "text",
"country": "text",
"district": "text",
"state": "text",
"postalCode": "text",
"email": "text",
"phone": "text",
"iban": "text",
"isCustomer": true,
"isSupplier": true
}
}Last updated