Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.ollie.shop/llms.txt

Use this file to discover all available pages before exploring further.

ollieshop whoami reports who you are currently logged in as. When the current directory has an ollie.json, it also resolves the store and organization that config points at — but only if your account has access to them.
ollieshop whoami

What it shows

When an ollie.json is present and you have access to its store:
{
  "data": {
    "email": "you@example.com",
    "orgId": "0e8f...",
    "org": "Acme Inc.",
    "storeId": "1a2b...",
    "store": "Acme Storefront"
  }
}
Store and organization access is enforced server-side. whoami never reveals a store you are not a member of — it simply reports it as not found.

Options

FlagDescription
-o, --output jsonForce JSON output (auto-selected when piped).
--fields a,b,cLimit the output to specific fields.
-s, --stage <stage>Read ollie.{stage}.json instead of ollie.json.

Examples

# Pretty output in a terminal
ollieshop whoami

# JSON for scripting
ollieshop whoami -o json

# Only the email and org
ollieshop whoami --fields email,org

# Resolve against a stage-specific config
ollieshop whoami --stage dev
Not logged in or your session expired? whoami exits with an error — run ollieshop login to refresh your credentials.