@commercelayer/cli-plugin-checkout
TypeScript icon, indicating that this package has built-in type declarations

5.0.10 • Public • Published

@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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
5.0.0-rc.41prerelease
5.1.0-beta.10beta
5.0.101latest

Version History

VersionDownloads (Last 7 Days)Published
5.0.101
5.0.90
5.0.80
5.0.70
5.0.60
5.0.50
5.0.40
5.0.31
5.1.0-beta.10
5.0.20
5.0.10
5.0.00
5.0.0-rc.41
5.0.0-rc.20
5.0.0-rc.11
5.0.0-oclif3.110
5.0.0-oclif3.100
5.0.0-oclif3.90
5.0.0-oclif3.81
5.0.0-oclif3.70
5.0.0-oclif3.60
5.0.0-oclif3.50
5.0.0-oclif3.40
5.0.0-oclif3.30
5.0.0-oclif3.20
5.0.0-oclif3.10
4.7.20
4.7.10
4.7.00
4.6.00
4.5.10
4.5.00
4.4.11
4.4.00
4.3.10
4.3.01
4.2.40
4.2.31
4.2.20
4.2.10
4.2.00
4.1.50
4.1.40
4.1.30
4.1.20
4.1.11
4.1.00
4.0.10
4.0.01
3.3.01
3.2.11
3.2.00
3.1.20
3.1.11
3.1.0-beta.10
3.0.40
3.0.31
3.0.10
2.1.00
2.0.10
2.0.00
2.0.0-beta.40
2.0.0-beta.30
2.0.0-beta.20
2.0.0-beta.11
2.0.0-beta.01
1.2.30
1.2.20
1.2.10
1.1.50
1.1.31
1.1.21
1.1.10
1.1.00
1.0.20
1.0.10
1.0.01

Package Sidebar

Install

npm i @commercelayer/cli-plugin-checkout

Weekly Downloads

19

Version

5.0.10

License

MIT

Unpacked Size

30.8 kB

Total Files

18

Last publish

Collaborators

  • drpierlu
  • commercelayer.io