
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@offerkit/cli
Advanced tools
Command-line interface for OfferKit.
OfferKit is open-source promotion infrastructure for coupons, gift cards, loyalty, referrals, customer segments, and validation rules. The CLI uses @offerkit/sdk under the hood and talks to the same /api/v1 API as the dashboard, SDK, and MCP server.
npm install -g @offerkit/cli
pnpm add -g @offerkit/cli
The installed binary is offerkit.
Mint an API key in the OfferKit dashboard at /settings/api-keys, then save it locally:
offerkit login --url https://your-offerkit-deployment --api-key offerkit_...
This writes ~/.offerkitrc with file mode 0600.
You can also use environment variables:
export OFFERKIT_API_URL=https://your-offerkit-deployment
export OFFERKIT_API_KEY=offerkit_...
Environment variables override values from ~/.offerkitrc.
offerkit vouchers list
offerkit vouchers list --search SUMMER
offerkit vouchers get SUMMER10
offerkit vouchers validate SUMMER10 --amount 9999 --currency USD
offerkit vouchers redeem SUMMER10 --amount 9999 --currency USD --idempotency-key order-42
offerkit campaigns list
offerkit campaigns create --name "Spring 2026" --type DISCOUNT --currency USD
offerkit customers list
offerkit customers list --search alice
offerkit customers get 00000000-0000-0000-0000-000000000000
All command output is formatted JSON.
FAQs
OfferKit command-line interface.
The npm package @offerkit/cli receives a total of 2 weekly downloads. As such, @offerkit/cli popularity was classified as not popular.
We found that @offerkit/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.