Getting started
Access key, first request and the base URL of the Bazzario API.
The Bazzario API has two parts: the Admin API (/v1/admin) for server integrations such as ERP, CRM and reports, and the Storefront API (/v1/storefront) for a custom site that runs in the buyer’s browser.
Base URL
https://api.bazzario.app/v1Two key types
| Type | Prefix | Where to use | Access |
|---|---|---|---|
| Secret (admin) | bzk_ | Server only. Browser requests carrying an Origin header are rejected. | Per-resource scopes: products:read, orders:write, … |
| Public (site) | bzp_ | Buyer’s browser, from the allowed site origins. | Fixed public surface: catalogue, checkout, buyer login |
First request
Read the store profile with a secret key. The store currency, country and time zone are needed to read orders correctly.
curl https://api.bazzario.app/v1/admin/store \
-H "Authorization: Bearer bzk_YOUR_KEY"{
"data": {
"id": "8f0c…",
"name": "My store",
"currency": "PLN",
"storeCountry": "PL",
"timezone": "Europe/Warsaw"
}
}Response format
- Admin API success:
{ "data": … }; lists are{ "data": […], "nextCursor": "…", "hasMore": true }. - Storefront API: every success response is
{ "data": … }, including catalogue, store,checkout-configand delivery lookups (their fields are insidedata). - Error:
{ "error": { "code", "message", "requestId" } }.requestIdis also sent in theX-Request-Idheader; include it when you contact support. - Timestamps are ISO-8601 UTC regardless of the store time zone. Amounts are integers in minor units of the object’s
currency. Phones are E.164.