Official Git-first Postman workspace for Fleetbase API collections and workflow collections.
postman/collections/contains Postman Native Git collection files.postman/environments/contains Postman Native Git environment files with empty secret values.collections/contains repo-level notes and placeholders for future API groups.examples/contains reusable sample request and response payloads.scripts/contains local helper commands used by npm scripts and CI.
| Collection | Path | Purpose |
|---|---|---|
| Fleetbase API | postman/collections/Fleetbase API |
FleetOps API and platform logistics requests. |
| Fleetbase Core API | postman/collections/Fleetbase Core API |
Core API requests shared across Fleetbase modules. |
| Storefront API | postman/collections/Fleetbase Storefront API |
Storefront and customer-facing commerce API requests. |
| Ledger API | postman/collections/Fleetbase Ledger API |
Public Ledger wallet, invoice payment, and gateway webhook requests. |
| Integrated Vendor | postman/collections/Fleetbase Integrated Vendor Flow |
End-to-end vendor integration workflow examples. |
- Install the Postman CLI.
- Select one of the environments from
postman/environments/. - Fill local values in Postman or use Postman Vault for secrets.
- Run linting locally:
npm run postman:lintRun a collection with an environment template or local environment copy:
npm run postman:run:fleetbase -- --environment postman/environments/local.environment.yamlWorkflow collections can also use iteration data:
npm run postman:run:integrated-vendor -- \
--environment postman/environments/local.environment.yaml \
--iteration-data collections/workflows/integrated-vendor/data/happy-path.example.jsonUse collection or environment variables instead of hard-coded values:
base_urlnamespaceapi_prefixapi_key
Collection-level api_prefix values handle package routing while keeping shared environments simple:
- Storefront API uses
api_prefix=storefront, producing/storefront/{{namespace}}/.... - Ledger API uses
api_prefix=ledger, producing/ledger/{{namespace}}/...for wallet routes and/ledger/public/...or/ledger/webhooks/...for non-versioned public routes.
Storefront API also has a locale variable. When it is set (for example mn), every request sends it as Accept-Language, and the API answers in that language. Leave it empty to get English.
Do not commit real tokens, keys, IDs, cookies, exported Vault data, or production credentials.
The source format for Local Mode is Postman v3 YAML / Native Git layout under postman/. JSON exports are treated as import/export artifacts only.