API reference
Overview
Every Seller API endpoint, generated from the API's OpenAPI document.
Each page in this section is one endpoint, with its parameters, request body, responses and example requests. The pages are generated from the same OpenAPI document the API is built from.
| Base URL | https://api.bhaktibaazar.com/seller-api/v1 |
| Staging | https://staging.bhaktibaazar.com/seller-api/v1 |
| Authentication | Authorization: Bearer bbsk_live_… on every request |
| Format | JSON request and response bodies |
The example requests on each page leave out the key. Add
-H "Authorization: Bearer $BHAKTI_BAAZAR_API_KEY" when you run one.
The scope each endpoint needs is at the top of its page. See Keys and scopes.
Errors have one shape everywhere; see Errors and limits. The reference lists each endpoint's success response and the shared error body.
You can also download the OpenAPI-based Postman collection.
| Section | Endpoints |
|---|---|
| Account | Check a key |
| Reference data | Categories, subcategory attributes, brands |
| Products | List, read, create and edit products and variants |
| Stock and prices | Batch stock and price updates |
| Orders | List, read, accept and cancel orders; prepare cash-on-delivery invoices |
| Fulfilment | Couriers, add and correct self-ship tracking |
| Documents | Download links for the tax invoice, shipping label and manifest |
| Returns | List and read returns raised on your orders |
| Webhooks | Webhook endpoints, secrets, tests and the event list |