Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
PrizmaShop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Fazliddin Akhmedov
PrizmaShop
Commits
8f04ee5a
Commit
8f04ee5a
authored
Nov 25, 2022
by
Fazliddin Akhmedov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Добавлен order installment
parent
f99b7a63
Pipeline
#139
failed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
186 additions
and
8 deletions
+186
-8
entityes.json
entityes.json
+186
-8
No files found.
entityes.json
View file @
8f04ee5a
...
...
@@ -16,14 +16,14 @@
},
{
"title"
:
"Название"
,
"bx_field"
:
"
TITL
E"
,
"bx_field"
:
"
NAM
E"
,
"onec_field"
:
"title"
},
{
"title"
:
"Родительский раздел"
,
"bx_field"
:
"SECTION_ID"
,
"bx_field"
:
"SECTION_
GU
ID"
,
"onec_field"
:
"section_guid"
}
,
}
]
},
"product"
:
{
...
...
@@ -345,7 +345,174 @@
}
]
},
"bxapi"
:
{
"deal_installment"
:
{
"bxcode"
:
"deal ?"
,
//Все
одинаково
с
deal
кроме
части
installment
"onec_code"
:
"order_installment"
,
"title"
:
"Заказы (Сделки) по рассрочке"
,
"fields"
:
[
{
"title"
:
"Битрикс ID"
,
"bx_field"
:
"ID"
,
"onec_field"
:
""
},
{
"title"
:
"1C CODE"
,
"bx_field"
:
"GUID"
,
"onec_field"
:
"code"
},
{
"title"
:
"Статус ?"
,
"bx_field"
:
"STATUS"
,
"onec_field"
:
"status"
,
"onec_items"
:
{
"3"
:
"В Резерве"
,
"4"
:
"К Обеспечению"
,
"5"
:
"К Отгрузке"
,
"6"
:
"В Пути"
,
"NEW"
:
"Новый"
,
"EXECUTING"
:
"Принят в работу"
,
"WON"
:
"Доставлено"
,
"LOSE"
:
"Закрыт"
}
},
{
"title"
:
"Магазин с которого продан товар"
,
"bx_field"
:
"STORE_ID"
,
"onec_field"
:
"store_id"
,
"onec_items"
:
{
"3"
:
"Интернет-магазин"
,
"7"
:
"PRIZMA Ташкент"
,
"8"
:
"PRIZMA Бекабад"
,
"10"
:
"PRIZMA Заамин"
,
"11"
:
"PRIZMA Зафар"
,
"12"
:
"PRIZMA Баяут"
}
},
{
"title"
:
"Сумма документа"
,
"bx_field"
:
"PRICE"
,
"onec_field"
:
"price"
},
{
"title"
:
"Скидка"
,
"bx_field"
:
"DISCOUNT"
,
"onec_fields"
:
{
"discount"
:
[
"type"
,
"summa"
]
}
},
{
"title"
:
"Итоговая сумма документа"
,
"bx_field"
:
"TOTAL_PRICE"
,
"onec_field"
:
"total_price"
},
{
"title"
:
"Клиент"
,
"bx_field"
:
"CONTACT_ID"
,
"onec_fields"
:
{
"client"
:
[
"name"
,
"phone"
]
}
},
{
"title"
:
"Кассир"
,
"bx_field"
:
"ASSIGNED_BY_ID"
,
"onec_field"
:
"cashier"
},
{
"title"
:
"Дата и время создания"
,
"bx_field"
:
"DATE_CREATE"
,
"onec_field"
:
"created_at"
},
{
"title"
:
"Доставка (да или нет)"
,
"bx_field"
:
"DELIVERY"
,
"onec_field"
:
"delivery"
},
{
"title"
:
"Адрес доставки"
,
"bx_field"
:
"DELIVERY_ADDRESS"
,
"onec_field"
:
"address"
},
{
"title"
:
"Установка (да или нет)"
,
"bx_field"
:
"SETUP"
,
"onec_field"
:
"setup"
},
{
"title"
:
"Товары"
,
"bx_field"
:
"PRODUCTS"
,
"onec_fields"
:
{
"items"
:
[
"sku"
,
"count"
,
"price"
,
"discount.type"
,
"discount.summa"
,
"ware_real"
,
"total_price"
,
"consultant"
]
}
},
{
"title"
:
"Оплаты"
,
"bx_field"
:
"PAYMENT"
,
"onec_fields"
:
{
"transacions"
:
[
"summa"
,
"type"
]
}
},
{
"title"
:
"Рассрочка"
,
"bx_field"
:
"INSTALLMENT ?"
,
"onec_fields"
:
[
"installment.credit.summa"
,
"installment.credit.first_payment.summa"
,
"installment.credit.first_payment.payment_type"
,
"installment.credit.tarif_id"
,
"installment.credit.total_price"
,
"installment.credit.store_id"
,
"installment.credit.client_id"
,
"installment.credit.created_at"
,
"installment.credit.payment_date"
,
"installment.credit.status"
,
"installment.credit.code"
,
"installment.credit.debitor_id"
,
"installment.credit.order_code"
,
"installment.credit.accounter_check"
,
"installment.credit.grafik"
:
[
"day"
,
"summa"
],
"installment.client.id"
,
"installment.client.code"
,
"installment.client.name"
,
"installment.client.middle_name"
,
"installment.client.surname"
,
"installment.client.passport_serial"
,
"installment.client.passport_number"
,
"installment.client.passport_code"
,
"installment.client.stir"
,
"installment.client.birthday"
,
"installment.client.address"
,
"installment.client.real_address"
,
"installment.client.phone"
,
"installment.client.limit"
,
"installment.client.status"
]
}
}
]
},
"bxapi"
:
{
"title"
:
"Prizma Bitrix24 API for Incoming requests"
,
"shop_webhook"
:
"https://b24.prizma.uz/rest/1/tuv3urt2w1cxbl0h/"
,
"onec_webhook"
:
"https://b24.prizma.uz/rest/1/4ln101hccuus2rhv/"
,
...
...
@@ -357,14 +524,21 @@
"result"
:
"Ответ массив с данными заказа"
},
"methods"
:
{
"onec.query.test"
:
{
"description"
:
"Для тестирования вызова API команд в сторону 1С от сервера Битрикс24"
,
"params"
:
{
"onec_method"
:
"orders"
,
"params"
:
{
"guid"
:
"2342uj3y4gu2y43....."
}
//
Не
объязательно
}
},
"onec.order.get"
:
{
"description"
:
"Получить список заказов или одного заказа если указан id в параметрах "
,
"params"
:
[
"id"
]
}
}
,
"onec.order.add"
:
{
"description"
:
"Создать (сохранить) заказ в Битрикс24"
,
"params"
:
"Параметры указаны выше"
}
}
,
"onec.order.update"
:
""
,
"onec.order.delete"
:
""
,
"onec.client.get"
:
""
,
...
...
@@ -386,7 +560,11 @@
"onec.product_store.get"
:
""
,
"onec.product_store.add"
:
""
,
"onec.product_store.update"
:
""
,
"onec.product_store.delete"
:
""
"onec.product_store.delete"
:
""
,
"onec.product_section.synch"
:
{
"description"
:
"Синхронизация разделов продукта в Битрикс24 из 1С"
,
"params"
:
"Параметры указаны выше"
}
}
}
}
\ No newline at end of file
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment