For developers
Build an app every seller can install
- OAuth install, one token per store, signed webhooks
- Orders, products, delivery, customers and WhatsApp in one REST API
- Listed in the dashboard after DZBuild reviews it
Build a tool that any merchant can install on their DZBuild store, or a private one that automates your own. Start with a working example, a ready prompt for your AI assistant, or the API directly.
You host the app. The merchant chooses which store data it can access.
Give your coding agent one line
Read https://dzbuild.dev/llms.txt and https://dzbuild.dev/skills/dzbuild-apps/SKILL.md. Then help me build a DZBuild app.From an API request to a catalog export.
cloudflare-catalogExample appThe catalog starter lists a store’s products and lets the merchant download them as a CSV file.
OAuthproducts:readCSVFor developers
For sellers
Create it in the developer console. You get a client_id, a client secret shown once, and a signing secret for webhooks and launch links.
Send the merchant to the authorize URL with a PKCE challenge. They approve on a DZBuild consent screen, and your server exchanges the code for one install token per store.
The OAuth flowSend the token to api.dzbuild.app/v1. Poll GET /v1/orders?since= for new orders, or receive signed order events on a webhook URL on a domain you own (DZBuild refuses workers.dev addresses). Test on your own store, then submit the app for review.
DZBuild is the e-commerce platform for Algerian merchants. A DZBuild app is a web service you host, on your own Cloudflare account or your own server. A merchant installs it on their store, and your app reads and changes that store's orders, products, delivery, customers and WhatsApp messages through the REST API.
The merchant approves on DZBuild
Install orders-bot on your store
orders-bot asks for access to your store. Once you approve, it can only do the following.
What this app will be able to do
View orders (read only; it cannot create or change orders) orders:read
You can remove the app at any time from the Extensions page.
Your server exchanges the code for the install token
POST https://dzbuild.com/oauth/apps/token
200 OK
{
"access_token": "dzpk_live_0a1b2c3d4e5f67.9f8e...",
"token_type": "Bearer",
"scope": "orders:read",
"store_id": 141,
"install_id": 7,
"stores": [
{
"store_id": 141,
"store_name": "My test store",
"install_id": 7,
"access_token": "dzpk_live_0a1b2c3d4e5f67.9f8e..."
}
]
}One scope per kind of store data. The merchant sees one line per resource on the consent screen and grants only what you ask for. All scopes
Read orders and their items. Create orders, change their status, cancel them.
orders:readorders:writeHand an order to the store's courier.
delivery:sendCatalogue and categories, with images, variants, offers, quantity rules and stock.
products:readproducts:writeCustomers and each customer's orders.
customers:readLanding pages and their sections, and the check that runs before publishing.
landing_pages:readlanding_pages:writeRates and settings, linked couriers, coverage, the wilaya and commune lists.
shipping:readshipping:writeProfile, design, home page sections and themes.
store:readstore:writeDiscount codes and tracking pixels.
promos:readpromos:writepixels:readpixels:writeStore analytics and KPIs.
analytics:readApproved order templates, the store's wallet balance, the message log, and sending.
whatsapp:readwhatsapp:senddzpk_live_, have no expiry date, and are revoked the moment the merchant uninstalls your app.Retry-After.X-DZ-Signature covers the timestamp and the raw body. Reject anything older than 5 minutes. Up to 5 delivery attempts.GET /v1/orders?since= once a minute.Free shipping API for 99 Algerian couriers. No signup, no API key: your courier credentials, used per call and never stored.
Read moreFree till for Windows shops: barcode scanner, receipts, kridi, backups. Works offline and syncs with a DZBuild store.
Read moreOpen-source device identification for the browser. MIT, about 7.5 KB gzipped, no network requests.
Read moreThe developer console lives in your DZBuild dashboard. Any account that owns a store can open it, and a draft app installs on your own store right away.
DZBuild partner
Images, video, storage and DNS from Bunny, with a 14-day free trial and no credit card required.
DZBuild is a Bunny partner.