Retrieve the current store
Store
Retrieve the current store
“Whoami” for an API key: the store the key belongs to and the scopes it was granted. Any valid key may call this, whatever it was granted — scopes is the calling key’s own, so an integration can check what it may do without provoking a 403 to find out.
storefrontUrl is the canonical public origin (an active custom domain wins over the slug subdomain), and null while the storefront is unclaimed or switched off.
GET
Retrieve the current store
Authorizations
A store API key, sent as Authorization: Bearer <key>. Live keys are prefixed tbrn_live_. Keys are minted per store in the dashboard with an explicit scope set.
Response
The store behind the API key.
Pattern:
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Available options:
sol, usdc_solana, eth_base, usdc_base, usdt_base, eth, usdc_ethereum, usdt_ethereum, matic, usdc_polygon, usdt_polygon, bnb, usdt_bnb ISO-8601 timestamp in UTC.
Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$Available options:
orders:read, orders:write, invoices:read, invoices:write, products:read, products:write, webhooks:read, webhooks:write