Skip to main content

Wilfie CLI

Wilfie is a command-line client for Wilfie APIs.

Use it to authenticate and run workspace, workflow, and WMS commands from your terminal.

Workspace order, stock and general analytics reads share their API request code with Wilfie's MCP tools. Start analytics with wilfie wms analytics config --workspace <workspace_code> to discover available metrics, supported filters, periods and dimensions, then use summary, timeseries, dimension-members or leaderboards. Metric availability and currency readiness come from the workspace; revenue is not assumed to exist.

Install

uv tool install wilfie

Or with pip:

pip install wilfie

Quickstart

Login with device flow:

wilfie auth login --client-id wilfie-cli

Check auth status:

wilfie auth status

List workspaces:

wilfie workspaces list

Run a WMS query:

wilfie wms query \
  --workspace <workspace_code> \
  --path facility-locations/search \
  --param query=A-01 \
  --param limit=25

Inspect fulfillment document lineage:

wilfie wms documents lineage \
  --workspace <workspace_code> \
  --kind fulfillment_order \
  --document-id <fulfillment_order_id> \
  --line-id <line_id> \
  --max-depth 8

Resolve a barcode and inspect tote outbound context:

wilfie wms barcodes resolve \
  --workspace <workspace_code> \
  --facility-id <facility_id> \
  --barcode <scan_value>

wilfie wms containers outbound-context \
  --workspace <workspace_code> \
  --container-id <container_id>

Run Shopify outbound reconcile (manual trigger):

wilfie wms reconcile outbound \
  --workspace <workspace_code> \
  --integration-connection-id <integration_connection_id> \
  --order-id gid://shopify/Order/123 \
  --dry-run

Analyze live-selling performance after ignoring orders less than $8:

wilfie --output json live-selling orders \
  --workspace <workspace_code> \
  --period this_month \
  --order-total-less-than 8

Download order-level live-selling data for local analysis:

wilfie live-selling orders \
  --workspace <workspace_code> \
  --period this_month \
  --order-total-less-than 8 \
  --download-file live-selling-orders.csv

List open WMS issues for a facility:

wilfie wms issues list \
  --workspace <workspace_code> \
  --facility-id <facility_id> \
  --status open

Recompute WMS issues for a facility (admin/owner access required):

wilfie wms issues recompute \
  --workspace <workspace_code> \
  --facility-id <facility_id> \
  --dry-run

This package provides workspace functionality in local, dev and production environments. Platform infrastructure administration is distributed separately.

Supplier Offer Recovery

Use these commands in order to restore PIM details from the stored Shopify mirror, fill missing offer catalog fields, and reapply the offer's pricing:

wilfie supplier-offers update-pim --workspace <workspace_code> --offer-id <offer_id>
wilfie supplier-offers hydrate --workspace <workspace_code> --offer-id <offer_id>
wilfie supplier-offers promote-pricing --workspace <workspace_code> --offer-id <offer_id>

Update PIM also copies mirror prices into PIM, so run Pricing Only last. Hydrate preserves offer pricing and supports --dry-run; its default mode fills blanks. Pricing Only requests pricing updates without publishing catalog fields or inventory. The queued commands wait for completion unless --no-wait is supplied. Review the returned warnings and per-product results for skipped or failed updates. All three commands require OAuth login. Update PIM and Hydrate require workspace admin access; Pricing Only requires editor access.

Xero Integration

Every Xero command requires the exact workspace and integration connection. The CLI calls Wilfie's workspace APIs and never stores Xero tokens or chooses a tenant implicitly. These commands use Wilfie OAuth login; API-key-only profiles are not accepted by the current workspace Xero endpoints.

wilfie integrations connections list --workspace <workspace_code> --integration-type xero
wilfie integrations xero settings get --workspace <workspace_code> --connection-id <connection_id>
wilfie integrations xero accounting selectors --workspace <workspace_code> --connection-id <connection_id>
wilfie integrations xero accounting mappings list --workspace <workspace_code> --connection-id <connection_id>
wilfie integrations xero contacts sync --workspace <workspace_code> --connection-id <connection_id> --mode full
wilfie integrations xero contacts list --workspace <workspace_code> --connection-id <connection_id> --unmapped-only
wilfie integrations xero contacts create-supplier --workspace <workspace_code> --connection-id <connection_id> --xero-contact-id <contact_id> --expected-payload-hash <sha256> --confirm
wilfie integrations xero invoices list --workspace <workspace_code> --connection-id <connection_id> --invoice-type ACCPAY
wilfie integrations xero invoices sync --workspace <workspace_code> --connection-id <connection_id> --mode full
wilfie integrations xero invoices attachments --workspace <workspace_code> --connection-id <connection_id> --xero-invoice-id <xero_invoice_id>
wilfie integrations xero invoices import --workspace <workspace_code> --connection-id <connection_id> --xero-invoice-id <xero_invoice_id> [--attachment-id <attachment_id>]

Use accounting mappings set to configure GL and tax selections. Run contacts sync --mode full once for the initial contact mirror; Xero CONTACT webhooks then maintain it, with no scheduled provider sync. Use contacts list before either creating a guarded Wilfie supplier from a reviewed Xero contact or deliberately linking an existing supplier with supplier-mappings link. Supplier ensure can create or update a Xero contact with approved Wilfie bank details and therefore requires --confirm.

Run invoices sync --mode full once for the initial invoice mirror. Xero Invoice webhooks maintain it afterward; use --mode targeted --xero-invoice-id <id> for one-record repair or rerun full only for a diagnosed wider repair. No Xero CLI command creates a recurring provider sync. Use invoice-mappings candidates to compare an existing Wilfie AP invoice with same-number Xero bills, then invoice-mappings link with the selected exact-match Xero InvoiceID. Local invoice list/detail is the default; invoices live-list is the explicitly bounded provider read. invoices sync queues the durable mirror operation and follows it unless --no-wait is supplied.

For a supplier bill created in Xero first, use invoices attachments to inspect the original files, then invoices import to send the selected PDF through the same detailed extraction and review workflow as a Wilfie drag-and-drop upload. The import is idempotent for the Xero InvoiceID, does not retry the POST after a network error, and follows the extraction operation unless --no-wait is used.

Common Commands

  • wilfie auth login
  • wilfie auth refresh
  • wilfie auth logout
  • wilfie workflows list --workspace <workspace_code>
  • wilfie workflows runs --workspace <workspace_code> --workflow-id <id>
  • wilfie workflows run-detail --workspace <workspace_code> --workflow-id <id> --run-id <id>
  • wilfie workflows execute --workspace <workspace_code> --workflow-id <id>
  • wilfie live-selling orders --workspace <workspace_code> --period this_month --order-total-less-than 8
  • wilfie wms facilities --workspace <workspace_code>
  • wilfie wms skus --workspace <workspace_code>
  • wilfie wms documents list --workspace <workspace_code> --kind sales_order [--search-query <query>]
  • wilfie wms documents list --workspace <workspace_code> --kind fulfillment_order
  • wilfie wms documents detail --workspace <workspace_code> --kind fulfillment_order --document-id <id>
  • wilfie wms documents lineage --workspace <workspace_code> --kind fulfillment_order --document-id <id> --line-id <id>
  • wilfie wms barcodes resolve --workspace <workspace_code> --facility-id <facility_id> --barcode <scan_value>
  • wilfie wms containers outbound-context --workspace <workspace_code> --container-id <container_id>
  • wilfie wms issues list --workspace <workspace_code> [--facility-id <facility_id>] [--status <open|ignored|resolved>]
  • wilfie wms issues recompute --workspace <workspace_code> [--facility-id <facility_id>] [--scope <scope>] [--dry-run]
  • wilfie wms reconcile outbound --workspace <workspace_code> --integration-connection-id <id> [--order-id <shopify_order_id>] [--fulfillment-order-id <shopify_fo_id>] [--dry-run]
  • wilfie integrations xero settings get --workspace <workspace_code> --connection-id <connection_id>
  • wilfie integrations xero supplier-mappings get --workspace <workspace_code> --connection-id <connection_id> --supplier-company-id <supplier_id>
  • wilfie integrations xero invoice-mappings candidates --workspace <workspace_code> --connection-id <connection_id> --invoice-id <wilfie_invoice_id>
  • wilfie integrations xero invoices list --workspace <workspace_code> --connection-id <connection_id>

Configuration

  • Default API host is https://wilfie.ai.
  • Use --base-url to target another environment.
  • Output modes: --output table (default), --output json.

Links

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wilfie-2026.9.11.1.tar.gz (72.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wilfie-2026.9.11.1-py3-none-any.whl (72.2 kB view details)

Uploaded Python 3

File details

Details for the file wilfie-2026.9.11.1.tar.gz.

File metadata

  • Download URL: wilfie-2026.9.11.1.tar.gz
  • Upload date:
  • Size: 72.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for wilfie-2026.9.11.1.tar.gz
Algorithm Hash digest
SHA256 3da44d6abb1cc1cf9a9619b638d63a66e65b39c68ba1e40d6e9080230e415414
MD5 108a9abe781321815e40eafedfc2d9b8
BLAKE2b-256 4cfe6d02041a5fe76cb112920e1069c6786854bf57b04e9fbff034991385612f

See more details on using hashes here.

File details

Details for the file wilfie-2026.9.11.1-py3-none-any.whl.

File metadata

  • Download URL: wilfie-2026.9.11.1-py3-none-any.whl
  • Upload date:
  • Size: 72.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for wilfie-2026.9.11.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cdc635ab8b803c3a0ecedd04151d234c0cfe336ed662a274e6f454bcfc53408e
MD5 f2c3f07445e8a68db52ff0ebf28fd5b5
BLAKE2b-256 23a9626ce93b70b6d97ea23cbc8185ca1d2d2c7a2c1c5bb8e535694a54d8cb2c

See more details on using hashes here.

Release history Release notifications | RSS feed

2026.9.12.1

2 files

This release

2026.9.11.1 This release

2 files

2026.9.8.2

2 files

2026.9.8.1

2 files

2026.9.3.1

2 files

2026.9.2.1

2 files

2026.8.25.1

2 files

2026.8.21.1

2 files

2026.8.19.1

2 files

2026.8.17.1

2 files

2026.8.16.1

2 files

2026.8.15.1

2 files

2026.8.13.1

2 files

2026.8.11.2

2 files

2026.8.11.1

2 files

2026.8.9.2

2 files

2026.8.9.1

2 files

2026.8.8.1

2 files

2026.8.7.1

2 files

2026.8.6.2

2 files

2026.8.6.1

2 files

2026.8.5.1

2 files

2026.8.4.1

2 files

2026.8.3.2

2 files

2026.8.3.1

2 files

2026.8.2.1

2 files

2026.7.28.1

2 files

2026.7.27.2

2 files

2026.7.27.1

2 files

2026.7.26.2

2 files

2026.7.26.1

2 files

2026.7.23.2

2 files

2026.7.23.1

2 files

2026.7.22.1

2 files

2026.7.21.1

2 files

2026.7.13.2

2 files

2026.7.13.1

2 files

2026.7.7.1

2 files

2026.7.5.1

2 files

2026.6.30.1

2 files

2026.6.28.1

2 files

2026.6.25.1

2 files

2026.6.24.1

2 files

2026.6.22.1

2 files

2026.6.21.1

2 files

2026.6.20.1

2 files

2026.6.18.2

2 files

2026.6.18.1

2 files

2026.6.17.1

2 files

2026.6.10.1

2 files

2026.6.5.1

2 files

2026.6.4.1

2 files

2026.6.2.1

2 files

2026.5.22.1

2 files

2026.5.14.1

2 files

2026.5.1.1

2 files

2026.4.15.1

2 files

2026.4.5.1

2 files

2026.3.11.1

2 files

2026.3.10.1

2 files

2026.3.7.2

2 files

2026.3.7.1

2 files

2026.3.5.1

2 files

2026.3.4.1

2 files

2026.3.1.3

2 files

2026.3.1.2

2 files

2026.3.1.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page