Introduction
Everything you need to connect your app to Naqllah stores: from your account and first request to signed notifications and app review.
Start here
- Create your first appEight steps, from a new account to a signed notification.
- The test storeA shared store to install and try your app in minutes.
- Installation and consentThe merchant reads your scopes and your reasons, then accepts or declines.
- API referenceEvery endpoint with parameters, examples, errors and samples in four languages.
- Webhook eventsOne page per event: when it is sent and what it carries.
The API at a glance
- Base URL
https://naqllah.com/api/apps/v1- Version
- v1.0.0
- Authentication
- OAuth 2.0 authorization code with PKCE, per store.
- Today
- 38 endpoints, 18 scopes, 23 events
- API description
- openapi-v1.json
curl 'https://naqllah.com/api/apps/v1/store' \
-H 'Authorization: Bearer $NAQLLAH_ACCESS_TOKEN'
What you can build today
Each scope opens one capability. The merchant grants it at install, and you can ask for no more than you need.
store.readRead basic store details: name, currency and languageproducts.readRead products, their prices and quantitiesstock.readRead stock quantities in every warehousestock.writeChange stock quantities (recorded in the stock ledger)orders.readRead orders, their statuses and amountscustomers.readRead customer details: name, email and mobile numbershipping.readRead order shipments: carrier, waybill number and statusshipping.ordersRead the recipient, address and cash-on-delivery amount of the orders the store sends to this app for shippingfulfillment.ordersTake the orders the store sends to its warehouse, prepare and ship them, and report each stepshipments.writeRecord the waybill, label and tracking steps of the orders the store sends to this app, and answer cancel requestswaybills.createIssue shipping waybills for orders through Naqllah carriers (the cost is taken from the store balance)payments.readRead payments and amounts receivedinvoices.readRead the invoices issued for orders: number, amounts, the QR code when there is one and a download linkdiscounts.readRead discount codes and offersdiscounts.writeCreate and edit discount codes and offerswebhooks.readReceive instant notifications of store events allowed by the permissions abovedesk.sectionsAdd the app's pages to the dashboard menustorefront.scriptsAdd a reviewed script to the store pages (never checkout, payment or sign-in pages)
Guides
- Installation and consent (OAuth)How a merchant installs your app and accepts or declines its scopes.
- Access tokens and refreshToken lifetimes, rotation, revoking, and safe storage.
- ScopesWhat each scope opens, and the line the merchant reads.
- WebhooksPayloads, signatures, retries, ordering and duplicates.
- Pagination, rate limits and errorsWalking long lists, staying under the limits, handling errors.
- Versioning and deprecationWhat may change in a version, and how a version ends.
- Publishing and reviewReview states, the rules we check, pricing and terms.
- Security best practicesSecrets, tokens, notifications and merchant data.
- SupportWhere to look first, and how to reach us.
Help
Questions or a problem? See Support. To check whether the service is working, see Service status, and for what changed, the Changelog.
Version v1.0.0 Changelog Service status openapi-v1.json Support