Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@commercelayer/cli-plugin-checkout

Package Overview
Dependencies
Maintainers
2
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commercelayer/cli-plugin-checkout

Commerce Layer CLI Checkout plugin

  • 5.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
11
decreased by-85.14%
Maintainers
2
Weekly downloads
 
Created
Source

@commercelayer/cli-plugin-checkout

Commerce Layer CLI Checkout plugin

oclif Version Downloads/week License

Usage

commercelayer COMMAND

commercelayer [COMMAND] (--help | -h) for detailed information about plugin commands.

To install as a Commerce Layer CLI plugin run the following command:

$ commercelayer plugins:install checkout

Commands

commercelayer checkout

Create checkout URLs.

USAGE
  $ commercelayer checkout (-a <value> ) [--open] [-m <value> | [-O <value> | -S <value> | -B <value>]] [-c
    <value> | ] [-e <value> | ]

FLAGS
  -B, --bundle=<value>...    a bundle code
  -O, --order=<value>        an order id
  -S, --sku=<value>...       an SKU code
  -a, --accessToken=<value>  (required) custom access token to use instead of the one used for login
  -c, --coupon=<value>       a promo code
  -e, --email=<value>        a customer email
  -m, --market=<value>       a market number
      --open                 open checkout URL in default browser

DESCRIPTION
  create checkout URLs

EXAMPLES
  $ commercelayer checkout -O <order-id>

  $ cl checkout -S <sku-code> -m <market-id> -c <coupon-code> -e <email-address>

  $ cl checkout -S <sku-code-1> -S <sku-code-2> -m <market-id>

See code: src/commands/checkout/index.ts

commercelayer checkout:order ID

Create checkout URLs starting from an existing order.

USAGE
  $ commercelayer checkout:order ID (-a <value> ) [--open]

ARGUMENTS
  ID  unique id of the order

FLAGS
  -a, --accessToken=<value>  (required) custom access token to use instead of the one used for login
      --open                 open checkout URL in default browser

DESCRIPTION
  create checkout URLs starting from an existing order

EXAMPLES
  $ commercelayer checkout:order <order-id>

See code: src/commands/checkout/order.ts

Keywords

FAQs

Package last updated on 30 May 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc