Початок
API Endpoint
https://api.azr.ua/api/
API АЗР надає програмний доступ для читання даних товарів автомобільного магазину. Отримати картинки, товари, автівки, відфільтрувати їх, тощо.
Щоб користуватися цим API, вам потрібна реєстрація та
авторизація. Після чого у Вас буде
ключ API який необхідно передавати у апі (-H 'Authorization: Bearer avxJfzntVd4AZujra5q...').
Для полегшення роботи за апі є свагер за адресою.
(Тут необхідно вставити для авторизації два ключи, їх можно скопіювати звідси
)
Аутентифікація
# Ось приклад curl
curl \
-X POST https://api.azr.ua/token \
-H 'accept: application/json' \
-d '{ "grant_type": "password", "userName": "user", "password": "password" }'
{
"access_token": "PNE4AO1KmM_zBAbwCFi...",
"token_type": "bearer",
"expires_in": 1209599,
"userName": "theUser",
"id": "c9f5b429-1cf5-4f0b-ba63-dcf8c7176b22",
"branchId": "1",
".issued": "Wed, 10 Sep 2025 08:16:01 GMT",
".expires": "Wed, 24 Sep 2025 08:16:01 GMT"
}
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| grant_type |
String |
password |
| userName |
String |
логін користувача |
| password |
String |
пароль користувача |
ACCOUNT - userinfo
# Ось приклад curl
curl -X 'GET' \
'https://api.azr.ua/api/account/userinfo' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujfacFdGkgJLs6w...' \
-H 'token: {%22email%22:%22user008@yahoo.com%22%2C%...}}'
{
"userId": "7b9d1100-8ccc-407f-b842-894a9a86aaeа",
"userName": "user118",
"name": "Єгоров Максим",
"regionName": "Харківська",
"regionId": 17957,
"cityName": "м. Харків",
"cityId": 19207,
"branchId": 1,
"email": "user118@yahoo.com",
"phoneNumber": "380112121111",
"hasRegistered": false,
"loginProvider": "LOCAL AUTHORITY",
"inRoleId": 1
}
БЕЗ ПАРАМЕТРІВ ЗАПИТУ
ACCOUNT - logout
# Ось приклад curl
curl -X 'POST' \
'https://api.azr.ua/api/account/logout' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra...' \
-H 'token: {%22email%22:%22user008@yahoo.com%22%2C%22...}}' \
-d ''
БЕЗ ПАРАМЕТРІВ ЗАПИТУ
ACCOUNT - set-password
# Ось приклад curl
curl -X 'POST' \
'https://api.azr.ua/api/account/set-password' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5qjVHfBaA57t6w_M5Nylt...' \
-H 'token: {%22email%22:%22user118@yahoo.com%222C...}}' \
-H 'Content-Type: application/json' \
-d '{
"userId": "7a9d1100-6ccc-407f-b842-894a9a86aaed",
"code": "1B-EC-AC-FE-72-58-E0-5E-C6-5F-30-1A-15-4B-9B",
"newPassword": "123456"
}'
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| userId |
String |
user id |
| code |
String |
надісланий код з пошти |
| newPassword |
String |
новий пароль |
ACCOUNT - register
# Ось приклад curl
curl -X 'POST' \
'https://api.azr.ua/api/account/register' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"userName": "asdqwe111222",
"password": "123456",
"confirmPassword": "123456",
"lastName": "asd",
"firstName": "qwe",
"phones": [
{
"id": 0,
"phoneNumber": "380961231234",
"isMain": true,
"viber": true,
"whatsapp": true,
"telegram": true
}
],
"emails": [
{
"id": 0,
"email": "asdqwe123456@yahoo.co",
"isMain": true
}
],
"organizationName": "",
"organizationType": "",
"branchId": 1,
"cityId": 1,
"regionId": 1
}'
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| userName |
String |
логін користувача |
| password |
String |
пароль користувача |
| confirmPassword |
String |
підтверждення паролю |
| lastName |
String |
фамілія |
| firstName |
String |
ім'я |
| phones |
Model |
масив телефонів, наприклад: [
{
"phoneNumber": "380961231234",
"viber": true,
"whatsapp": true,
"telegram": true
}
] |
| emails |
Model |
масив поштовиків, наприклад: [
{
"email": "asdqwe123456@yahoo.co",
}
] |
| organizationName |
String |
організація, не обов`язкове |
| organizationType |
String |
тип організації, не обов`язкове |
| branchId |
Integer |
філія, 1 - по замовчуванню |
| cityId |
Integer |
id міста |
| regionId |
Integer |
id області |
ACCOUNT - remind-password
# Ось приклад curl
curl -X 'GET' \
'https://api.azr.ua/api/account/remind-password?userNameOrEmail=holdem' \
-H 'accept: application/json'
true
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| userNameOrEmail |
String |
логін або поштова адреса користувача, не обов'язкове |
| phoneNumber |
String |
телефон користувача, не обов'язкове |
ACCOUNT - check-phone
# Ось приклад curl
curl -X 'POST' \
'https://api.azr.ua/api/account/check-phone' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' -d '{"phoneNumber": "380963273681"}'
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| phoneNumber |
String |
телефон користувача |
ACCOUNTING - BALANCE
# Ось приклад curl
curl -X 'GET' \
'https://api.azr.ua/api/accounting/balance?force=false' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5q...' \
-H 'token: {%22email%22:%22user008@yahoo.com%22%2C%22hasReg...}}'
[
{
"id": 9929,
"userId": "7a9d1100-6ccc-407f-b842-894a9a86aaed",
"user": null,
"currencyNumber": 980,
"currency": null,
"value": 10,
"lastUpdate": "2025-09-11T15:24:55.92",
"creditLimit": 0
}
]
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| force (query) |
Boolean |
true, якщо треба оновити кеш, не обов'язкове |
ACCOUNTING - PAYMENTS-AND-DELIVERIES
# Ось приклад curl
curl -X 'POST' \
'https://api.azr.ua/api/accounting/payments-and-deliveries' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5qjVHfBaA57tN...' \
-H 'token: {%22email%22:%22user008@yahoo.com%22%2C%22hasReg...}}' \
-H 'Content-Type: application/json' \
-d '{
"dateFrom": "2025-08-11T12:31:13.763Z",
"dateTo": "2025-09-11T12:31:13.763Z",
"currencies": [
"UA"
]}'
{
"dateFrom": "11.08.2025 00:00:00",
"dateTo": "11.09.2025 00:00:00",
"groups": [
{
"agreement": "ГРН Єгоров, Максим",
"items": [
{
"documentId": "2972685b-7c09-11f0-aae6-005056830b2b",
"documentName": "Платежное поручение входящее ...",
"documentType": "ПлатежноеПоручениеВходящее",
"documentTypeShort": null,
"knownDocument": false,
"initialBalance": 4,
"income": 0,
"expenditure": 6,
"resultingBalance": 10
}
],
"total": {
"documentId": null,
"documentName": null,
"documentType": null,
"documentTypeShort": null,
"knownDocument": false,
"initialBalance": 4,
"income": 0,
"expenditure": 6,
"resultingBalance": 10
}
}
],
"total": {
"documentId": null,
"documentName": null,
"documentType": null,
"documentTypeShort": null,
"knownDocument": false,
"initialBalance": 4,
"income": 0,
"expenditure": 6,
"resultingBalance": 10
}
}
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| dateFrom |
Datetime |
з якої дати робити репорт |
| DateTo |
Datetime |
по яку дату робити репорт |
| currencies |
Model |
масив 2-х значних кодів країни, наприклад ["UA"] |
ACCOUNTING - defferred-documents
# Ось приклад curl
curl -X 'POST' \
'https://api.azr.ua/api/accounting/defferred-payments?userId=1...&date=2...' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5qjVH...' \
-H 'token: asdqwe...' \
-d ''
{
"groups": [
{
"agreement": "Егоров Сергей - ...",
"total": {
"documentName": null,
"consignmentAmount": 22.11,
"paymentAmount": 20.32,
"debt": 1.79,
"paymentDate": "18.09.25"
},
"items": [
{
"documentName": "Реализация товаров... ",
"consignmentAmount": 22.11,
"paymentAmount": 20.32,
"debt": 1.79,
"paymentDate": "18.09.25"
}
]
}
]
}
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| userId (query) |
String |
id юзера |
| date (string) |
Datetime |
по яку дату робити репорт |
ACCOUNTING - consignment-documents
# Ось приклад curl
curl -X 'GET' \
'https://api.azr.ua/api/accounting/consignment-documents?userId=8... \
&documentId=c...&documentTypeShort=1' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5...' \
-H 'token: asdqwe...'
{
"documentName": "Реализация товаров и услуг ВА000009893 от 18.09.2025 ",
"currency": "USD",
"userId": 12868,
"items": [
{
"articleCode": "HG3411",
"brand": "Hi-Gear",
"description": "Цетан-коректор для дизельного палива, з SMT2 240 мл",
"qty": 1,
"unitOfMeasurement": "шт.",
"price": 12.56,
"total": 12.56
}
]
}
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| userId (query) |
String |
id юзера |
| documentId (string) |
Datetime |
id документа |
| documentTypeShort (query) |
Integer |
1 - РеализацияТоваровУслуг, 2 - ВозвратТоваровОтПокупателя, 3 - ПоступлениеТоваровУслуг, 4 - ВозвратТоваровПоставщику |
CART - GET
# Ось приклад curl
curl -X 'GET' \
'https://api.azr.ua/api/cart' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5qjVHfBa...' \
-H 'token: {%22email%22:%22user008@yahoo.com%22%2C%22hasRegister...}}'
[{"id":16902,"userId":"7a9d1100-6ccc-407f-b842-894a9a86aaed",...}]
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| recordsCount (query) |
Integer |
максимальне число рекордів |
CART - POST
# Ось приклад curl
curl -X 'POST' \
'https://api.azr.ua/api/cart' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5qjVHfBaA57tNfac...' \
-H 'token: {%22email%22:%22user008@yahoo.com%22%2C%22hasRegistered%2...}}' \
-H 'Content-Type: application/json' \
-d '{
"supplierProductId": 3675834609,
"currency": 980
}'
16904
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| supplierProductId (model) |
Integer |
id товара поставщика |
| currency (model) |
Integer |
номер валюти, наприклад 980 - гривня |
CART - DELETE
# Ось приклад curl
curl -X 'DELETE' \
'https://api.azr.ua/api/cart?id=16904' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5qjVHfBaA57tNfac_M5Ny...' \
-H 'token: {%22email%22:%22user008@yahoo.com%22%2C%2...}}'
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| id (query) |
Integer |
id рекорда у кошику |
CART - user-cart-count
# Ось приклад curl
curl -X 'GET' \
'https://api.azr.ua/api/cart/user-cart-count' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZuj...' \
-H 'token: {%22email%22:%22user008@yahoo.com...}}'
2
БЕЗ ПАРАМЕТРІВ ЗАПИТУ
CART - put-by-id
# Ось приклад curl
curl -X 'PUT' \
'https://api.azr.ua/api/cart/16903' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5qjVHfBaA57tNfacFdQb...' \
-H 'token: {%22email%22:%22user008@yahoo.com%22%2C%22hasRegis...}}' \
-H 'Content-Type: application/json' \
-d '{
"qty": 2,
"checked": false
}'
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| qty (model) |
Integer |
кількість товару у кошику |
| checked (model) |
Boolean |
Вибране чи ні |
CART - change-currency
# Ось приклад curl
curl -X 'POST' \
'https://api.azr.ua/api/cart/change-currency' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5qjVHfBaA57t...' \
-H 'token: {%22email%22:%22user008@yahoo.com%22%2C%22hasRegis...}}' \
-H 'Content-Type: application/json' \
-d '{
"currency": 980,
"itemList": [
16902, 16903
]
}'
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| currency (model) |
Integer |
номер валюти |
| itemList (model) |
Model |
масив номерів рекордів у кошику |
CART - check-all
# Ось приклад curl
curl -X 'POST' \
'https://api.azr.ua/api/cart/check-all' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5qjVHfBaA57t...' \
-H 'token: {%22email%22:%22user008@yahoo.com%22%2C%22hasRe...}}' \
-H 'Content-Type: application/json' \
-d '{
"checked": true
}'
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| checked (model) |
Boolean |
Виділити чи зняти виділення всіх товарів |
CATALOG - get-catalog-info
# Ось приклад curl
curl -X 'GET' \
'https://api.azr.ua/api/catalogs/get-catalog-info?catalogSeo=EV-parts-catalog' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5qjVHfBaA57tNf...' \
-H 'token: {%22email%22:%22user008@yahoo.com%22%2C%22hasRegist...}}'
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| catalogSeo (query) |
String |
seo каталога |
CATALOG - get-catalogs-filters-2
# Ось приклад curl
curl -X 'GET' \
'https://api.azr.ua/api/catalogs/get-catalogs-filters-2?catalogId=21' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5qjVHfBaA57tNfacFd...' \
-H 'token: {%22email%22:%22user008@yahoo.com%22%2C%22hasRegistered%22:...}}'
[
{
"id": 57558,
"label": "GoodLink",
"seo": "GoodLink",
"parentId": 55785,
"tag": "Brand",
"orderNumber": 0,
"catalogId": 21,
"productHasValue": false,
"parentCatalogMenuItem": {
"id": 55785,
"label": "виробник",
"seo": "brand",
"parentId": null,
"tag": "Brand",
"orderNumber": 8000,
"catalogId": 21,
"productHasValue": false,
"parentCatalogMenuItem": null
}
},
{
"id": 57559,
"label": "Wei Dian Power",
"seo": "Wei Dian Power",
"parentId": 55785,
"tag": "Brand",
"orderNumber": 0,
"catalogId": 21,
"productHasValue": false,
"parentCatalogMenuItem": {
"id": 55785,
"label": "виробник",
"seo": "brand",
"parentId": null,
"tag": "Brand",
"orderNumber": 8000,
"catalogId": 21,
"productHasValue": false,
"parentCatalogMenuItem": null
}
},
{
"id": 57560,
"label": "Tema Tools",
"seo": "Tema Tools",
"parentId": 55785,
"tag": "Brand",
"orderNumber": 0,
"catalogId": 21,
"productHasValue": false,
"parentCatalogMenuItem": {
"id": 55785,
"label": "виробник",
"seo": "brand",
"parentId": null,
"tag": "Brand",
"orderNumber": 8000,
"catalogId": 21,
"productHasValue": false,
"parentCatalogMenuItem": null
}
},
...
]
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| catalogId (query) |
Integer |
номер каталога |
| catalogSeo (query) |
String |
seo каталога |
CATALOG - get-catalogs-items-2
# Ось приклад curl
curl -X 'POST' \
'https://api.azr.ua/api/catalogs/get-catalogs-items-2' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5qjVHfBaA57tNf...' \
-H 'token: {%22email%22:%22user008@yahoo.com%22%2C%2...}}' \
-H 'Content-Type: application/json' \
-d '{
"page": 1,
"size": 11,
"catalogId": 21
}'
{
"items": [
{
"id": 4833626,
"name": "Розрядний пристрій, інвертор з цифровим табло,...",
"mainArticle": "V2L-GBT-DC-7kW-2",
"simpleArticle": "V2LGBTDC7KW2",
"weight": 7,
"volume": 0.02723,
"volumeWeight": 4.54774,
"length": 46,
"width": 37,
"height": 16,
"inTecdoc": false,
"inAutoUse": false,
"description": "з вилкою GB/T DC БЕЗ ФУНКЦІЇ V2L...",
"keywords": "Розрядний, пристрій, інвертор, з, цифро...",
"title": "Розрядний пристрій для китайських електромобілів",
"articles": [],
"replacements": null,
"productImages": [],
"supplierProducts": [],
"catalogProducts": [
{
"id": 342190,
"catalogMenuItemId": 56721,
"productId": 4833626,
"catalogId": 21,
"catalogMenuItem": {
"id": 56721,
"label": "Розрядник",
"seo": "discharger",
"parentId": 55781,
"tag": null,
"orderNumber": 6998,
"catalogId": 21,
"productHasValue": false,
"parentCatalogMenuItem": null
}
},
...
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| page (model) |
Integer |
номер сторінки |
| size (model) |
Integer |
кількість рядків на сторінці |
| catalogId (model) |
Integer |
номер каталогу |
| сatalogSeo (model) |
Integer |
seo каталогу, якщо не вказан catalogId |
| keyword (model) |
String |
для пошука по входженню по назві продукта |
| propertiesIds (model) |
Model |
значення фільтрів для пошуку, наприклад [{id: 55788, value: 56691, isParent: false}, {id: 55788, value: 56693, isParent: false}] |
CATALOG - get-product-catalogs-items-2
# Ось приклад curl
curl -X 'GET' \
'https://api.azr.ua/api/catalogs/get-product-catalogs-items-2? \
catalogId=21&productId=4833626' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5qjVHfBaA57tNfacFdGkgJLs6w_M5N...' \
-H 'token: {%22email%22:%22user008@yahoo.com%...}'
[
{
"id": 57558,
"label": "GoodLink",
"seo": "GoodLink",
"parentId": 55785,
"tag": "Brand",
"orderNumber": 0,
"catalogId": 21,
"productHasValue": true,
"parentCatalogMenuItem": {
"id": 55785,
"label": "виробник",
"seo": "brand",
"parentId": null,
"tag": "Brand",
"orderNumber": 8000,
"catalogId": 21,
"productHasValue": false,
"parentCatalogMenuItem": null
}
},
{
"id": 57559,
"label": "Wei Dian Power",
"seo": "Wei Dian Power",
"parentId": 55785,
"tag": "Brand",
"orderNumber": 0,
"catalogId": 21,
"productHasValue": false,
"parentCatalogMenuItem": {
"id": 55785,
"label": "виробник",
"seo": "brand",
"parentId": null,
"tag": "Brand",
"orderNumber": 8000,
"catalogId": 21,
"productHasValue": false,
"parentCatalogMenuItem": null
}
},...
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| catalogId (query) |
Integer |
номер каталога |
| productId (query) |
Integer |
номер продукту |
CATALOG - get-catalog-list
# Ось приклад curl
curl -X 'GET' \
'https://api.azr.ua/api/catalogs/get-catalog-list? \
withInternal=false&activeOnly=true' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5qjVHfBaA57tNfacFdGkgJLs6w...' \
-H 'token: {%22email%22:%22user008@yahoo.com%22%2C%22hasRegistere...}'
[
{
"id": 15,
"header": "Запчастини для електромобілів",
"headerDisplay": false,
"name": "Запчастини та аксесуари для електрокарів в наявності",
"seo": "EV-parts-catalog",
"imgPath": "https://cdn.azr.com.ua/img/catalogs/EV-par.webp",
"description": "Каталог запчастин до електромобілей...",
"isActive": true,
"internal": false,
"orderNumber": 50
},
{
"id": 21,
"header": "Зарядні пристрої для електромобілів",
"headerDisplay": true,
"name": "Зарядні пристрої для електромобілей...",
"seo": "chargers-ev",
"imgPath": "https://cdn.azr.com.ua/img/catalogs/Type2GBT3ph1.webp",
"description": "Зарядні пристрої та станції, перехідни...",
"isActive": true,
"internal": false,
"orderNumber": 100
},...
БЕЗ ПАРАМЕТРІВ ЗАПИТУ
DELIVERY - get
# Ось приклад curl
curl -X 'GET' \
'https://api.azr.ua/api/delivery' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5qjVHfBaA57tNfacFdGkgJLs...' \
-H 'token: {%22email%22:%22user008@yahoo.com%22%2C%22hasRegister...}'
[
{
"id": 1,
"name": "Нова пошта",
"sequence": 150,
"active": true,
"costs": 0,
"comments": "- У поштомат від 50 грн\n- У відділення від...",
"imgPath": "http://cdn.azr.com.ua/img/catalogs/Nova_poshta_2.webp",
"deliveryRecords": [
{
"id": 28,
"deliveryOptionId": 1,
"deliveryOptionFieldKey": "name",
"deliveryOptionFieldName": "ПІБ отримувача (назва організації)",
"deliveryOptionFieldType": "TEXT",
"required": true
},
{
"id": 68,
"deliveryOptionId": 1,
"deliveryOptionFieldKey": "phone",
"deliveryOptionFieldName": "Телефон",
"deliveryOptionFieldType": "PHONE",
"required": true
},
{
"id": 69,
"deliveryOptionId": 1,
"deliveryOptionFieldKey": "warehouse",
"deliveryOptionFieldName": "Номер відділення",
"deliveryOptionFieldType": "TEXT",
"required": false
,...
БЕЗ ПАРАМЕТРІВ ЗАПИТУ
DELIVERY - get
# Ось приклад curl
curl -X 'GET' \
'https://api.azr.ua/api/delivery/1' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5qjVHfBaA5...' \
-H 'token: {%22email%22:%22user008@yahoo.com%22%2C%22hasRegister...}'
{
"deliveryOption": {
"id": 1,
"active": true,
"name": "Нова пошта",
"sequence": 150,
"costs": 0,
"comments": "- У поштомат від 50 грн\n- У ...",
"imgPath": "http://cdn.azr.com.ua/img/catalogs/Nova_poshta_2.webp",
"fields": {
"name": true,
"phone": true,
"warehouse": false,
"street": false,
"edrpou": false,
"area": true,
"city": true
}
},
"fieldTypes": {
"text": "Текстовое поле",
"select": "Список",
"phone": "Телефон",
"textBox": "Многострочный текст",
"number": "Число"
},
"fieldList": [
{
"key": "area",
"name": "Область",
"type": "SELECT",
"position": 4,
"required": false
},
{
"key": "areaRegion",
"name": "Район",
"type": "SELECT",
"position": 4,
"required": false
},
{
"key": "areaRegionStr",
"name": "Район",
"type": "TEXT",
"position": 0,
"required": false
},
{
"key": "areaStr",
"name": "Область",
"type": "TEXT",
"position": 0,
"required": false
},
{
"key": "city",
"name": "Населенний пункт",
"type": "SELECT",
"position": 5,
"required": false
},
{
"key": "cityStr",
"name": "Населенний пункт",
"type": "TEXT",
"position": 0,
"required": false
},
{
"key": "cityStreet",
"name": "Вулиця",
"type": "SELECT",
"position": 5,
"required": false
},
{
"key": "cityStreetStr",
"name": "Вулиця",
"type": "TEXT",
"position": 0,
"required": false
},
{
"key": "edrpou",
"name": "Код ЄДРПОУ (для організацій)",
"type": "TEXT",
"position": 2,
"required": false
},
{
"key": "name",
"name": "ПІБ отримувача (назва організації)",
"type": "TEXT",
"position": 1,
"required": false
},
{
"key": "phone",
"name": "Телефон",
"type": "PHONE",
"position": 3,
"required": false
},
{
"key": "postalCode",
"name": "Поштовий індекс",
"type": "TEXT",
"position": 9,
"required": false
},
{
"key": "street",
"name": "Адреса для кур'єрской доставки",
"type": "TEXT",
"position": 8,
"required": false
},
{
"key": "streetBuilding",
"name": "Будинок",
"type": "SELECT",
"position": 9,
"required": false
},
{
"key": "streetBuildingStr",
"name": "Будинок",
"type": "TEXT",
"position": 0,
"required": false
},
{
"key": "warehouse",
"name": "Номер відділення",
"type": "TEXT",
"position": 6,
"required": false
},
{
"key": "warehouseStr",
"name": "Номер відділення",
"type": "TEXT",
"position": 0,
"required": false
}
]
}
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| id (path) |
Integer |
номер комментару |
GARAGE - get
# Ось приклад curl
curl -X 'GET' \
'https://api.azr.ua/api/garage?page=1&size=20' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5qjVHfBaA57t...' \
-H 'token: {%22email%22:%22user008@yahoo.com%...}'
{
"items": [
{
"id": 178,
"name": "Машина Номер1",
"manufacturerName": "ISUZU",
"modelName": "MIDI автобус (94000, 98000)",
"engine": "2.2 l; 4FD1; 61 л.с./45 kW; 4; 2",
"yearManufactured": "06.1988 - 08.1992",
"vin": null,
"mainCatId": 4490,
"userId": "7a9d1100-6ccc-407f-b842-894a9a86aaed",
"userName": "user008",
"plates": "2232323",
"modification": "2.2 D (98000)",
"image": "https://api.azr.ua/cdn//car-models/default.webp",
"comments": "test2",
"bodyType": "автобус",
"wheelDriveType": "Задний привод",
"gearBox": "",
"modelId": 3927,
"brandId": 54
},
{
"id": 162,
"name": null,
"manufacturerName": "BMW",
"modelName": "X1 (F48)",
"engine": "2 l; B48 A20 A/B48 A20 B; 192 л.с./141 kW; 4; 4",
"yearManufactured": "11.2014 - ",
"vin": null,
"mainCatId": 115200,
"userId": "7a9d1100-6ccc-407f-b842-894a9a86aaed",
"userName": "user008",
"plates": null,
"modification": "xDrive 20 i",
"image": "http://cdn.azr.com.ua/img/car-types/BMW/14383.jpg",
"comments": null,
"bodyType": "универсал",
"wheelDriveType": "Полный привод",
"gearBox": "",
"modelId": 14383,
"brandId": 16
},
{
"id": 160,
"name": null,
"manufacturerName": "AUDI",
"modelName": "Q3 (8U)",
"engine": "2.5 l; CTSA; 310 л.с./228 kW; 5; 4",
"yearManufactured": "10.2013 - ",
"vin": null,
"mainCatId": 59663,
"userId": "7a9d1100-6ccc-407f-b842-894a9a86aaed",
"userName": "user008",
"plates": null,
"modification": "RS 2.5 quattro",
"image": "http://cdn.azr.com.ua/img/car-types/AUDI/9731.jpg",
"comments": null,
"bodyType": "вездеход закрытый",
"wheelDriveType": "Полный привод",
"gearBox": "",
"modelId": 9731,
"brandId": 5
}
],
"total": 3,
"page": 1,
"size": 20
}
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| page (uri) |
Integer |
номер сторінки |
| size (uri) |
Integer |
кількість рядків на сторінці |
| filter.userName (uri) |
String |
логін користувача для фільтру |
| filter.modelName (uri) |
String |
модель автівки для фільтру |
| filter.manufacturerName (uri) |
String |
вирбоник автівки для фільтру |
| filter.engine (uri) |
String |
двигун автівки для фільтру |
| filter.wheelDriveType (uri) |
String |
тип приводу для фільтру |
| filter.yearManufactured (uri) |
String |
рік віпуску для фільтру |
| filter.vin (uri) |
String |
vin код для фільтру |
| filter.modification (uri) |
String |
модифікація автіки для фільтру |
| filter.plates (uri) |
String |
номера автівки для фільтру |
| filter.sortBy (uri) |
String |
сортіровка по якомусь полю |
GARAGE - post
# Ось приклад curl
curl -X 'POST' \
'https://api.azr.ua/api/garage' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5qjVHfBaA57tNf...' \
-H 'token: {%22email%22:%22user008@yahoo.com%22%2C%22hasRegiste...}' \
-H 'Content-Type: application/json' \
-d '{
"name": "машина тітки",
"manufacturerName": "BMW",
"modelName": "m5",
"engine": "string",
"yearManufactured": "2006",
"vin": "12345671234567890",
"plates": "string",
"modification": "string",
"image": "string",
"comments": "string",
"bodyType": "string",
"wheelDriveType": "string",
"gearBox": "string"
}'
522
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| name (model) |
Integer |
назва автівки |
| manufacturerName (model) |
Integer |
виробник автівки |
| modelName (model) |
String |
модель автівки |
| modelId (model) |
String |
id моделі |
| brandId (model) |
String |
id виробника |
| engine (model) |
String |
двигун автівки |
| yearManufactured (model) |
String |
рік випуску |
| vin (model) |
String |
vin код |
| mainCatId (model) |
String |
id модифікації автівки |
| plates (model) |
String |
номера автівки |
| modification (model) |
String |
модіфікація автівки |
| image (model) |
String |
зображення автівки |
| comments (model) |
String |
коментарі для автівки |
| bodyType (model) |
String |
тип кузову автівки |
| wheelDriveType (model) |
String |
тип приводу автівки |
| gearBox (model) |
String |
коробка передач |
GARAGE - get
# Ось приклад curl
curl -X 'GET' \
'https://api.azr.ua/api/garage/522' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5qjVHfBaA5...' \
-H 'token: {%22email%22:%22user008@yahoo.com%22%2C%22hasRegistered...}'
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| id (path) |
Integer |
номер автівки |
GARAGE - put
# Ось приклад curl
curl -X 'PUT' \
'https://api.azr.ua/api/garage/522' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5qjVHfBaA57tNf...' \
-H 'token: {%22email%22:%22user008@yahoo.com%22%2C%22hasR...}' \
-H 'Content-Type: application/json' \
-d '{
"name": "машина тітки",
"manufacturerName": "BMW",
"modelName": "m5",
"yearManufactured": "2006",
"vin": "12345671234567890"
}'
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| name (model) |
Integer |
назва автівки |
| manufacturerName (model) |
Integer |
виробник автівки |
| modelName (model) |
String |
модель автівки |
| modelId (model) |
String |
id моделі |
| brandId (model) |
String |
id виробника |
| engine (model) |
String |
двигун автівки |
| yearManufactured (model) |
String |
рік випуску |
| vin (model) |
String |
vin код |
| mainCatId (model) |
String |
id модифікації автівки |
| plates (model) |
String |
номера автівки |
| modification (model) |
String |
модіфікація автівки |
| image (model) |
String |
зображення автівки |
| comments (model) |
String |
коментарі для автівки |
| bodyType (model) |
String |
тип кузову автівки |
| wheelDriveType (model) |
String |
тип приводу автівки |
| gearBox (model) |
String |
коробка передач |
| id (path) |
Integer |
номер автівки |
GARAGE - delete
# Ось приклад curl
curl -X 'DELETE' \
'https://api.azr.ua/api/garage/178' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5qjVHf...' \
-H 'token: {%22email%22:%22user008@yahoo.com%22%2C%22hasRegist...}'
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| id (path) |
Integer |
номер автівки |
MAIN-CATALOG - BRANDS
# Ось приклад curl
curl -X 'GET' \
'https://api.azr.ua/api/maincat-groups/Brands' \
-H 'accept: application/json'
[
{
"id": 2,
"name": "ALFA ROMEO",
"group": "популярные",
"logoUrl": "https://api.azr.ua/cdn//car-brands/2.webp",
"score": 1.2,
"letter": "A"
},
{
"id": 5,
"name": "AUDI",
"group": "популярные",
"logoUrl": "https://api.azr.ua/cdn//car-brands/5.webp",
"score": 4.8,
"letter": ""
},...
БЕЗ ПАРАМЕТРІВ ЗАПИТУ
MAIN-CATALOG - models
# Ось приклад curl
curl -X 'GET' \
'https://api.azr.ua/api/maincat-groups/Models?id=2' \
-H 'accept: application/json'
[
{
"alias": "145",
"name": "145",
"image": "https://api.azr.ua/cdn//car-models/ALFA ROMEO/145.webp",
"years": "1994 - 2001",
"from": 1994,
"to": 2001,
"bunch": "Новые",
"children": [
{
"id": 278,
"name": "145 (930_)",
"from": 1994,
"to": 2001,
"group": "145",
"order": 18,
"manufacturer": "ALFA ROMEO",
"image": "https://api.azr.ua/cdn//car-models/default.webp",
"score": 0
}
]
},...
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| id (query) |
Integer |
номер бренду |
MAIN-CATALOG - modifications
# Ось приклад curl
curl -X 'GET' \
'https://api.azr.ua/api/maincat-groups/Modifications?id=278' \
-H 'accept: application/json'
[
{
"id": 3822,
"name": "1.4 i.e.",
"groupPosition": -1,
"info": "07.1994 - 12.1996; Наклонная задняя часть; Передний привод",
"engineInfo": "1.4 l; AR 33501; 90 л.с./66 kW; 4; 2",
"constructionInterval": "07.1994 - 12.1996",
"powerPs": "90 л.с.",
"powerKw": "66 kW",
"fullName": "ALFA ROMEO 145 (930_) 1.4 i.e.",
"driveType": "Передний привод",
"capacityTax": "1351 ccm",
"capacityTechnical": "1351",
"capacity": "1.4 l",
"numberOfValves": "2",
"numberOfCylinders": "4",
"numberOfValvesText": "8 кл.",
"numberOfCylindersText": "4 цил.",
"engineType": "Бензиновый двигатель",
"bodyType": "Наклонная задняя часть",
"fuelType": "бензин",
"fuelMixture": "Впрыскивание во впускной коллектор/Карбюратор",
"engineCode": "AR 33501",
"brakeSystem": "гидравлический",
"catalysatorType": "с регулируемым катализатором (3-х ступенчатый)",
"asr": "",
"abs": "",
"gearType": "",
"brakeType": ""
}, ...
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| id (query) |
Integer |
номер моделі |
MAIN-CATALOG - categories-tree
# Ось приклад curl
curl -X 'GET' \
'https://api.azr.ua/api/maincat/CategoriesTree?carid=3821' \
-H 'accept: application/json'
[
{
"id": 100001,
"description": "кузов,стёкла,зеркала,салон,бензобак",
"parentId": 0,
"childs": [
{
"id": 100216,
"description": "Топливный бак / комплектующие",
"parentId": 100001,
"childs": []
},
{
"id": 100743,
"description": "Защита двигателя",
"parentId": 100001,
"childs": [
{
"id": 100155,
"description": "Продольная / поперечная балка",
"parentId": 100743,
"childs": []
},...
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| id (query) |
Integer |
номер моделі |
MAIN-CATALOG - parts
# Ось приклад curl
curl -X 'GET' \
'https://api.azr.ua/api/maincat/Parts?carid=3821&nodeid=100259' \
-H 'accept: application/json'
[
{
"article": "L40122",
"simpleArticle": "L40122",
"brand": "1A FIRST AUTOMOTIVE",
"description": "Масляный фильтр",
"supplierId": 4814,
"productId": 0,
"image": "https://cdn.azr.com.ua/img/parts/4814_FO122.jpg",
"properties": [
{
"supplierId": 4814,
"article": "L40122",
"id": 0,
"description": "Штрих код EAN",
"title": "Штрих код EAN",
"value": "8033977006951",
"isHidden": false
},
{
"supplierId": 4814,
"article": "L40122",
"id": 289,
"description": "Размер резьбы",
"title": "Размер резьбы",
"value": "3/4\"-16",
"isHidden": false
,...
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| carid (query) |
Integer |
id модифікації автівки |
| nodeid (query) |
Integer |
id категорії автозапчастин |
MAIN-CATALOG - ProductInfo
# Ось приклад curl
curl -X 'GET' \
'https://api.azr.ua/api/maincat/ProductInfo/64042356' \
-H 'accept: application/json'
{
"1A First Automotive": {
"article": null,
"properties": [
{
"supplierId": 0,
"article": null,
"id": 0,
"description": "Штрих код EAN",
"title": "Штрих код EAN",
"value": "8033977006951",
"isHidden": false
},
{
"supplierId": 0,
"article": null,
"id": 289,
"description": "Размер резьбы",
"title": "Размер резьбы",
"value": "3/4\"-16",
"isHidden": false
},...
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| id (path) |
Integer |
id товара |
MAIN-CATALOG-GROUPS - CategoriesTree
# Ось приклад curl
curl -X 'GET' \
'https://api.azr.ua/api/maincat-groups/CategoriesTree' \
-H 'accept: application/json'
[
{
"id": 100001,
"description": "кузов,стёкла,зеркала,салон,бензобак",
"parentId": 0,
"childs": [
{
"id": 100216,
"description": "Топливный бак / комплектующие",
"parentId": 100001,
"childs": []
},
{
"id": 100217,
"description": "Крепление радиатора",
"parentId": 100001,
"childs": []
,...
БЕЗ ПАРАМЕТРІВ ЗАПИТУ
MAIN-CATALOG-GROUPS - parts
# Ось приклад curl
curl -X 'GET' \
'https://api.azr.ua/api/maincat-groups/Parts?nodeid=100350&limit=100' \
-H 'accept: application/json'
[
{
"article": "13648",
"simpleArticle": "13648",
"brand": "3RG",
"description": "Генератор",
"supplierId": 4598,
"productId": 0,
"image": "https://cdn.azr.com.ua/img/parts/4598_13648.jpg",
"properties": [
{
"supplierId": 4598,
"article": "13648",
"id": 497,
"description": "Наружный диаметр [мм]",
"title": "Внешний диаметр",
"value": "40",
"isHidden": false
},
{
"supplierId": 4598,
"article": "13648",
"id": 209,
"description": "Высота [мм]",
"title": "Высота",
"value": "40",
"isHidden": false
...
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| nodeid (query) |
Integer |
номер категорії автозапчастин |
| limit (query) |
Integer |
кількість товарів |
NEWS - get
# Ось приклад curl
curl -X 'GET' \
'https://api.azr.ua/api/news?page=1&size=20' \
-H 'accept: application/json'
{
"items": [
{
"id": 93,
"newType": 1,
"created": "2025-08-24T10:05:53.22",
"viewed": 0,
"published": 3,
"url": null,
"title": "Нові філії в Одесі та Кременчузі",
"pageTitle": null,
"pageDescription": null,
"pageSeo": null,
"h1": null,
"h1Visible": false,
"actual": "2025-10-31T11:05:36",
...
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| page (query) |
Integer |
номер сторінки |
| size (query) |
Integer |
кількість рядків на сторінці |
| filter.title (query) |
String |
Тайтл новини для фільтру |
| filter.url (query) |
String |
урл новини для сторінки |
| filter.fromCreated (query) |
Date |
з дати створення для філтру |
| filter.toCreated (query) |
Date |
по дату створення для фільтру |
| filter.fromActual (query) |
Date |
з дати актуальності для фільтру |
| filter.toActual (query) |
Date |
по дату актуальності для фільтру |
| filter.shortDescription (query) |
String |
короткий опис для фільтру |
| filter.publish (query) |
Integer |
тип публікації, 1 - Приховано, 2 - Тільки для операторів, 3 - Відображається на сайті |
NEWS - get
# Ось приклад curl
curl -X 'GET' \
'https://api.azr.ua/api/news/93' \
-H 'accept: application/json'
{
"description": "asdqwe...",
"id": 93,
"newType": 1,
"created": "2025-08-24T10:05:53.22",
"viewed": 0,
"published": 3,
"url": null,
"title": "Нові філії в Одесі та Кременчузі",
"pageTitle": null,
"pageDescription": null,
"pageSeo": null,
"h1": null,
"h1Visible": false,
"actual": "2025-10-31T11:05:36",
"shortDescription": "asdqwe...",
"displayed": "Отображается на сайте"
}
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| id (path) |
Integer |
номер новини |
NEWS - latest
# Ось приклад curl
curl -X 'GET' \
'https://api.azr.ua/api/news/latest' \
-H 'accept: application/json'
{
"description": "Компанія АЗР...",
"id": 93,
"newType": 1,
"created": "2025-08-24T10:05:53.22",
"viewed": 0,
"published": 3,
"url": null,
"title": "Нові філії в Одесі та Кременчузі",
"pageTitle": null,
"pageDescription": null,
"pageSeo": null,
"h1": null,
"h1Visible": false,
"actual": "2025-10-31T11:05:36",
"shortDescription": "...",
"displayed": "Отображается на сайте"
}
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| id (path) |
Integer |
номер новини |
OFFER - search
# Ось приклад curl
curl -X 'GET' \
'https://api.azr.ua/api/offer/search/oc90' \
-H 'accept: application/json'
{
"products": [
{
"id": 51727126,
"brand": "Knecht/Mahle",
"name": "Фильтр масла Opel Astra,Kadett,Vectra,Omega...",
"articleCode": "OC 90",
"brandId": 0,
"image": "https://cdn.azr.com.ua/img/parts/287_2673680.webp"
}
],
"searchCode": "oc90"
}
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| code (path) |
String |
артікул авто-запчастини для пошуку |
OFFER - search-by-code-and-brand
# Ось приклад curl
curl -X 'GET' \
'https://api.azr.ua/api/offer/search-by-code-and-brand?code=SP928& \
brand=ALCO-FILTER' \
-H 'accept: application/json'
{
"id": 237864,
"name": "Фильтр 79x98 3/4 - 16UNF",
"mainArticle": "SP-928",
"simpleArticle": "SP928",
"weight": 0,
"volume": 0,
"volumeWeight": 0,
"length": null,
"width": null,
"height": 9.8,
"inTecdoc": true,
"inAutoUse": true,
"description": "Фильтр",
"keywords": null,
"title": null,
"articles": [],
"replacements": [],
"brandId": 96,
"brand": {
"name": "ALCO FILTER",
"simpleCode": "ALCOFILTER"
},
"info": null,
"previewImage": "180_SP-928.webp",
"photos": [],
"notApprovedPhotos": [],
"catalogIds": [],
"videoIsPresent": false,
"commentIsPresent": false,
"watermarkId": 0
}
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| code (query) |
String |
артікул авто-запчастини для пошуку |
| brand (query) |
String |
бренд авто-запчастини для пошуку |
OFFER - part
# Ось приклад curl
curl -X 'GET' \
'https://api.azr.ua/api/offer/part/32564' \
-H 'accept: application/json'
{
"productId": 32564,
"article": "260705",
"name": "Тяга стабілізатора задн. Ford Focus/C-MAX 10-",
"brand": "A.B.S.",
"brandId": 18,
"image": "https://cdn.azr.com.ua/img/parts/206_260705.webp",
"photos": [],
"azrStore": false,
"items": [
{
"id": 3968439346,
"remark": null,
"quantity": 20,
"deliveryDays": 2,
"deliveryTime": "15:40",
"prices": {
"rmb": 26.0,
"usd": 4.15,
"eur": 3.53,
"uah": 174.0,
"uah-vat": 231.0,
"pln": 19.5
},
"expired": false,
"azrStore": false,
"showDeliveryDays": false,
"supplierAzrName": null,
"supplierShowContacts": false,
"supplierId": 482.0,
"isNotReturn": false,
"isPastUsage": false,
"costOfDeliveryKg": 0.00,
"costOfDeliveryM3": 0.00,
"costOfDeliveryVolume": 0.00,
"multiplicityOfSale": 1,
"supplierOwnerByUserId": false,
"originalPrices": {}
},
{
"id": 3968439347,
"remark": null,
"quantity": 5,
"deliveryDays": 4,
"deliveryTime": "14:40",
"prices": {
"rmb": 26.0,
"usd": 4.15,
"eur": 3.53,
"uah": 174.0,
"uah-vat": 231.0,
"pln": 19.5
},
"expired": false,
"azrStore": false,
"showDeliveryDays": false,
"supplierAzrName": null,
"supplierShowContacts": false,
"supplierId": 465.0,
"isNotReturn": false,
"isPastUsage": false,
"costOfDeliveryKg": 0.00,
"costOfDeliveryM3": 0.00,
"costOfDeliveryVolume": 0.00,
"multiplicityOfSale": 1,
"supplierOwnerByUserId": false,
"originalPrices": {}
},
{
"id": 3972054671,
"remark": null,
"quantity": 30,
"deliveryDays": 2,
"deliveryTime": "17:00",
"prices": {
"rmb": 28.0,
"usd": 4.32,
"eur": 3.72,
"uah": 183.0,
"uah-vat": 194.0,
"pln": 20.5
},
"expired": false,
"azrStore": false,
"showDeliveryDays": false,
"supplierAzrName": null,
"supplierShowContacts": false,
"supplierId": 305.0,
"isNotReturn": false,
"isPastUsage": false,
"costOfDeliveryKg": 0.00,
"costOfDeliveryM3": 0.00,
"costOfDeliveryVolume": 0.00,
"multiplicityOfSale": 1,
"supplierOwnerByUserId": false,
"originalPrices": {}
},
{
"id": 3942510749,
"remark": null,
"quantity": 12,
"deliveryDays": 15,
"deliveryTime": "17:00",
"prices": {
"rmb": 36.0,
"usd": 5.66,
"eur": 4.87,
"uah": 239.0,
"uah-vat": 317.0,
"pln": 26.8
},
"expired": false,
"azrStore": false,
"showDeliveryDays": false,
"supplierAzrName": null,
"supplierShowContacts": false,
"supplierId": 392.0,
"isNotReturn": false,
"isPastUsage": false,
"costOfDeliveryKg": 0.00,
"costOfDeliveryM3": 0.00,
"costOfDeliveryVolume": 0.00,
"multiplicityOfSale": 1,
"supplierOwnerByUserId": false,
"originalPrices": {}
},
{
"id": 3971216857,
"remark": null,
"quantity": 8,
"deliveryDays": 1,
"deliveryTime": "13:00",
"prices": {
"rmb": 51.0,
"usd": 8.05,
"eur": 6.93,
"uah": 340.0,
"uah-vat": 449.0,
"pln": 38.2
},
"expired": false,
"azrStore": false,
"showDeliveryDays": false,
"supplierAzrName": null,
"supplierShowContacts": false,
"supplierId": 14.0,
"isNotReturn": false,
"isPastUsage": false,
"costOfDeliveryKg": 0.00,
"costOfDeliveryM3": 0.00,
"costOfDeliveryVolume": 0.00,
"multiplicityOfSale": 1,
"supplierOwnerByUserId": false,
"originalPrices": {}
},
{
"id": 3942506600,
"remark": null,
"quantity": 12,
"deliveryDays": 9,
"deliveryTime": "17:00",
"prices": {
"rmb": 55.0,
"usd": 8.69,
"eur": 7.48,
"uah": 367.0,
"uah-vat": 485.0,
"pln": 41.2
},
"expired": false,
"azrStore": false,
"showDeliveryDays": false,
"supplierAzrName": null,
"supplierShowContacts": false,
"supplierId": 392.0,
"isNotReturn": false,
"isPastUsage": false,
"costOfDeliveryKg": 0.00,
"costOfDeliveryM3": 0.00,
"costOfDeliveryVolume": 0.00,
"multiplicityOfSale": 1,
"supplierOwnerByUserId": false,
"originalPrices": {}
},
{
"id": 3967723017,
"remark": null,
"quantity": 26,
"deliveryDays": 8,
"deliveryTime": "15:00",
"prices": {
"rmb": 57.0,
"usd": 9.03,
"eur": 7.78,
"uah": 382.0,
"uah-vat": 504.0,
"pln": 42.8
},
"expired": false,
"azrStore": false,
"showDeliveryDays": false,
"supplierAzrName": null,
"supplierShowContacts": false,
"supplierId": 438.0,
"isNotReturn": false,
"isPastUsage": false,
"costOfDeliveryKg": 0.00,
"costOfDeliveryM3": 0.00,
"costOfDeliveryVolume": 0.00,
"multiplicityOfSale": 1,
"supplierOwnerByUserId": false,
"originalPrices": {}
}
],
"googleLdJsonProduct": "{\r\n \"@context\": \"https://schema.org\",...}",
"hasProductInfo": true
}
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| id (path) |
String |
id товара |
OFFER - analogs
# Ось приклад curl
curl -X 'GET' \
'https://api.azr.ua/api/offer/analogs/237864' \
-H 'accept: application/json'
[
{
"productId": 10155923,
"article": "BE8Z6731AB",
"name": "Фільтр масляний Ø75 H=86 4\" 16 ...",
"brand": "FORD",
"brandId": 1197,
"image": "https://azr.com.ua/Products/7fc84...",
"photos": [],
"azrStore": false,
"items": [
{
"id": 3705613137,
"remark": "",
"quantity": 1,
"deliveryDays": 1,
"deliveryTime": "9:30",
"prices": {
"rmb": 122,
"usd": 19.45,
"eur": 16.66,
"uah": 813,
"uah-vat": 1075,
"pln": 91.3
},...
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| id (path) |
String |
id товара |
OFFER - filter
# Ось приклад curl
curl -X 'POST' \
'https://api.azr.ua/api/offer/filter' \
-H 'accept: application/json' \
-d '{mainItem: {productId: 237864, article: "SP-928", simpleArticle: "S…},…}'
{
"brands": [
{
"id": 96,
"name": "ALCO FILTER"
},
{
"id": 435,
"name": "BOSCH"
},...
],
"main": {
"productId": 237864,
"article": "SP-928",
"simpleArticle": "SP928",
"name": "Фильтр 79x98 3/4 - 16UNF",
"videoIsPresent": false,
"googleLdJsonProduct": "{\r\n \"@context\": ,...\r\n}",
...
},
"analogs": [
{
"laximoReferences": [],
"productId": 10155923,
"article": "BE8Z6731AB",
"simpleArticle": "BE8Z6731AB",
"name": "Фільтр масляний Ø75 H=86 3/4\" 16 UNF-2B ...",
"info": null,
"brand": "FORD",
"brandId": 1197,
"image": "https://azr.com.ua/Products/7fc8...",
"photos": [],
"hasProductInfo": false,
"inAutoUse": false,
"items": [
{
"id": 3705613137,
"remark": "",
"quantity": 1,
"deliveryDays": 2,
"deliveryTime": "9:30",
"prices": {
"rmb": 122.0,
"usd": 19.45,
"eur": 16.66,
"uah": 813.0,
"uah-vat": 1075.0,
"pln": 91.3
},
"disabled": false,
"expired": false,
"azrStore": true,
"showDeliveryDays": false,
"supplierName": "АЗР резерв",
"supplierAzrName": "АЗР Харків-1",
...
"brandLaximoId": null,
"videoIsPresent": false,
"googleLdJsonProduct": null
}
],
"deliveryDays": [
1,
2,
3,
...
],
"quantities": [
1,
2,
3,
4,
... ],
"minPrice": 122,
"maxPrice": 5851,
"filter": {
"sortBy": "PRICE_ASC",
"maxDelivery": null,
"minQty": null,
"minPrice": null,
"maxPrice": null,
"currency": "uah",
"brands": []
}
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| MainItem (Body) |
OfferRecord |
головна пропозиція |
| filter (Body) |
OfferFilter |
фільтр |
| analogs (Body) |
List<OfferRecord> |
аналоги |
ORDER - get
# Ось приклад curl
curl -X 'GET' \
'https://api.azr.ua/api/order?page=1&size=20&filter.statuses=Cancelled' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5qjV...' \
-H 'token: {%22email%22:%22user008@yahoo.com%22%2C%22ha...}'
{"items":[{"id":606433,"operatorName":"Евгенев Кирило",...}}
БЕЗ ПАРАМЕТРІВ ЗАПИТУ
ORDER - post
# Ось приклад curl
curl -X 'POST' \
'https://api.azr.ua/api/order' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra...' \
-H 'token: {%22email%22:%22user008@yahoo.com%22%2C%22hasRegist...}' \
-H 'Content-Type: application/json' \
-d '{
"cartItemIdList": [
17193
]
}'
{
"id": 606469
}
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| cartItemIdList (BODY) |
Array<Integer> |
масив id рекордів у кошику |
ORDER - get
# Ось приклад curl
curl -X 'GET' \
'https://api.azr.ua/api/order/606468' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5qjVHfBaA57t...' \
-H 'token: {%22email%22:%22user008@yahoo.com%22%2C%22ha...}'
{
"id": 606468,
"userId": "7a9d1100-6ccc-407f-b842-894a9a86aaed",
"userName": "user008",
"operatorId": null,
"operatorName": null,
"status": "Completed",
"modified": "2025-09-16T10:00:54.263",
"created": "2025-09-16T10:00:54.263",
"branchId": 1,
"branchName": "Харків-1",
"deliveryAddressId": null,
"orderLines": [
{
"productId": 57554565,
"status": "CancelledByClient",
"brandName": "JRONE",
"articleCode": "1700-040-006",
"articleDescription": "Радиальный гидроподшипник (втулка) K14/K16/K24",
"daysToDeliver": 0,
"qty": 1,
"price": 107,
"vatIncluded": false,
"previewImage": "https://api.azr.ua/cdn//no-image.webp",
"expectedDeliveryDate": "2025-09-16T10:00:54.2633333",
"statusName": "Знятий клієнтом",
"workPrice": 0,
"isPastUsage": false,
"isNotReturn": false,
"deliveryCosts": 0,
"costOfDeliveryKg": 0,
"costOfDeliveryM3": 0,
"costOfDeliveryVolume": 0,
"totalPrice": 107
}
],
"currency": {
"symbol": "грн",
"code": "UAH",
"decimals": 0,
"azrExchangeRate": 1
},
"totalPrice": 107,
"workPrice": 0,
"productsPrice": 107,
"comment": null,
"deliveryAddress": null
}
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| id (path) |
Integer |
номер замовлення |
ORDER - request-cancellation
# Ось приклад curl
curl -X 'POST' \
'https://api.azr.ua/api/order/request-cancellation/606468' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5qjVHfBaA57t...' \
-H 'token: {%22email%22:%22user008@yahoo.com%22%2C%22hasRegist...}' \
-d ''
"cancelledByClient"
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| id (path) |
Integer |
номер замовлення |
ORDER - delivery-data
# Ось приклад curl
curl -X 'GET' \
'https://api.azr.ua/api/order/606470/delivery-data' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5qjVHfBaA57tNfacFdGk...' \
-H 'token: {%22email%22:%22user008@yahoo.com%22%2C%22hasRegiste...}'
{
"id": 606470,
"userId": "7a9d1100-6ccc-407f-b842-894a9a86aaed",
"userName": "user008",
"operatorId": null,
"operatorAssignDate": null,
"operatorName": null,
"operatorUserName": null,
"operatorPhones": [],
"status": "Completed",
"deliveryCosts": 0,
"remark": null,
"modified": "2025-09-16T10:15:15.47",
"created": "2025-09-16T10:14:26.663",
"sync": true,
"paid": false,
"branchId": 1,
"branchName": null,
"preferredOperatorId": null,
"deliveryAddressId": 1983,
"orderDeliveryTypeName": "Самовивіз з складів АЗР",
"orderLines": [],
"currency": null,
"totalPrice": 0,
"workPrice": 0,
"productsPrice": 0,
"comment": null,
"deliveryAddress": {
"id": 1983,
"deliveryOptionId": 2,
"preferred": false,
"userId": "7a9d1100-6ccc-407f-b842-894a9a86aaed",
"records": [
{
"id": 15575,
"deliveryAddressId": 1983,
"key": "name",
"value": "Барган Максим",
"deliveryOptionField": null
},
{
"id": 15576,
"deliveryAddressId": 1983,
"key": "phone",
"value": "380112121111",
"deliveryOptionField": null
}
],
"deliveryOption": {
"id": 2,
"name": "Самовивіз з складів АЗР",
"sequence": 1,
"active": true,
"costs": 0,
"comments": "- Харків, Харківська набережна 9\n- Полтава...",
"imgPath": "https://cdn.azr.com.ua/img/catalogs/azr_logo...",
"deliveryRecords": []
}
},
"userEmail": "user008@yahoo.com"
}
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| id (path) |
Integer |
номер замовлення |
SUPPLIER-PRODUCTS - get
# Ось приклад curl
curl -X 'GET' \
https://api.azr.ua/api/supplier-products?size=20&page=1&article=256031751 \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5qj...' \
-H 'token: {%22email%22:%22user008@yahoo.com%22%2C%22hasRegis...}'
[
{
"id": 3687800876,
"userName": "Vinnik",
"userId": "0f6cb42b-c927-490d-cc91-c71f8f070bb9",
"supplierName": "ФОП Винник ",
"article": "256031751",
"brandName": "ZIMMERMANN",
"productName": "Комплект тормозных колодок",
"pricePlus": 0.00,
"currencyCode": 978,
"productId": 45644086,
"weight": 0.00000,
"volume": 0.00000,
"volumeWeight": 0.00000,
"price": 29.13,
"qty": 1,
"daysToDeliver": 0,
"remark": null,
"costOfDeliveryKg": 0.00,
"costOfDeliveryM3": 0.00,
"costOfDeliveryVolume": 0.00,
"multiplicityOfSale": 1,
"isNotReturn": false,
"isPastUsage": false,
"supplierId": 912,
"supplierBrand": "ZIMMERMANN",
"supplierArticle": "25603.175.1"
}
]
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| page (query) |
Integer |
номер сторінки |
| size (query) |
Integer |
кількість рідків на сторінці |
| page (query) |
Integer |
номер сторінки |
| filter.userId (query) |
String |
id юзера |
| filter.supplierId (query) |
Integer |
номер поставщика |
| filter.article (query) |
String |
артікул автозапчастини |
| filter.brand (query) |
String |
бренд автозапчастини для фільтрації |
| filter.name (query) |
String |
назва автозапчастини |
| filter.nonUsed (query) |
Boolean |
вживане чи ні |
| filter.isNotReturn (query) |
Boolean |
можливість повернення |
| filter.qtyFrom (query) |
Integer |
з кількістю біль ніж |
| filter.qtyTo (query) |
Integer |
з кількістю мень ніж |
| filter.priceFrom (query) |
Integer |
з ціною більше ніж |
| filter.priceTo (query) |
Integer |
з ціною меньше ніж |
| filter.daysToDeliverFrom (query) |
Integer |
з днями поставками починаючи з |
| filter.daysToDeliverTo (query) |
Integer |
з днями поставками меньше ніж |
| filter.multiplicityOfSaleFrom (query) |
Integer |
кратність продажу |
| filter.multiplicityOfSaleFrom (query) |
Integer |
кратність продажу |
| filter.multiplicityOfSaleFrom (query) |
Integer |
з кратності продажу починаючи з |
| filter.multiplicityOfSaleTo (query) |
Integer |
з кратності продажу меньше ніж |
| filter.costOfDeliveryVolumeFrom (query) |
Integer |
з ціною доставки за об'ємну вагу кг починаючи з |
| filter.costOfDeliveryVolumeTo (query) |
Integer |
з ціною доставки за об'ємну вагу кг меньше ніж |
SUPPLIER-PRODUCTS - get
# Ось приклад curl
curl -X 'GET' \
'https://api.azr.ua/api/supplier-products/112' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5qjVHfBaA57tNfacFd...' \
-H 'token: asdqwe...'
{
"optional": "",
"trackVat": false,
"ordersManagerId": null,
"mainCurrencyRate": 1.00,
"deliveryFactor": 0.00,
"bankFactor": 0.00,
"paymentCurrencyCode": 980,
"supplierGroup": null,
"supplierGroupOffer": null,
"operator": null,
"sync": false,
"azrStore": false,
"azrName": null,
"partner": null,
"extra": 0.00,
"showContacts": false,
"showDeliveryDays": false,
"contactPerson": "",
"phones": "380343434343;",
"skype": "",
"emails": "dsdsd@dddddffghh.com;",
"vatIncluded": false,
"offerExpirationDate": "2025-10-18T10:30:26.09",
"rates": [
{
"id": 3727,
"currencyNumber": 156,
"supplierId": 718,
"rate": 0.1492537,
"isPayment": false,
"isMain": false
},
{
"id": 3728,
"currencyNumber": 840,
"supplierId": 718,
"rate": 0.02392345,
"isPayment": false,
"isMain": false
},
{
"id": 3729,
"currencyNumber": 978,
"supplierId": 718,
"rate": 0.0204918,
"isPayment": false,
"isMain": false
},
{
"id": 3730,
"currencyNumber": 980,
"supplierId": 718,
"rate": 1.0,
"isPayment": true,
"isMain": true
},
{
"id": 3731,
"currencyNumber": 985,
"supplierId": 718,
"rate": 0.1123596,
"isPayment": false,
"isMain": false
}
],
"id": 718,
"name": "Dragon_K",
"currency": {
"number": 980,
"code": "UAH",
"symbol": "грн",
"description": "Гривня",
"order": 1,
"azrExchangeRate": 1.0,
"isMainAzrCurrency": false,
"decimals": 0
},
"cityId": 7556,
"regionId": 0,
"city": {
"id": 7556,
"name": "м. Київ",
"priority": 1,
"parentId": 7555,
"region": {
"id": 7555,
"name": "Київ",
"priority": 3,
"parentId": null,
"region": null
}
},
"expirationDaysLeft": 31,
"offerExpiration": 30,
"disabled": false,
"blockedByAdmin": false,
"latestOrderTime": "2025-01-20T19:00:03.757",
"lastImportDate": "2025-09-14T10:30:26.09",
"vat": false,
"userId": "c8f5b429-1cf5-4f0b-ba63-dbf8c7176b61",
"userName": "maxik53",
"isNotReturn": false,
"contactsViews": 0
}
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| id (path) |
Integer |
номер складу |
SUPPLIER-PRODUCTS - delete
# Ось приклад curl
curl -X 'DELETE' \
'https://api.azr.ua/api/supplier-products/3713872954' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5qjVHfBaA57tNf...' \
-H 'token: {%22email%22:%22user008@yahoo.com%22%...}'
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| id (path) |
Integer |
номер складу |
SUPPLIER-PRODUCTS - patch
# Ось приклад curl
curl -X 'POST' \
'https://api.azr.ua/api/supplier-products/5' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5qj...' \
-H 'token: {%22email%22:%22user008@yahoo.com%22%2C%22hasRe...}' \
-H 'Content-Type: application/json' \
-d '{
"price": 11212210,
"pricePlus": 0,
"qty": 20,
"daysToDeliver": 10,
"remark": "",
"costOfDeliveryKg": 0,
"costOfDeliveryM3": 0,
"costOfDeliveryVolume": 0,
"multiplicityOfSale": 0,
"isNotReturn": true,
"isPastUsage": true,
"supplierId": 928
}'
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| id (path) |
Integer |
номер складу |
| pricePlus (model) |
Integer |
вартість доставки |
| qty (model) |
Integer |
кількість товару |
| daysToDeliver (model) |
Integer |
дні доставки |
| remark (model) |
String |
комментар |
| costOfDeliveryKg (model) |
Integer |
вартість доставки за кг |
| costOfDeliveryM3 (model) |
Integer |
вартість доставки за м³ |
| costOfDeliveryM3 (model) |
Integer |
вартість доставки за об'ємну вагу кг |
| multiplicityOfSale (model) |
Integer |
кратність продажу |
| isNotReturn (model) |
Boolean |
можливість повернення |
| isPastUsage (model) |
Boolean |
вживане чи ні |
| supplier id (model) |
Integer |
номер складу |
SUPPLIER-PRODUCTS - post
# Ось приклад curl
curl -X 'POST' \
'https://api.azr.ua/api/supplier-products/5' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5qj...' \
-H 'token: {%22email%22:%22user008@yahoo.com%22%2C%22hasRe...}' \
-H 'Content-Type: application/json' \
-d '{
"price": 11212210,
"pricePlus": 0,
"qty": 20,
"daysToDeliver": 10,
"remark": "",
"costOfDeliveryKg": 0,
"costOfDeliveryM3": 0,
"costOfDeliveryVolume": 0,
"multiplicityOfSale": 0,
"isNotReturn": true,
"isPastUsage": true,
"supplierId": 928
}'
3718247256
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| id (path) |
Integer |
номер складу |
| pricePlus (model) |
Integer |
вартість доставки |
| qty (model) |
Integer |
кількість товару |
| daysToDeliver (model) |
Integer |
дні доставки |
| remark (model) |
String |
комментар |
| costOfDeliveryKg (model) |
Integer |
вартість доставки за кг |
| costOfDeliveryM3 (model) |
Integer |
вартість доставки за м³ |
| costOfDeliveryM3 (model) |
Integer |
вартість доставки за об'ємну вагу кг |
| multiplicityOfSale (model) |
Integer |
кратність продажу |
| isNotReturn (model) |
Boolean |
можливість повернення |
| isPastUsage (model) |
Boolean |
вживане чи ні |
| supplier id (model) |
Integer |
номер складу |
SUPPLIER-PRODUCTS - price-plus
# Ось приклад curl
curl -X 'POST' \
'https://api.azr.ua/api/supplier-products/price-plus/5' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5q...' \
-H 'token: {%22email%22:%22user008@yahoo.com%22%2C%22hasRe...}' \
-H 'Content-Type: application/json' \
-d '{
"price": 100,
"costOfDeliveryKg": 10,
"costOfDeliveryM3": 0,
"costOfDeliveryVolume": 0
}'
110
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| id (path) |
Integer |
номер товару |
| price (model) |
Integer |
вартість товару |
| costOfDeliveryKg (model) |
Integer |
вартість за кг |
| costOfDeliveryM3 (model) |
Integer |
вартість за м³ |
| costOfDeliveryVolume (model) |
Integer |
вартість за об'ємний кг |
SUPPLIERS - get
# Ось приклад curl
curl -X 'GET' \
'https://api.azr.ua/api/suppliers?page=1&size=20' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5qjVHfBaA5...' \
-H 'token: {%22email%22:%22user008@yahoo.com%22%2C...}'
{
"items": [
{
"id": 928,
"name": "Супер Горох",
"currency": {
"symbol": "грн",
"code": "UAH",
"decimals": 0,
"azrExchangeRate": 1
},
"expirationDaysLeft": 11,
"offerExpiration": 10,
"disabled": false,
"blockedByAdmin": false,
"latestOrderTime": "2025-09-16T19:00:52.98",
"lastImportDate": "2025-09-17T09:40:23.647",
"vat": false,
"isNotReturn": false,
"extra": 0,
"showContacts": false,
"contactsViews": 0
}
],
"total": 1,
"page": 1,
"size": 20,
"sortBy": null
}
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| page (query) |
Integer |
номер сторінки |
| size (query) |
Integer |
кількість рядків на сторінці |
| filter.name (query) |
String |
назва складу для фільтру |
| filter.expirationDaysLeft (query) |
Integer |
кількість днів до експірації |
| filter.offerExpiration (query) |
Integer |
кількість днів торгової пропозиції |
| filter.vat (query) |
Boolean |
true, якщо ПДВ включено |
| filter.latestOrderTime (query) |
Date |
закази приймаються до цього часу |
| filter.lastImportDate (query) |
Date |
остання дата імпорту |
| filter.userName (query) |
String |
ім'я користувача-власника складу |
| filter.expiredStatuses (query) |
String |
статуси експірації через кому, наприклад: EXPIRATION, DISABLED, BLOCKED |
| filter.sortBy (query) |
String |
сортіровка по вказаному філду |
SUPPLIERS - post
# Ось приклад curl
curl -X 'POST' \
'https://api.azr.ua/api/suppliers' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5q...' \
-H 'token: {%22email%22:%22user008@yahoo.com%22%2C%22hasRegi...}' \
-H 'Content-Type: application/json' \
-d '{
"name": "Віннік ФОП 2",
"contactPerson": "Віннік",
"emails": "vinnik2@gmail.com",
"phones": "380961231234;",
"skype": "",
"optional": "",
"cityId": 1,
"mainCurrencyCode": 980,
"mainCurrencyRate": 1,
"paymentCurrencyCode": 980,
"isNotReturn": true,
"vatIncluded": true,
"latestOrderTime": "2025-09-17T07:03:33.647Z",
"lastImportDate": "2025-09-17T07:03:33.647Z",
"bankFactor": 0,
"deliveryFactor": 0,
"disabled": true,
"extra": 0,
"showContacts": true,
"showDeliveryDays": true
}'
930
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| name (model) |
String |
назва складу |
| contactPerson (model) |
String |
контактна персона |
| emails (model) |
String |
поштови адреси через крапку з комою |
| phones (model) |
String |
телефони через крапку з комою |
| skype (model) |
String |
логін скайпу |
| optional (model) |
String |
примітка |
| cityId (model) |
Integer |
id міста |
| mainCurrencyCode (model) |
Integer |
id основної валюти |
| isNotReturn (model) |
Boolean |
true, якщо повернення заборонено |
| vatIncluded (model) |
Boolean |
ПДВ включено |
| latestOrderTime (model) |
Date |
час останнього заказу |
| lastImportDate (model) |
Date |
час останнього імпорту |
| bankFactor (model) |
Integer |
коміссія банку, не обов'язкове |
| DeliveryFactor (model) |
Integer |
коміссія доставки, не обов'язкове |
| disabled (model) |
Boolean |
виключен чи ні |
| vatIncluded (model) |
Boolean |
ПДВ включено |
SUPPLIERS - get
# Ось приклад curl
curl -X 'GET' \
'https://api.azr.ua/api/suppliers/930' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5qjV...' \
-H 'token: asdqwe...'
{
"id": 930,
"name": "Віннік ФОП 2",
"currency": {
"number": 980,
"code": "UAH",
"symbol": "грн",
"description": "Гривня",
"order": 1,
"azrExchangeRate": 1,
"isMainAzrCurrency": false,
"decimals": 0
},
"city": {
"id": 1,
"name": "Вінницька",
"priority": 3,
"parentId": null,
"region": null
},
"expirationDaysLeft": 11,
"offerExpiration": 10,
"blockedByAdmin": false,
"disabled": true,
"latestOrderTime": "2025-09-17T07:03:33.647",
"lastImportDate": "2025-09-17T07:03:33.647",
"vat": false,
"userId": "7a9d1100-6ccc-407f-b842-894a9a86aaed",
"userName": "user008",
"contactPerson": "Віннік",
"phones": "380961231234;",
"skype": "",
"emails": "vinnik2@gmail.com",
"vatIncluded": true,
"isNotReturn": true,
"offerExpirationDate": null,
"extra": 0,
"showContacts": true,
"showDeliveryDays": true
}
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| id (path) |
Integer |
id складу |
SUPPLIERS - put
# Ось приклад curl
curl -X 'PUT' \
'https://api.azr.ua/api/suppliers/930' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5qjVHfBaA57tN...' \
-H 'token: {%22email%22:%22user008@yahoo.com%22%2C%22hasRegi...}' \
-H 'Content-Type: application/json' \
-d '{
"name": "Віннік ФОП 3",
"cityId": 140,
"contactPerson": "",
"emails": "user009@yahoo.com;",
"phones": "380961231234",
"skype": "string",
"optional": "",
"userId": "7a9d1100-6ccc-407f-b842-894a9a86aaed",
"mainCurrencyCode": 840,
"paymentCurrencyCode": 840,
"offerExpiration": 10,
"isNotReturn": true,
"vatIncluded": true,
"latestOrderTime": "2025-09-17T08:50:42.336Z",
"bankFactor": 0,
"deliveryFactor": 0,
"mainCurrencyRate": 0,
"groupId": 0,
"groupOfferId": 0,
"extra": 0,
"showContacts": true,
"showDeliveryDays": true
}'
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| id (path) |
Integer |
id складу |
| name (model) |
String |
назва складу |
| contactPerson (model) |
String |
контактна персона |
| emails (model) |
String |
поштови адреси через крапку з комою |
| phones (model) |
String |
телефони через крапку з комою |
| skype (model) |
String |
логін скайпу |
| optional (model) |
String |
примітка |
| cityId (model) |
Integer |
id міста |
| mainCurrencyCode (model) |
Integer |
id основної валюти |
| isNotReturn (model) |
Boolean |
true, якщо повернення заборонено |
| vatIncluded (model) |
Boolean |
ПДВ включено |
| latestOrderTime (model) |
Date |
час останнього заказу |
| lastImportDate (model) |
Date |
час останнього імпорту |
| bankFactor (model) |
Integer |
коміссія банку, не обов'язкове |
| DeliveryFactor (model) |
Integer |
коміссія доставки, не обов'язкове |
| disabled (model) |
Boolean |
виключен чи ні |
| vatIncluded (model) |
Boolean |
ПДВ включено |
SUPPLIERS - delete
# Ось приклад curl
curl -X 'DELETE' \
'https://api.azr.ua/api/suppliers/932' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5qjV...' \
-H 'token: asdqwe...'
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| id (path) |
Integer |
id складу |
SUPPLIERS - show-contacts
# Ось приклад curl
curl -X 'GET' \
'https://api.azr.ua/api/suppliers/show-contacts/928?productId=4' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5qjVHfBaA57tNfacFdG...' \
-H 'token: asdqwe...'
{
"id": 928,
"name": "Супер Горох",
"currency": {
"number": 980,
"code": "UAH",
"symbol": "грн",
"description": "Гривня",
"order": 1,
"azrExchangeRate": 1,
"isMainAzrCurrency": false,
"decimals": 0
},
"city": {
"id": 19207,
"name": "м. Харків",
"priority": 1,
"parentId": 17957,
"region": {
"id": 17957,
"name": "Харківська",
"priority": 3,
"parentId": null,
"region": null
}
},
"expirationDaysLeft": 10,
"offerExpiration": 10,
"blockedByAdmin": false,
"disabled": false,
"latestOrderTime": "2025-09-16T19:00:52.98",
"lastImportDate": "2025-09-17T09:40:23.647",
"vat": false,
"userId": "7a9d1100-6ccc-407f-b842-894a9a86aaed",
"userName": null,
"contactPerson": "",
"phones": "380123565656;",
"skype": "",
"emails": "goroshek009@yahoo.com;",
"vatIncluded": false,
"isNotReturn": false,
"offerExpirationDate": null,
"extra": 0,
"showContacts": false,
"showDeliveryDays": false
}
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| id (path) |
Integer |
id складу |
| productId (query) |
Integer |
id товару |
USERS-DELIVERY - get
# Ось приклад curl
curl -X 'GET' \
'https://api.azr.ua/api/user/7a9d11.../delivery-address' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5qjVHfB...' \
-H 'token: asdqwe...'
[
{
"id": 1983,
"deliveryOptionId": 2,
"preferred": false,
"userId": "7a9d1100-6ccc-407f-b842-894a9a86aaed",
"records": [
{
"id": 15575,
"deliveryAddressId": 1983,
"key": "name",
"value": "Барган Максим",
"deliveryOptionField": null
},
{
"id": 15576,
"deliveryAddressId": 1983,
"key": "phone",
"value": "380112121111",
"deliveryOptionField": null
}
],
"deliveryOption": {
"id": 2,
"name": "Самовивіз з складів АЗР",
"sequence": 1,
"active": true,
"costs": 0,
"comments": "- Харків, Харківська...",
"imgPath": "https://cdn.azr.com.ua/img/...",
"deliveryRecords": []
}
}
]
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| userId (query) |
String |
id юзера |
USERS-DELIVERY - post
# Ось приклад curl
curl -X 'POST' \
'https://api.azr.ua/api/user/7a9d1.../delivery-address' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZujra5qjVHfBaA57tNfacFdGk...' \
-H 'token: asdqwe...'
-H 'Content-Type: application/json'
-d '{
"deliveryOptionId": 1,
"preferred": true,
"fields": {
"area": "7150813b-9b87-11de-822f-000c2965ae0e",
"areaStr": "Харківська",
"city": "db5c88e0-391c-11dd-90d9-001a92567626",
"cityStr": "Харків",
"name": "Барган Максим",
"phone": "380112121111",
"warehouse": "169227f4-e1c2-11e3-8c4a-0050568002cf",
"warehouseStr": "1"
}
}'
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| userId (path) |
String |
id юзеру |
| deliveryOptionId (model) |
Integer |
id типу доставки |
| preferred (model) |
Boolean |
true, якщо по замовчуванню |
| fields (model) |
Dictionary |
id типу доствавки, наприклад {
"area": "7150813b-9b87-11de-822f-000c2965ae0e",
"areaStr": "Харківська",
"city": "db5c88e0-391c-11dd-90d9-001a92567626",
"cityStr": "Харків",
"name": "Єгоров Максим",
"phone": "380112121111",
"warehouse": "169227f4-e1c2-11e3-8c4a-0050568002cf",
"warehouseStr": "1"
} |
USERS-DELIVERY - put
# Ось приклад curl
curl -X 'PUT' \
'https://api.azr.ua/api/user/7a9d1.../delivery-address/3718247255' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"deliveryOptionId": 1,
"preferred": true,
"fields": {
"area": "7150813b-9b87-11de-822f-000c2965ae0e",
"areaStr": "Харківська",
"city": "db5c88e0-391c-11dd-90d9-001a92567626",
"cityStr": "Харків",
"name": "Єгоров Максим",
"phone": "380112121111",
"warehouse": "169227f4-e1c2-11e3-8c4a-0050568002cf",
"warehouseStr": "1"
}
}'
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| userId (path) |
String |
id юзеру |
| deliveryId (path) |
Integer |
id доставки |
| deliveryOptionId (model) |
Integer |
id типу доставки |
| preferred (model) |
Boolean |
true, якщо по замовчуванню |
| fields (model) |
Dictionary |
id типу доствавки, наприклад {
"area": "7150813b-9b87-11de-822f-000c2965ae0e",
"areaStr": "Харківська",
"city": "db5c88e0-391c-11dd-90d9-001a92567626",
"cityStr": "Харків",
"name": "Єгоро Максим",
"phone": "380112121111",
"warehouse": "169227f4-e1c2-11e3-8c4a-0050568002cf",
"warehouseStr": "1"
} |
USERS-DELIVERY - delete
# Ось приклад curl
curl -X 'DELETE' \
'https://api.azr.ua/api/user/7a9d1.../delivery-address/2157' \
-H 'accept: application/json' \
-H 'Authorization: Bearer avxJfzntVd4AZ...' \
-H 'token: asdqwe...'
ПАРАМЕТРИ ЗАПИТУ
| Поле |
Тип |
Опис |
| userId (path) |
String |
id юзеру |
| deliveryId (path) |
Integer |
id доставки |