Skip to main content
These commands manage the records the Admin shows, without the Admin. They all need a login, take ids as flags, print one JSON line and accept --dry-run, --fields, -o and --data (see Global flags). List commands accept ls as an alias (ollieshop store ls).

store

create returns {"data":{"id":"…"}}. list returns id, name, platform, platform_store_id, organization_id, logo, settings, created_at.

version

--active and --default are off unless passed. See Managing Versions for what active and default mean; remember only one version can be the default.

component

create only creates the record; it does not write ollie.json or upload code. Link the folder (see Project configuration) and deploy with deploy. update with no field to change fails with No fields to update. list returns id, name, slot, active, version_id, props, created_at and the version’s id and name.

function

To remove a trigger, use the JSON form: --data '{"functionId":"…","trigger":null}'. list returns id, name, active, urn, on_error, priority, trigger, invocation, version_id, created_at and the version.

business-rule

Business rules are plain-language rules Ollie turns into code for you. update replaces the content, keeps the previous text, and marks the rule as not yet implemented in code. The feature is currently enabled by Ollie per store; ask your contact if the list comes back empty.

schema

Prints the JSON schema of the input a command accepts through --data. Useful for scripts and for coding agents that generate the JSON. Available: store, version, component, function with their actions, and deploy.

The —data form

Every create and update command accepts its whole input as one JSON object, with camelCase keys. When --data is present the individual flags are ignored (except --org on store create).
Pair it with --dry-run to validate a document before sending it: