For developers
Build on the Lagran API
The same platform API that powers Lagran's e-commerce applications, POS systems, and inventory management is available for custom integrations and headless storefronts.
Authentication
Every request is authenticated with an API key scoped to your store, passed as a bearer token. Keys can be scoped to read-only or read-write access, and rotated any time from your dashboard.
curl https://api.lagran.in/v1/products \
-H "Authorization: Bearer YOUR_API_KEY"Example response
{
"data": [
{
"id": "prod_8f3a1c",
"name": "Wool Beanie",
"price": 149900,
"currency": "INR",
"inventory": 24
}
],
"has_more": false
}Core endpoints
GET
/v1/productsList products in your catalogPOST
/v1/productsCreate a new productGET
/v1/ordersList orders across every channelGET
/v1/inventory/:skuGet real-time stock for a SKUPOST
/v1/payments/payoutsTrigger a manual payoutFull endpoint reference, SDKs, and webhooks documentation are available once your API key is provisioned. Request access above and our team will get you set up.
