/session

User authentication

post

Get the session access and refresh tokens. Access token will be valid for 5 minutes by default, after that you should request a new token by GET /api/session/refresh.

Get a new access token

get

Get a new access token by providing a valid refresh token

Logout the current user

post

Invalidate the current user refresh token

/vbhapi/users

User requests

get

Get all users

get

Get all clients for the user.

/vbhapi/clients

Client requests

get

Get all clients.

get

Get the client data by id

post

Update the client data. Correct 'user_name' must be provided.

get

Get all users for the client.

get

Get credit information for the client.

get

Get client turnover.

get

Get all articles for the client.

get

Get an article info for the client.

get

Get all article categories for the client.

get

Get the not sent articles.

get

Get the total quantity of not sent articles.

get

Get the client sales turnover.

get

Get deactivated clients. (Not implemented)

/vbhapi/articles

get

Get all articles.

/vbhapi/clients/{client_id}/sales_orders

Sales order requests

get

Get all sales orders for the client.

post

Create a new sales order

get

Get the sales order header.

get

Get all rows for the sales order.

get

Get all taxes for the sales order.

get

Get all consignments for the sales order.

get

Get the consignment header.

get

Get all rows for the consignment.

get

Get all taxes for the consignment.

/vbhapi/clients/{client_id}/sales_invoices

Sales invoice requests

get

Get all sales invoices for the client.

get

Get the sales invoice header.

get

Get all rows for the sales invoice.

get

Get all taxes for the sales invoice.

/vbhapi/signpad

SignPad requests

get

Get all active clients.

get

Get sales consignments for clients.

/vbhapi/catalogs

Catalogs

get

Get all catalogs

get

Get all rows for the catalog.

get

Get all product balances for the catalog.

/vbhapi/catalog_products

Catalog products

get

Get all products