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:
- Ilova ruxsati. Endpoint ruxsati tasdiqlangan ro‘yxatda bo‘lmasa — HTTP
403,code: 10003,datada yetishmagan ruxsat. Bo‘sh ro‘yxat — cheklovsiz. - Foydalanuvchi. So‘rov akkaunt egasi yoki
user_idsarlavhasidagi 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.
Ruxsat e’lon qilgan ilova uchun yopiq
POST /category/createPUT /category/updateDELETE /category/delete/{id}GET /category/get-by-id/{id}POST /category/get-pagingGET /category/get-deletedGET /category/get-by-nameGET /sale-settings/getPUT /sale-settings/setGET /warehouse-settings/getPUT /warehouse-settings/setGET /finance-settings/getPUT /finance-settings/setGET /profile/getMePOST /states/get-allGET /balance/get-by-customerGET /custom-field/get-allPOST /custom-field/createGET /recon-act/get-by-id/{id}POST /recon-act/get-allPOST /recon-act/get-all/exportPOST /summary/chart-paginPOST /summary/chartPOST /summary/income/chartPOST /summary/expense/chartPOST /sales/by-item-paginPOST /sales/by-itemPOST /sales/by-customer-paginPOST /reports/trade/paginPOST /reports/trade/by-product/paginPOST /reports/trade/by-customer/paginPOST /reports/trade/items/paginPOST /reports/sales/items/unsold-pagingPOST /reports/sales/by-employee-paginPOST /reports/sales/by-payment-method-paginPOST /reports/sales/by-category-paginPOST /reports/sales/by-category-allPOST /reports/sales/by-mediator-paginPOST /reports/sales/by-supplier-paginPOST /reports/sales/settlementsPOST /reports/balance/getPOST /reports/balance/get-atPOST /reports/balance/itemsPOST /reports/cashflow/getPOST /reports/customer-debt/getPOST /reports/profit-loss/getPOST /reports/finance/installment-plan/get-summaryPOST /reports/finance/installment-plan/get-pagingPOST /reports/finance/installment-plan/completedPOST /reports/finance/customers-payment-overview/get-summaryPOST /reports/finance/customers-payment-overview/get-pagingPOST /reports/finance/customers-payment-overview/completedPOST /reports/summary/income/paginPOST /reports/summary/income-expense/statsPOST /reports/production/by-productPOST /reports/production/by-responsiblePOST /reports/production/by-responsible-and-productPOST /reports/production/recommended-to-be-usedPOST /reports/distribution/get-summaryPOST /reports/distribution/get-by-product-categoryPOST /reports/distribution/get-by-agent-and-typePOST /reports/distribution/get-by-agentPOST /reports/summary/debt/pagingPOST /reports/summary/credit/pagingPOST /reports/customers/health-score/chartsPOST /reports/customers/health-score/summaryPOST /reports/dashboard/summaryPOST /reports/dashboard/chartPOST /reports/dashboard/top/{key}POST /reports/order/dashboard/summaryPOST /reports/order/dashboard/chartPOST /reports/order/dashboard/statesPOST /reports/order/dashboard/top/{key}POST /reports/summary/debt/get-summaryPOST /reports/summary/credit/get-summaryPOST /reports/summary/goods/by-price/totalPOST /reports/summary/product/chart-pagingPOST /reports/summary/product/get-summaryPOST /reports/summary/sale/chartPOST /reports/trade/customer/chartPOST /reports/trade/customer/health-scorePOST /reports/trade/price-deviation/pagingPOST /reports/pos/summary/chartPOST /reports/pos/summary/sale/chartPOST /reports/pos/summary/income/chartPOST /reports/pos/summary/expense/chartPOST /reports/pos/summary/debt/get-summaryPOST /reports/pos/summary/credit/get-summaryPOST /reports/pos/summary/debt/pagingPOST /reports/pos/summary/credit/pagingPOST /reports/pos/summary/product/get-summaryPOST /reports/pos/summary/material/get-summaryPOST /reports/pos/summary/semi-product/get-summaryPOST /reports/pos/summary/product/chart-pagingPOST /reports/pos/summary/material/chart-pagingPOST /reports/pos/summary/semi-product/chart-pagingPOST /reports/pos/summary/goods/by-price/totalPOST /reports/pos/summary/goods/by-price/pagingPOST /reports/pos/sales/by-payment-method-pagingPOST /reports/pos/cashbox/income-expensePOST /reports/pos/sale/summaryPOST /reports/pos/sale/summary/chartPOST /reports/pos/product/topPOST /reports/pos/employee/topPOST /reports/pos/product/stock/summaryPOST /reports/pos/production/by-product/producedPOST /reports/pos/production/by-product/usedPOST /reports/pos/cashflow/getPOST /reports/pos/finance/installment/get-summaryPOST /reports/pos/finance/installment/get-pagingPOST /reports/pos/finance/installment/completedPOST /reports/pos/dashboard/top/{key}POST /reports/pos/trade/by-product/paginPOST /reports/analysis/abc/by-monthPOST /reports/analysis/abc/by-productPOST /reports/analysis/customers/abc-xyzPOST /reports/in-stock/getPOST /reports/items/warehousePOST /reports/transfer/get-itemsPOST /reports/transfer/get-pagingPOST /reports/write-off/by-reason/get-pagingPOST /pipeline-action/createGET /pipeline-action/get-by-id/{id}POST /pipeline-action/get-pagingPUT /pipeline-action/update/{id}DELETE /pipeline-action/delete/{id}PUT /pipeline-action/set-status/{id}POST /message-settings/getPUT /message-settings/setGET /reminder-settings/getPUT /reminder-settings/setGET /marketing-settings/getPUT /marketing-settings/setPOST /public-lead-form/createPUT /public-lead-form/update/{id}GET /public-lead-form/get-by-id/{id}POST /public-lead-form/get-pagingDELETE /public-lead-form/delete/{id}POST /device/createPUT /device/update/{id}PUT /device/set-status/{id}DELETE /device/delete/{id}GET /device/get-by-id/{id}POST /device/get-pagingPOST /states-settings/createGET /states-settings/get-by-id/{id}POST /states-settings/get-pagingPUT /states-settings/update/{id}DELETE /states-settings/delete/{id}POST /source/get-allGET /source/get-by-id/{id}POST /reason/createGET /reason/get-by-id/{id}POST /reason/get-pagingPUT /reason/update/{id}DELETE /reason/delete/{id}POST /file/uploadPOST /file/attachDELETE /file/attach/{id}
Har bir o‘rnatilgan ilova uchun ochiq
Bu sahifa OpenAPI spetsifikatsiyasidan yaratilgan.