web_api_key and an app_key for the calling app (create one under Account > API in FinerWorks). Corsair stores the web API key as the tenant’s API key and the app key as the account’s app_key field; you can also pass appKey to finerworks() to use one app key for every tenant.
What you get:
- 33 typed API operations
- 3 synced entities (
images,orders,virtualInventoryProducts) for fast.search()/.list()
Setup
1
Install
2
Add the plugin
corsair.ts
corsair.withTenant(id). See Quick start for KEK + Hub keys, and Multi-tenancy for account isolation.3
Choose authentication
- API Key (Recommended)
No setup required yet. When you make your first request as a tenant, Corsair prompts for the API key.More: API Key
4
Connect a tenant
Mint a connect link and send the tenant to it. Hub hosts the page and delivers the result to your app — see Connect / OAuth.
Example API calls
List images in the inventory libraryQuery synced data
orders.fetchStatus stores each order by order_id. images.list, images.add and images.update store images by guid, and inventory.list and inventory.update store products by sku.
images, orders, virtualInventoryProducts. See Database for filters and operators.
What’s next
API reference
Every
finerworks.api.* operation with input and output types.Database
Synced entities, search filters, and operators.
Connect / OAuth
createLink, Hub delivery, and tenant connect flows.
Use with agents
Expose this plugin’s operations as MCP tools.