Skip to content
Markdown

Ruxsatlar ​

Ilova required_permissions da kerakli ruxsatlarni e’lon qiladi; merchant o‘rnatishda aynan shu ro‘yxatni tasdiqlaydi. Har bir so‘rov ikki bosqichda tekshiriladi:

  1. Ilova ruxsati. Endpoint ruxsati tasdiqlangan ro‘yxatda bo‘lmasa — HTTP 403, code: 10003, data da yetishmagan ruxsat. Bo‘sh ro‘yxat — cheklovsiz.
  2. Foydalanuvchi. So‘rov akkaunt egasi yoki user_id sarlavhasidagi foydalanuvchi nomidan bajariladi va uning rollari bilan cheklanadi.

Bitta ruxsat e’lon qilinsa ham, ruxsat kaliti yo‘q endpointlar yopiladi (pastdagi ro‘yxat). Keyin ro‘yxatni o‘zgartirsangiz, mavjud o‘rnatishlar merchant qayta tasdiqlaguncha eski ro‘yxatda qoladi. Integratsiya yaratish.

RuxsatEndpointlar
attributeGET /attribute/get-all
GET /attribute/get-by-id/{id}
POST /attribute/get-paging
attribute_createPOST /attribute/create
attribute_updatePUT /attribute/update
booking_tablePOST /booking-table/create
PUT /booking-table/update
DELETE /booking-table/delete/{id}
GET /booking-table/get-all
GET /booking-table/get-by-id/{id}
GET /booking-table/get-deleted
box_typesPOST /box-types/create
PUT /box-types/update
DELETE /box-types/delete/{id}
GET /box-types/get-all
GET /box-types/get-by-id/{id}
GET /box-types/get-deleted
POST /box-types/get-paging
cash_exchangePOST /transaction/exchange
cash_exchange_methodPOST /transaction/exchange-method
cash_expensePOST /transaction/expense
cash_expense_approvePUT /transaction/expense/approve
PUT /transaction/expense/reject
cash_incomePOST /transaction/income
cash_transferPOST /transaction/transfer
cashbackPOST /cashback-setting/create
PUT /cashback-setting/update
DELETE /cashback-setting/delete/{id}
GET /cashback-setting/get-all
GET /cashback-setting/get-by-id/{id}
GET /cashback-setting/get-deleted
GET /cashback-setting/get-by-organization_id/{organization_id}
GET /cashback/get-by-customer
cashboxGET /cashbox/get-all
POST /cashbox-session/get-paging
GET /cashbox-session/get-by-id/{id}
POST /cashbox-session/get-active
cashbox_updatePOST /cashbox-session/open
PUT /cashbox-session/close
currencyGET /currency/get-all
GET /currency/get-main
GET /currency/get-by-id/{id}
GET /currency/get-to-local
customerGET /customer/get-by-id/{id}
POST /customer/get-paging
GET /customer/get-deleted
GET /customer/get-by-phone-number
customer_categoryGET /customer-category/get-by-id/{id}
POST /customer-category/get-paging
GET /customer-category/get-deleted
customer_category_createPOST /customer-category/create
customer_category_deleteDELETE /customer-category/delete/{id}
customer_category_updatePUT /customer-category/update
customer_createPOST /customer/create
customer_deleteDELETE /customer/delete/{id}
POST /customer/delete-many
customer_updatePUT /customer/update
PUT /customer/set-state
discountGET /discount/get-by-id/{id}
POST /discount/get-paging
POST /discount/get-all
GET /discount/get-deleted
discount_createPOST /discount/create
discount_deleteDELETE /discount/delete/{id}
discount_updatePUT /discount/update
employeeGET /employee/get-by-id/{id}
GET /employee/get-deleted
POST /employee/get-paging
POST /employee/get-by-phone-number
employee_createPOST /employee/create
employee_deleteDELETE /employee/delete/{id}
employee_updatePUT /employee/update
export_recordsPOST /export-records/create
GET /export-records/get-by-id/{id}
POST /export-records/get-paging
PUT /export-records/set-state/{id}
extra_costGET /extra-cost/get-all
GET /extra-cost/get-by-id/{id}
GET /extra-cost/get-deleted
POST /extra-cost/get-paging
extra_cost_createPOST /extra-cost/create
extra_cost_deleteDELETE /extra-cost/delete/{id}
extra_cost_updatePUT /extra-cost/update
incomePUT /income/cancel
GET /income/get-by-id/{id}
POST /income/get-paging
income_createPOST /income/create
internal_transferGET /internal-transfer/get-by-id/{id}
POST /internal-transfer/get-paging
internal_transfer_createPOST /internal-transfer/create
internal_transfer_updatePUT /internal-transfer/update/{id}
PUT /internal-transfer/set-status/{id}
PUT /internal-transfer/receive/{id}
invoicePOST /invoice/create
GET /invoice/get-by-id/{id}
POST /invoice/get-paging
GET /invoice/get-initial-payment/by-trade-id
invoice_updatePUT /invoice/set-state
kpi_settingsGET /kpi-settings/get-by-id/{id}
POST /kpi-settings/get-paging
kpi_settings_createPOST /kpi-settings/create
kpi_settings_deleteDELETE /kpi-settings/delete/{id}
kpi_settings_updatePUT /kpi-settings/update/{id}
PUT /kpi-settings/set-status/{id}
legal_personPOST /person/get-by-id/{id}
POST /person/balance/get-paging
POST /person/get-paging
open_ticketPUT /open-ticket/update
POST /open-ticket/get-paging
GET /open-ticket/get-by-id/{id}
POST /open-ticket/delete-many
open_ticket_createPOST /open-ticket/create
organizational_transferGET /organizational-transfer/get-by-id/{id}
POST /organizational-transfer/get-paging
organizational_transfer_createPOST /organizational-transfer/create
organizational_transfer_updatePUT /organizational-transfer/update/{id}
PUT /organizational-transfer/set-status/{id}
PUT /organizational-transfer/receive/{id}
payment_methodsPOST /payment-method/create
PUT /payment-method/update
DELETE /payment-method/delete/{id}
GET /payment-method/get-all
GET /payment-method/get-by-id/{id}
GET /payment-method/get-deleted
PUT /payment-method/set-active
POST /payment-type/create
PUT /payment-type/update
DELETE /payment-type/delete/{id}
POST /payment-type/get-all
GET /payment-type/get-by-id/{id}
GET /payment-type/get-deleted
PUT /payment-type/set-state
positionGET /position/get-by-id/{id}
POST /position/get-paging
position_createPOST /position/create
position_deleteDELETE /position/delete/{id}
position_updatePUT /position/update/{id}
priceGET /price/get-all
POST /price/items/get-paging
GET /price/get-by-id/{id}
productGET /product/get-by-id/{id}
POST /product/get-paging
GET /product/get-deleted
POST /product/get-paging/by-price
POST /product/get-by-name
POST /product/get-by-barcode
POST /product/get-by-sku
product_createPOST /product/create
product_deleteDELETE /product/delete/{id}
POST /product/delete-many
product_stockPOST /product-stock/get-paging
POST /product-stock/get-by-mark
POST /product-warehouse/get-paging
GET /product-warehouse/get-deleted
product_updatePUT /product/update
POST /product/update-status-many
productionPOST /production/route-sheet/create
PUT /production/route-sheet/update
POST /production/route-sheet/get-paging
GET /production/route-sheet/get-by-id/{id}
DELETE /production/route-sheet/delete/{id}
GET /production/route-sheet/get-deleted
POST /production/route-sheet/get-with-quantity/{id}
GET /production/route-sheet/get-alternatives/{itemId}
POST /production-order/create
GET /production-order/get-by-id/{id}
POST /production-order/get-paging
PUT /production-order/update/{id}
DELETE /production-order/delete/{id}
POST /production-plan/create
PUT /production-plan/update/{id}
GET /production-plan/get-by-id/{id}
POST /production-plan/get-paging
POST /production-plan/delete-many
POST /production-plan/get-by-year
POST /production-step/create
GET /production-step/get-by-id/{id}
POST /production-step/get-paging
PUT /production-step/update
DELETE /production-step/delete/{id}
POST /production-group/create
GET /production-group/get-by-id/{id}
POST /production-group/get-paging
PUT /production-group/update/{id}
DELETE /production-group/delete/{id}
POST /production-task/create
GET /production-task/get-by-id/{id}
POST /production-task/get-paging
PUT /production-task/update/{id}
PUT /production-task/set-status/{id}
PUT /production-task/produce/{id}
PUT /production-task/cancel-produced/{id}
POST /production-task/state-report/by-product
POST /production-tech-map/create
GET /production-tech-map/get-by-id/{id}
POST /production-tech-map/get-paging
PUT /production-tech-map/update/{id}
DELETE /production-tech-map/delete/{id}
production_operationPOST /production-operation/get-paging
GET /production-operation/get-by-id/{id}
production_operation_createPOST /production-operation/create
production_operation_updatePUT /production-operation/update
PUT /production-operation/set-state
purchasePOST /purchase/get-paging
GET /purchase/get-by-id/{id}
purchase_createPOST /purchase/create
purchase_orderGET /purchase-order/get-by-id/{id}
POST /purchase-order/get-paging
purchase_order_createPOST /purchase-order/create
purchase_order_updatePUT /purchase-order/set-state
purchase_returnPOST /purchase-return/get-paging
GET /purchase-return/get-by-id/{id}
purchase_updatePUT /purchase/update
PUT /purchase/set-state
revision_customer_cashbackGET /revision/get-by-id/{id}
POST /revision/get-paging
PUT /revision/update/{id}
PUT /revision/set-status/{id}
revision_customer_cashback_createPOST /revision/create
roleGET /role/get-by-id/{id}
POST /role/get-paging
role_createPOST /role/create
role_deleteDELETE /role/delete/{id}
role_updatePUT /role/update
saleGET /trade/get-by-id/{id}
POST /trade/get-paging
GET /trade/get-by-id/for-bot/{id}
GET /trade/get-items/{id}
POST /trade/export-by-xls-template
POST /trade/get-by-id
sale_createPOST /trade/create
sale_orderGET /sale-order/get-by-id/{id}
POST /sale-order/get-paging
GET /sale-order/get-deleted
POST /sale-order/get-by-customer/for-bot
GET /sale-order/get-by-id/for-bot/{id}
sale_order_createPOST /sale-order/create
sale_order_deleteDELETE /sale-order/delete/{id}
POST /sale-order/delete-many
sale_order_updatePUT /sale-order/update
PUT /sale-order/accept/{id}
POST /sale-order/update-status-many
sale_updatePUT /trade/set-state
PUT /trade/set-state-id
POST /trade/refund
POST /trade/custom-fields/set
sectionGET /section/get-by-id/{id}
POST /section/get-paging
section_createPOST /section/create
section_deleteDELETE /section/delete/{id}
section_updatePUT /section/update/{id}
sms_templatePOST /sms-template/create
GET /sms-template/get-by-id/{id}
POST /sms-template/get-paging
PUT /sms-template/update/{id}
DELETE /sms-template/delete/{id}
supplierGET /supplier/get-by-id/{id}
POST /supplier/get-paging
GET /supplier/get-by-phone/{phone_number}
supplier_createPOST /supplier/create
supplier_updatePOST /supplier/update
tagGET /tag/get-by-id/{id}
POST /tag/get-paging
tag_createPOST /tag/create
tag_deleteDELETE /tag/delete/{id}
tag_updatePUT /tag/update/{id}
tasksPOST /task/create
PUT /task/update
GET /task/get-by-id/{id}
GET /task/paging
DELETE /task/delete/{id}
GET /task/get-deleted
PUT /task/complete
PUT /task/move
POST /task-type/get-by-id
POST /task-type/paging
taxGET /tax/get-by-id/{id}
POST /tax/get-all
POST /tax/get-paging
POST /tax/get-items
GET /tax/get-deleted
tax_createPOST /tax/create
tax_deleteDELETE /tax/delete/{id}
tax_updatePUT /tax/update
transactionsPUT /transaction/set-state
PUT /transaction/expense/redirect
GET /transaction/get-by-id/{id}
POST /transaction/get-paging
units_of_measurePOST /units-of-measure/create
PUT /units-of-measure/update
DELETE /units-of-measure/delete/{id}
GET /units-of-measure/get-all
GET /units-of-measure/get-by-id/{id}
GET /units-of-measure/get-deleted
POST /units-of-measure/get-paging
warehouseGET /warehouse/get-by-id/{id}
POST /warehouse/get-paging
POST /warehouse/get-all
GET /warehouse/get-deleted
write_offPUT /write-off/set-status/{id}
GET /write-off/get-by-id/{id}
POST /write-off/get-paging
write_off_createPOST /write-off/create

Ruxsat e’lon qilgan ilova uchun yopiq ​

Har bir o‘rnatilgan ilova uchun ochiq ​


Bu sahifa OpenAPI spetsifikatsiyasidan yaratilgan.

Bito 2.0 Integration API