Skip to content
Bazzario

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

text
https://api.bazzario.app/v1

Two key types

TypePrefixWhere to useAccess
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
curl https://api.bazzario.app/v1/admin/store \
  -H "Authorization: Bearer bzk_YOUR_KEY"
Response
{
  "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-config and delivery lookups (their fields are inside data).
  • Error: { "error": { "code", "message", "requestId" } }. requestId is also sent in the X-Request-Id header; 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.