Introduction
Kaladan is a commerce platform. A merchant starts with a free page on kaladan.shop, a showcase of their products with ways to reach them, and opens a full online store when they are ready: a cart, delivery, online payment, official invoices and a store on their own domain.
This site is for the developers who build on it: the people who write a storefront for a shop, connect a shop to the rest of its business, or design how a shop looks.
What you can build today
Section titled “What you can build today”| What it is | Status | |
|---|---|---|
| Headless storefronts | A shop’s catalogue and cart in your own site or app, through the Storefront API, handing off to Kaladan’s hosted checkout for payment. | Open |
| Buyer accounts | Sign-in by SMS code, order history, addresses and wishlists, through the Customer Account API. | Open |
| Custom apps | An app installed on one shop with the merchant’s consent, working through the Admin API and hearing about changes through webhooks. | Open |
| Interfaces in Kaladan’s look | Diba, Kaladan’s design system: tokens and React components on npm. | Open |
| Themes | A shop’s whole storefront, built against the published theme/v1 contract. | Contract published; submissions soon |
| Public apps | Apps listed in Kaladan’s app store for every merchant, with extensions inside the admin and the storefront. | Coming |
Things marked as coming are designed, and their contracts are what you will build against. They are not open to outside developers yet, and these docs say so wherever it matters rather than letting you find out at the end.
How Kaladan is put together
Section titled “How Kaladan is put together”Kaladan separates its APIs by who is asking, not by what they read. A theme, a signed-in buyer, an app and the developer who made the app each have their own API, their own credential and their own limits. The same product is reachable from three of them, and each shows a different amount of it.
That one decision explains most of what follows: why the Storefront API’s token can be public, why a buyer’s orders are not on it, and why an app has to ask for each thing it reads. Choosing an API has the whole map.
Read these first
Section titled “Read these first”The reference is generated
Section titled “The reference is generated”Every type, field, argument and enum member in a reference comes out of the schema the platform is built against. A reference page here cannot describe an API the platform does not have. The Persian is written by hand and keyed to the schema, and the build fails if a translation names something the schema no longer has.