Farther ShoreDocs
Go to Farther Shore
Choose CLI and MCP operations
CLI reference
Platform operation catalog
MCP tool reference
Global CLI options
CLI: auth
CLI: login
CLI: logout
CLI: skills
CLI: docs
CLI: business
CLI: apply-timeline
CLI: proposal
CLI: env
CLI: plan
CLI: commercial-release
CLI: persona
CLI: usage
CLI: analytics
CLI: operations
CLI: organization
CLI: token
CLI: stripe
CLI: service-account
CLI: limit
CLI: audit-log
CLI: notifications
CLI: backend
CLI: frontend
CLI: webhook
CLI: agents
CLI: bulletin
CLI: promo-code
farthershore promo-codefarthershore promo-code listfarthershore promo-code createfarthershore promo-code updatefarthershore promo-code archivefarthershore promo-code reactivate
CLI: consumer
CLI: variables
CLI: agreements
CLI: tax-settings
CLI: resource-count
CLI: denial
CLI: dependents
CLI: workflow-control
CLI: automation
CLI: knowledge
CLI: link
CLI: unlink
CLI: create
CLI: import
CLI: build
CLI: validate
CLI: workflows
Status
Docs/Complete reference/CLI: promo-code

CLI: promo-code

Complete help for farthershore promo-code and every subcommand.

farthershore promo-code

Usage: farthershore promo-code [options] [command]

Manage API-controlled checkout promo codes

Options:
  -h, --help                                         display help for command

Commands:
  list [businessIdOrSlug]                            List API-managed promo codes for checkout
  create [options] [businessIdOrSlug]                Create an API-managed checkout promo code
  update [options] [businessIdOrSlug] [promoCodeId]  Update an API-managed checkout promo code
  archive [businessIdOrSlug] [promoCodeId]           Archive a checkout promo code
  reactivate [businessIdOrSlug] [promoCodeId]        Reactivate an archived checkout promo code
  help [command]                                     display help for command

farthershore promo-code list

Usage: farthershore promo-code list [options] [businessIdOrSlug]

List API-managed promo codes for checkout

Options:
  -h, --help  display help for command

farthershore promo-code create

Usage: farthershore promo-code create [options] [businessIdOrSlug]

Create an API-managed checkout promo code

Options:
  --code <code>            Customer-entered promo code.
  --kind <kind>            percent_off, amount_off, or free_months.
  --percent <n>            Percent discount for percent_off promos.
  --amount-cents <cents>   Fixed discount in cents for amount_off promos.
  --duration-months <n>    Discount duration in months.
  --max-redemptions <n>    Optional maximum redemption count.
  --active-from <iso>      Optional ISO-8601 activation timestamp.
  --active-until <iso>     Optional ISO-8601 expiration timestamp.
  --plan <planId>          Limit to a plan id. Repeatable. Omit for all launch
                           plans; use --all-plans on update to clear scoped
                           plans. (default: [])
  --idempotency-key <key>  Required for this mutation. Generate it once and
                           reuse the exact value on retry.
  -h, --help               display help for command

farthershore promo-code update

Usage: farthershore promo-code update [options] [businessIdOrSlug] <promoCodeId>

Update an API-managed checkout promo code

Options:
  --code <code>            Replacement customer-entered promo code.
  --kind <kind>            percent_off, amount_off, or free_months.
  --percent <n>            Percent discount for percent_off promos.
  --amount-cents <cents>   Fixed discount in cents for amount_off promos.
  --duration-months <n>    Discount duration in months.
  --max-redemptions <n>    Set maximum redemption count.
  --clear-max-redemptions  Clear the maximum redemption count.
  --active-from <iso>      Set ISO-8601 activation timestamp.
  --clear-active-from      Clear activation timestamp.
  --active-until <iso>     Set ISO-8601 expiration timestamp.
  --clear-active-until     Clear expiration timestamp.
  --plan <planId>          Limit to a plan id. Repeatable. Omit for all launch
                           plans; use --all-plans on update to clear scoped
                           plans. (default: [])
  --all-plans              Clear plan scoping so the promo applies to all launch
                           plans.
  --idempotency-key <key>  Required for this mutation. Generate it once and
                           reuse the exact value on retry.
  -h, --help               display help for command

farthershore promo-code archive

Usage: farthershore promo-code archive [options] [businessIdOrSlug] <promoCodeId>

Archive a checkout promo code

Options:
  -h, --help  display help for command

farthershore promo-code reactivate

Usage: farthershore promo-code reactivate [options] [businessIdOrSlug] <promoCodeId>

Reactivate an archived checkout promo code

Options:
  -h, --help  display help for command
PreviousCLI: bulletinNextCLI: consumer

On this page

farthershore promo-codefarthershore promo-code listfarthershore promo-code createfarthershore promo-code updatefarthershore promo-code archivefarthershore promo-code reactivate