Authentication
Two credential types, two purposes. Do not mix them.
Partner session token
Issued by POST /api/v1/partner-manager/sessions after an email and password check. It identifies the vendor, expires after 12 hours, and is the credential for every partner route and for the merchant console.
Authorization: Bearer <session_token>The token payload is signed and bound to the vendor id; the API rejects a token whose reset version has moved on. Treat it as a bearer credential — never put it in a URL.
Developer keys
Store-scoped keys of the form sk-ari-<test|live>-…, created from your workspace and shown exactly once. Arilator stores only a SHA-256 hash and a display prefix, so a lost key must be rotated, not recovered.
| Scope | Grants |
|---|---|
catalog:read | Read products, variants and prices. |
catalog:write | Create and publish products and variants. |
orders:read | Read orders and their totals. |
subscriptions:read | Read subscription state. |
webhooks:manage | Create, rotate and delete webhook endpoints. |
files:read | Read hosted file metadata. |
Keys are revoked instantly; revocation is audited without recording the secret.
Sandbox and live
A store is test or live. Test stores move no money and accept only test credentials. Promotion to live requires a verified business (KYB) and an approved compliance scan — the API refuses the transition otherwise, and it tells you which of the two is missing.
What the API will never do
- Accept a merchant id from a browser in place of an authenticated identity.
- Return a key after creation.
- Accept a request without an idempotency key on a mutating route.