Get Started
The Axim Commerce Open API is a JSON REST API for reading and writing your store's catalog, customers, companies, orders, invoices and B2B data. Use it to connect an ERP, PIM, OMS or any back-office system to your store.
Base URL
Every endpoint path in these docs is relative to your store's base URL:
https://<your-store-domain>/open-api/api
For example, if your store is https://mystore.com, the endpoint GET /brands is called at:
https://mystore.com/open-api/api/brands
In the examples, <BASE_URL> stands for this full base URL.
Paths are case-sensitive. Use them exactly as documented, for example /wareHouse/all and /salesRep, not /warehouse/all or /salesrep.
Authentication
Every request must send an access token in the accessToken header:
curl --request GET '<BASE_URL>/asset/all' \
--header 'accessToken: <ACCESS_TOKEN>'
The header is a plain token. Do not prefix it with Bearer.
Create an API account
Sign in to the Admin Portal and open Settings.

Under General, select API Accounts.

Click Add, enter a name and select the scopes your integration needs.

Click Submit. The portal shows a Client ID, Client Secret and Access Token.

The credentials are shown only once. Store them in a secrets manager, never in client-side code or source control.
Scopes
Each endpoint page lists the scope it requires. In general, GET endpoints need the READ_* scope and endpoints that create, change or delete data need the READ_WRITE_* scope. A token with READ_WRITE_* can also call the matching READ_* endpoints. Some endpoints require no specific scope and accept any valid token.
Grant only the scopes your integration needs.
| Resource | Read scope | Read and write scope |
|---|---|---|
| Products, product filters, product zones | READ_PRODUCT | READ_WRITE_PRODUCT |
| Categories | READ_CATEGORY | READ_WRITE_CATEGORY |
| Companies, addresses | READ_COMPANY | READ_WRITE_COMPANY |
| Corporates | READ_WRITE_COMPANY | READ_WRITE_COMPANY |
| Customers | READ_CUSTOMER | READ_WRITE_CUSTOMER |
| Sales reps | READ_CUSTOMER | READ_WRITE_CUSTOMER (READ_WRITE_QUOTE for sales rep quotes) |
| Customer part numbers | READ_CUSTOMERPARTNUMBER | READ_WRITE_CUSTOMERPARTNUMBER |
| Orders, checkout, customer login | READ_ORDER | READ_WRITE_ORDER |
| Payment terms, payment methods | READ_ORDER | READ_WRITE_ORDER |
| Invoices | READ_INVOICE | READ_WRITE_INVOICE |
| Price lists | READ_PRICELIST | READ_WRITE_PRICELIST |
| Product groups | READ_PRODUCTGROUP | READ_WRITE_PRODUCTGROUP |
| Company groups | READ_COMPANYGROUP | READ_WRITE_COMPANYGROUP |
| Warehouses | READ_WAREHOUSE | READ_WRITE_WAREHOUSE |
| Shipping zones | READ_SHIPPINGZONE | READ_WRITE_SHIPPINGZONE |
| Shopping lists | READ_SHOPPINGLIST | READ_WRITE_SHOPPINGLIST |
| Quotes | READ_QUOTE | READ_WRITE_QUOTE |
| Assets | READ_ASSET | READ_WRITE_ASSET |
| Payment access and payment rules | READ_PAYMENT | READ_WRITE_PAYMENT |
Some endpoints, such as brands and metafields, accept any valid token. The exact scope for each endpoint is on its page.
Requests
- Send request bodies as JSON with
Content-Type: application/json. - IDs are 24-character hexadecimal strings (MongoDB ObjectIds), for example
663a0f1e4587085935a4fa21. - Request bodies are validated strictly. A field that is not documented for an endpoint is rejected, not ignored.
- Timestamps are ISO 8601 strings in UTC.
Responses
Successful responses wrap the result in a data field:
{
"success": true,
"data": { "id": "663a0f1e4587085935a4fa21", "name": "Acme Tools" }
}
Pagination
List endpoints accept page (1-based) and limit query parameters and return a pagination object:
{
"success": true,
"data": [{ "id": "663a0f1e4587085935a4fa21", "name": "Acme Tools" }],
"pagination": { "page": 1, "total": 245, "count": 10 }
}
| Field | Description |
|---|---|
page | Current page number. |
total | Total number of records that match the filters. |
count | Number of records in this page. |
Default page sizes differ between endpoints; each list page states its default.
Filtering
Many list endpoints share these query-parameter filters. Each endpoint page lists the filters it supports.
| Parameter | Example | Meaning |
|---|---|---|
id:in | id:in=6650...a1,6650...b2 | Return only these IDs (comma-separated). |
date_created:min / date_created:max | date_created:min=2024-01-01 | Created on or after / on or before a date. |
date_modified:min / date_modified:max | date_modified:max=2024-06-30 | Updated on or after / on or before a date. |
metafields:<code> | metafields:erp_id=10045 | Metafield <code> equals a value. |
metafields-in:<code> | metafields-in:region=east,west | Metafield <code> equals any of the values. |
See Metafields for how custom fields work.
Errors
Failed requests return success: false and a human-readable message:
{
"success": false,
"message": "\"name\" is required"
}
Most endpoints return HTTP 400 for every failure, including validation errors, unknown IDs and authentication problems, so check success and message rather than relying on the status code alone. Endpoint pages note where a different status code is used.
message | Cause |
|---|---|
Invalid or missing access token | The accessToken header is missing or does not match an API account. |
Access denied | The token does not have a scope the endpoint requires. |
request body is empty | A create or update endpoint was called without a body. |
"<field>" is required, "<field>" is not allowed | The body failed validation. |
Your first request
List the first page of brands:
curl --request GET '<BASE_URL>/brands?page=1&limit=10' \
--header 'accessToken: <ACCESS_TOKEN>'
Next, browse the endpoint reference in the sidebar, starting with Products.