Skip to main content
Browse products + variants in the configured catalog and manage per-variant cost data. Wraps the /api/products* endpoints — see the API reference under the Products group for full request / response shapes. Mutations fire the same per-order COGS recalculation as the web UI.

Subcommands

Search products by title / SKU / variant. Cursor-paginated.
Required scope: costs:read.

cost

Show a single variant in full — identity, its parent product’s details, current price, handling fee, and both cost histories.
Required scope: costs:read.

handling-fee set

Set the per-variant handling fee, charged on every unit sold. Must be >= 0. Setting it replaces the global default handling fee for this variant — use 0 to charge no handling fee.
Required scope: costs:write.

cogs add

Append a new COG line to a variant’s manual cost history. The server assigns a ULID for the new line.
--end is optional — omit for an open-ended interval. Required scope: costs:write.

cogs update

Update an existing COG line by its server-assigned ID. Pass any combination of --cost, --start, --end, --description. Use --end null to clear an end date (make the line open-ended).
Required scope: costs:write.

cogs delete

Delete a COG line by its ID. The CLI prompts for confirmation; --yes (or -y) skips it.
Required scope: costs:write.