Package Exports
- @commercelayer/cli-plugin-triggers
- @commercelayer/cli-plugin-triggers/lib/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@commercelayer/cli-plugin-triggers) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
commercelayer-cli-plugin-triggers
Commerce Layer CLI Triggers plugin
Usage
$ npm install -g @commercelayer/cli-plugin-triggers
$ @commercelayer/cli-plugin-triggers COMMAND
running command...
$ @commercelayer/cli-plugin-triggers (-v|--version|version)
@commercelayer/cli-plugin-triggers/1.0.2 darwin-x64 node-v15.14.0
$ @commercelayer/cli-plugin-triggers --help [COMMAND]
USAGE
$ @commercelayer/cli-plugin-triggers COMMAND
...
Commands
@commercelayer/cli-plugin-triggers adyen_payment ID
@commercelayer/cli-plugin-triggers adyen_payment:authorize ID
@commercelayer/cli-plugin-triggers adyen_payment:details ID
@commercelayer/cli-plugin-triggers authorization ID
@commercelayer/cli-plugin-triggers authorization:capture ID
@commercelayer/cli-plugin-triggers authorization:capture_amount_cents ID
@commercelayer/cli-plugin-triggers authorization:void ID
@commercelayer/cli-plugin-triggers bundle ID
@commercelayer/cli-plugin-triggers bundle:compute_compare_at_amount ID
@commercelayer/cli-plugin-triggers capture ID
@commercelayer/cli-plugin-triggers capture:refund ID
@commercelayer/cli-plugin-triggers capture:refund_amount_cents ID
@commercelayer/cli-plugin-triggers checkout_com_payment ID
@commercelayer/cli-plugin-triggers checkout_com_payment:authorize ID
@commercelayer/cli-plugin-triggers checkout_com_payment:details ID
@commercelayer/cli-plugin-triggers checkout_com_payment:refresh ID
@commercelayer/cli-plugin-triggers customer_password_reset ID
@commercelayer/cli-plugin-triggers customer_password_reset:reset_password_token ID
@commercelayer/cli-plugin-triggers gift_card ID
@commercelayer/cli-plugin-triggers gift_card:activate ID
@commercelayer/cli-plugin-triggers gift_card:balance_change_cents ID
@commercelayer/cli-plugin-triggers gift_card:deactivate ID
@commercelayer/cli-plugin-triggers gift_card:purchase ID
@commercelayer/cli-plugin-triggers in_stock_subscription ID
@commercelayer/cli-plugin-triggers in_stock_subscription:activate ID
@commercelayer/cli-plugin-triggers in_stock_subscription:deactivate ID
@commercelayer/cli-plugin-triggers order ID
@commercelayer/cli-plugin-triggers order:approve ID
@commercelayer/cli-plugin-triggers order:approve_and_capture ID
@commercelayer/cli-plugin-triggers order:archive ID
@commercelayer/cli-plugin-triggers order:authorization_amount_cents ID
@commercelayer/cli-plugin-triggers order:authorize ID
@commercelayer/cli-plugin-triggers order:billing_address_clone_id ID
@commercelayer/cli-plugin-triggers order:billing_address_same_as_shipping ID
@commercelayer/cli-plugin-triggers order:cancel ID
@commercelayer/cli-plugin-triggers order:capture ID
@commercelayer/cli-plugin-triggers order:customer_payment_source_id ID
@commercelayer/cli-plugin-triggers order:place ID
@commercelayer/cli-plugin-triggers order:refresh ID
@commercelayer/cli-plugin-triggers order:refund ID
@commercelayer/cli-plugin-triggers order:save_billing_address_to_customer_address_book ID
@commercelayer/cli-plugin-triggers order:save_payment_source_to_customer_wallet ID
@commercelayer/cli-plugin-triggers order:save_shipping_address_to_customer_address_book ID
@commercelayer/cli-plugin-triggers order:shipping_address_clone_id ID
@commercelayer/cli-plugin-triggers order:shipping_address_same_as_billing ID
@commercelayer/cli-plugin-triggers order:unarchive ID
@commercelayer/cli-plugin-triggers order:update_taxes ID
@commercelayer/cli-plugin-triggers order_subscription ID
@commercelayer/cli-plugin-triggers order_subscription:activate ID
@commercelayer/cli-plugin-triggers order_subscription:cancel ID
@commercelayer/cli-plugin-triggers order_subscription:deactivate ID
@commercelayer/cli-plugin-triggers return ID
@commercelayer/cli-plugin-triggers return:approve ID
@commercelayer/cli-plugin-triggers return:archive ID
@commercelayer/cli-plugin-triggers return:cancel ID
@commercelayer/cli-plugin-triggers return:receive ID
@commercelayer/cli-plugin-triggers return:reject ID
@commercelayer/cli-plugin-triggers return:request ID
@commercelayer/cli-plugin-triggers return:restock ID
@commercelayer/cli-plugin-triggers return:ship ID
@commercelayer/cli-plugin-triggers return:unarchive ID
@commercelayer/cli-plugin-triggers return_line_item ID
@commercelayer/cli-plugin-triggers return_line_item:restock ID
@commercelayer/cli-plugin-triggers shipment ID
@commercelayer/cli-plugin-triggers shipment:get_rates ID
@commercelayer/cli-plugin-triggers shipment:on_hold ID
@commercelayer/cli-plugin-triggers shipment:packing ID
@commercelayer/cli-plugin-triggers shipment:picking ID
@commercelayer/cli-plugin-triggers shipment:purchase ID
@commercelayer/cli-plugin-triggers shipment:ready_to_ship ID
@commercelayer/cli-plugin-triggers shipment:ship ID
@commercelayer/cli-plugin-triggers stock_transfer ID
@commercelayer/cli-plugin-triggers stock_transfer:cancel ID
@commercelayer/cli-plugin-triggers stock_transfer:complete ID
@commercelayer/cli-plugin-triggers stock_transfer:in_transit ID
@commercelayer/cli-plugin-triggers stock_transfer:picking ID
@commercelayer/cli-plugin-triggers stock_transfer:upcoming ID
@commercelayer/cli-plugin-triggers stripe_payment ID
@commercelayer/cli-plugin-triggers stripe_payment:refresh ID
@commercelayer/cli-plugin-triggers webhook ID
@commercelayer/cli-plugin-triggers webhook:reset_circuit ID
@commercelayer/cli-plugin-triggers adyen_payment ID
execute an action on a resource of type adyen_payments
USAGE
$ @commercelayer/cli-plugin-triggers adyen_payment ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/adyen_payment/index.ts
@commercelayer/cli-plugin-triggers adyen_payment:authorize ID
Send this attribute if you want to authorize the payment.
USAGE
$ @commercelayer/cli-plugin-triggers adyen_payment:authorize ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/adyen_payment/authorize.ts
@commercelayer/cli-plugin-triggers adyen_payment:details ID
Send this attribute if you want to send additional details the payment request.
USAGE
$ @commercelayer/cli-plugin-triggers adyen_payment:details ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/adyen_payment/details.ts
@commercelayer/cli-plugin-triggers authorization ID
execute an action on a resource of type authorizations
USAGE
$ @commercelayer/cli-plugin-triggers authorization ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/authorization/index.ts
@commercelayer/cli-plugin-triggers authorization:capture ID
Send this attribute if you want to create a capture for this authorization.
USAGE
$ @commercelayer/cli-plugin-triggers authorization:capture ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/authorization/capture.ts
@commercelayer/cli-plugin-triggers authorization:capture_amount_cents ID
The associated capture amount, in cents.
USAGE
$ @commercelayer/cli-plugin-triggers authorization:capture_amount_cents ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/authorization/capture_amount_cents.ts
@commercelayer/cli-plugin-triggers authorization:void ID
Send this attribute if you want to create a void for this authorization.
USAGE
$ @commercelayer/cli-plugin-triggers authorization:void ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/authorization/void.ts
@commercelayer/cli-plugin-triggers bundle ID
execute an action on a resource of type bundles
USAGE
$ @commercelayer/cli-plugin-triggers bundle ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/bundle/index.ts
@commercelayer/cli-plugin-triggers bundle:compute_compare_at_amount ID
Send this attribute if you want to compute the compare_at_amount_cents as the sum of the prices of the bundle SKUs for the market.
USAGE
$ @commercelayer/cli-plugin-triggers bundle:compute_compare_at_amount ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/bundle/compute_compare_at_amount.ts
@commercelayer/cli-plugin-triggers capture ID
execute an action on a resource of type captures
USAGE
$ @commercelayer/cli-plugin-triggers capture ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/capture/index.ts
@commercelayer/cli-plugin-triggers capture:refund ID
Send this attribute if you want to create a refund for this capture.
USAGE
$ @commercelayer/cli-plugin-triggers capture:refund ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/capture/refund.ts
@commercelayer/cli-plugin-triggers capture:refund_amount_cents ID
The associated refund amount, in cents.
USAGE
$ @commercelayer/cli-plugin-triggers capture:refund_amount_cents ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/capture/refund_amount_cents.ts
@commercelayer/cli-plugin-triggers checkout_com_payment ID
execute an action on a resource of type checkout_com_payments
USAGE
$ @commercelayer/cli-plugin-triggers checkout_com_payment ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/checkout_com_payment/index.ts
@commercelayer/cli-plugin-triggers checkout_com_payment:authorize ID
Send this attribute if you want to authorize the payment.
USAGE
$ @commercelayer/cli-plugin-triggers checkout_com_payment:authorize ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/checkout_com_payment/authorize.ts
@commercelayer/cli-plugin-triggers checkout_com_payment:details ID
Send this attribute if you want to send additional details the payment request (i.e. upon 3DS check).
USAGE
$ @commercelayer/cli-plugin-triggers checkout_com_payment:details ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/checkout_com_payment/details.ts
@commercelayer/cli-plugin-triggers checkout_com_payment:refresh ID
Send this attribute if you want to refresh all the pending transactions, can be used as webhooks fallback logic.
USAGE
$ @commercelayer/cli-plugin-triggers checkout_com_payment:refresh ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/checkout_com_payment/refresh.ts
@commercelayer/cli-plugin-triggers customer_password_reset ID
execute an action on a resource of type customer_password_resets
USAGE
$ @commercelayer/cli-plugin-triggers customer_password_reset ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/customer_password_reset/index.ts
@commercelayer/cli-plugin-triggers customer_password_reset:reset_password_token ID
Send the 'reset_password_token' that you got on create when updating the customer password.
USAGE
$ @commercelayer/cli-plugin-triggers customer_password_reset:reset_password_token ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/customer_password_reset/reset_password_token.ts
@commercelayer/cli-plugin-triggers gift_card ID
execute an action on a resource of type gift_cards
USAGE
$ @commercelayer/cli-plugin-triggers gift_card ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/gift_card/index.ts
@commercelayer/cli-plugin-triggers gift_card:activate ID
Send this attribute if you want to activate a gift card.
USAGE
$ @commercelayer/cli-plugin-triggers gift_card:activate ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/gift_card/activate.ts
@commercelayer/cli-plugin-triggers gift_card:balance_change_cents ID
The balance change, in cents. Send a negative value to reduces the card balance by the specified amount. Send a positive value to recharge the gift card (if rechargeable).
USAGE
$ @commercelayer/cli-plugin-triggers gift_card:balance_change_cents ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/gift_card/balance_change_cents.ts
@commercelayer/cli-plugin-triggers gift_card:deactivate ID
Send this attribute if you want to deactivate a gift card.
USAGE
$ @commercelayer/cli-plugin-triggers gift_card:deactivate ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/gift_card/deactivate.ts
@commercelayer/cli-plugin-triggers gift_card:purchase ID
Send this attribute if you want to confirm a draft gift card. The gift card becomes 'inactive', waiting to be activated.
USAGE
$ @commercelayer/cli-plugin-triggers gift_card:purchase ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/gift_card/purchase.ts
@commercelayer/cli-plugin-triggers in_stock_subscription ID
execute an action on a resource of type in_stock_subscriptions
USAGE
$ @commercelayer/cli-plugin-triggers in_stock_subscription ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/in_stock_subscription/index.ts
@commercelayer/cli-plugin-triggers in_stock_subscription:activate ID
Send this attribute if you want to activate an inactive subscription.
USAGE
$ @commercelayer/cli-plugin-triggers in_stock_subscription:activate ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/in_stock_subscription/activate.ts
@commercelayer/cli-plugin-triggers in_stock_subscription:deactivate ID
Send this attribute if you want to dactivate an active subscription.
USAGE
$ @commercelayer/cli-plugin-triggers in_stock_subscription:deactivate ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/in_stock_subscription/deactivate.ts
@commercelayer/cli-plugin-triggers order ID
execute an action on a resource of type orders
USAGE
$ @commercelayer/cli-plugin-triggers order ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/order/index.ts
@commercelayer/cli-plugin-triggers order:approve ID
Send this attribute if you want to approve a placed order.
USAGE
$ @commercelayer/cli-plugin-triggers order:approve ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/order/approve.ts
@commercelayer/cli-plugin-triggers order:approve_and_capture ID
Send this attribute if you want to approve and capture a placed order.
USAGE
$ @commercelayer/cli-plugin-triggers order:approve_and_capture ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/order/approve_and_capture.ts
@commercelayer/cli-plugin-triggers order:archive ID
Send this attribute if you want to archive the order.
USAGE
$ @commercelayer/cli-plugin-triggers order:archive ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/order/archive.ts
@commercelayer/cli-plugin-triggers order:authorization_amount_cents ID
The authorization amount, in cents.
USAGE
$ @commercelayer/cli-plugin-triggers order:authorization_amount_cents ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/order/authorization_amount_cents.ts
@commercelayer/cli-plugin-triggers order:authorize ID
Send this attribute if you want to authorize the order's payment source.
USAGE
$ @commercelayer/cli-plugin-triggers order:authorize ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/order/authorize.ts
@commercelayer/cli-plugin-triggers order:billing_address_clone_id ID
The id of the address that you want to clone to create the order's billing address.
USAGE
$ @commercelayer/cli-plugin-triggers order:billing_address_clone_id ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
-v, --value=value (required) the trigger attribute value
See code: src/commands/order/billing_address_clone_id.ts
@commercelayer/cli-plugin-triggers order:billing_address_same_as_shipping ID
Send this attribute if you want the billing address to be cloned from the order's shipping address.
USAGE
$ @commercelayer/cli-plugin-triggers order:billing_address_same_as_shipping ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/order/billing_address_same_as_shipping.ts
@commercelayer/cli-plugin-triggers order:cancel ID
Send this attribute if you want to cancel a placed order. The order's authorization will be automatically voided.
USAGE
$ @commercelayer/cli-plugin-triggers order:cancel ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/order/cancel.ts
@commercelayer/cli-plugin-triggers order:capture ID
Send this attribute if you want to capture an approved order.
USAGE
$ @commercelayer/cli-plugin-triggers order:capture ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/order/capture.ts
@commercelayer/cli-plugin-triggers order:customer_payment_source_id ID
The id of the customer payment source (i.e. credit card) that you want to use as the order's payment source.
USAGE
$ @commercelayer/cli-plugin-triggers order:customer_payment_source_id ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
-v, --value=value (required) the trigger attribute value
See code: src/commands/order/customer_payment_source_id.ts
@commercelayer/cli-plugin-triggers order:place ID
Send this attribute if you want to place the order.
USAGE
$ @commercelayer/cli-plugin-triggers order:place ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/order/place.ts
@commercelayer/cli-plugin-triggers order:refresh ID
Send this attribute if you want to manually refresh the order.
USAGE
$ @commercelayer/cli-plugin-triggers order:refresh ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/order/refresh.ts
@commercelayer/cli-plugin-triggers order:refund ID
Send this attribute if you want to refund a captured order.
USAGE
$ @commercelayer/cli-plugin-triggers order:refund ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/order/refund.ts
@commercelayer/cli-plugin-triggers order:save_billing_address_to_customer_address_book ID
Send this attribute if you want the order's billing address to be saved in the customer's address book as a customer address.
USAGE
$ @commercelayer/cli-plugin-triggers order:save_billing_address_to_customer_address_book ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/order/save_billing_address_to_customer_address_book.ts
@commercelayer/cli-plugin-triggers order:save_payment_source_to_customer_wallet ID
Send this attribute if you want the order's payment source to be saved in the customer's wallet as a customer payment source.
USAGE
$ @commercelayer/cli-plugin-triggers order:save_payment_source_to_customer_wallet ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/order/save_payment_source_to_customer_wallet.ts
@commercelayer/cli-plugin-triggers order:save_shipping_address_to_customer_address_book ID
Send this attribute if you want the order's shipping address to be saved in the customer's address book as a customer address.
USAGE
$ @commercelayer/cli-plugin-triggers order:save_shipping_address_to_customer_address_book ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/order/save_shipping_address_to_customer_address_book.ts
@commercelayer/cli-plugin-triggers order:shipping_address_clone_id ID
The id of the address that you want to clone to create the order's shipping address.
USAGE
$ @commercelayer/cli-plugin-triggers order:shipping_address_clone_id ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
-v, --value=value (required) the trigger attribute value
See code: src/commands/order/shipping_address_clone_id.ts
@commercelayer/cli-plugin-triggers order:shipping_address_same_as_billing ID
Send this attribute if you want the shipping address to be cloned from the order's billing address.
USAGE
$ @commercelayer/cli-plugin-triggers order:shipping_address_same_as_billing ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/order/shipping_address_same_as_billing.ts
@commercelayer/cli-plugin-triggers order:unarchive ID
Send this attribute if you want to unarchive the order.
USAGE
$ @commercelayer/cli-plugin-triggers order:unarchive ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/order/unarchive.ts
@commercelayer/cli-plugin-triggers order:update_taxes ID
Send this attribute if you want to force tax calculation for this order (a tax calculator must be associated to the order's market).
USAGE
$ @commercelayer/cli-plugin-triggers order:update_taxes ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/order/update_taxes.ts
@commercelayer/cli-plugin-triggers order_subscription ID
execute an action on a resource of type order_subscriptions
USAGE
$ @commercelayer/cli-plugin-triggers order_subscription ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/order_subscription/index.ts
@commercelayer/cli-plugin-triggers order_subscription:activate ID
Send this attribute if you want to mark this subscription as active.
USAGE
$ @commercelayer/cli-plugin-triggers order_subscription:activate ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/order_subscription/activate.ts
@commercelayer/cli-plugin-triggers order_subscription:cancel ID
Send this attribute if you want to mark this subscription as cancelled.
USAGE
$ @commercelayer/cli-plugin-triggers order_subscription:cancel ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/order_subscription/cancel.ts
@commercelayer/cli-plugin-triggers order_subscription:deactivate ID
Send this attribute if you want to mark this subscription as inactive.
USAGE
$ @commercelayer/cli-plugin-triggers order_subscription:deactivate ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/order_subscription/deactivate.ts
@commercelayer/cli-plugin-triggers return ID
execute an action on a resource of type returns
USAGE
$ @commercelayer/cli-plugin-triggers return ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/return/index.ts
@commercelayer/cli-plugin-triggers return:approve ID
Send this attribute if you want to mark this return as approved.
USAGE
$ @commercelayer/cli-plugin-triggers return:approve ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/return/approve.ts
@commercelayer/cli-plugin-triggers return:archive ID
Send this attribute if you want to archive the return.
USAGE
$ @commercelayer/cli-plugin-triggers return:archive ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/return/archive.ts
@commercelayer/cli-plugin-triggers return:cancel ID
Send this attribute if you want to mark this return as cancelled.
USAGE
$ @commercelayer/cli-plugin-triggers return:cancel ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/return/cancel.ts
@commercelayer/cli-plugin-triggers return:receive ID
Send this attribute if you want to mark this return as received.
USAGE
$ @commercelayer/cli-plugin-triggers return:receive ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/return/receive.ts
@commercelayer/cli-plugin-triggers return:reject ID
Send this attribute if you want to mark this return as rejected.
USAGE
$ @commercelayer/cli-plugin-triggers return:reject ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/return/reject.ts
@commercelayer/cli-plugin-triggers return:request ID
Send this attribute if you want to activate this return.
USAGE
$ @commercelayer/cli-plugin-triggers return:request ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/return/request.ts
@commercelayer/cli-plugin-triggers return:restock ID
Send this attribute if you want to restock all of the return line items.
USAGE
$ @commercelayer/cli-plugin-triggers return:restock ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/return/restock.ts
@commercelayer/cli-plugin-triggers return:ship ID
Send this attribute if you want to mark this return as shipped.
USAGE
$ @commercelayer/cli-plugin-triggers return:ship ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/return/ship.ts
@commercelayer/cli-plugin-triggers return:unarchive ID
Send this attribute if you want to unarchive the return.
USAGE
$ @commercelayer/cli-plugin-triggers return:unarchive ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/return/unarchive.ts
@commercelayer/cli-plugin-triggers return_line_item ID
execute an action on a resource of type return_line_items
USAGE
$ @commercelayer/cli-plugin-triggers return_line_item ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/return_line_item/index.ts
@commercelayer/cli-plugin-triggers return_line_item:restock ID
Send this attribute if you want to restock the line item.
USAGE
$ @commercelayer/cli-plugin-triggers return_line_item:restock ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/return_line_item/restock.ts
@commercelayer/cli-plugin-triggers shipment ID
execute an action on a resource of type shipments
USAGE
$ @commercelayer/cli-plugin-triggers shipment ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/shipment/index.ts
@commercelayer/cli-plugin-triggers shipment:get_rates ID
Send this attribute if you want get the shipping rates from the associated carrier accounts.
USAGE
$ @commercelayer/cli-plugin-triggers shipment:get_rates ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/shipment/get_rates.ts
@commercelayer/cli-plugin-triggers shipment:on_hold ID
Send this attribute if you want to put this shipment on hold.
USAGE
$ @commercelayer/cli-plugin-triggers shipment:on_hold ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/shipment/on_hold.ts
@commercelayer/cli-plugin-triggers shipment:packing ID
Send this attribute if you want to start packing this shipment.
USAGE
$ @commercelayer/cli-plugin-triggers shipment:packing ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/shipment/packing.ts
@commercelayer/cli-plugin-triggers shipment:picking ID
Send this attribute if you want to start picking this shipment.
USAGE
$ @commercelayer/cli-plugin-triggers shipment:picking ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/shipment/picking.ts
@commercelayer/cli-plugin-triggers shipment:purchase ID
Send this attribute if you want to purchase this shipment with the selected rate.
USAGE
$ @commercelayer/cli-plugin-triggers shipment:purchase ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/shipment/purchase.ts
@commercelayer/cli-plugin-triggers shipment:ready_to_ship ID
Send this attribute if you want to mark this shipment as ready to ship.
USAGE
$ @commercelayer/cli-plugin-triggers shipment:ready_to_ship ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/shipment/ready_to_ship.ts
@commercelayer/cli-plugin-triggers shipment:ship ID
Send this attribute if you want to mark this shipment as shipped.
USAGE
$ @commercelayer/cli-plugin-triggers shipment:ship ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/shipment/ship.ts
@commercelayer/cli-plugin-triggers stock_transfer ID
execute an action on a resource of type stock_transfers
USAGE
$ @commercelayer/cli-plugin-triggers stock_transfer ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/stock_transfer/index.ts
@commercelayer/cli-plugin-triggers stock_transfer:cancel ID
Send this attribute if you want to cancel this stock transfer.
USAGE
$ @commercelayer/cli-plugin-triggers stock_transfer:cancel ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/stock_transfer/cancel.ts
@commercelayer/cli-plugin-triggers stock_transfer:complete ID
Send this attribute if you want to complete this stock transfer.
USAGE
$ @commercelayer/cli-plugin-triggers stock_transfer:complete ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/stock_transfer/complete.ts
@commercelayer/cli-plugin-triggers stock_transfer:in_transit ID
Send this attribute if you want to mark this stock transfer as in transit.
USAGE
$ @commercelayer/cli-plugin-triggers stock_transfer:in_transit ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/stock_transfer/in_transit.ts
@commercelayer/cli-plugin-triggers stock_transfer:picking ID
Send this attribute if you want to start picking this stock transfer.
USAGE
$ @commercelayer/cli-plugin-triggers stock_transfer:picking ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/stock_transfer/picking.ts
@commercelayer/cli-plugin-triggers stock_transfer:upcoming ID
Send this attribute if you want to mark this stock transfer as upcoming.
USAGE
$ @commercelayer/cli-plugin-triggers stock_transfer:upcoming ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/stock_transfer/upcoming.ts
@commercelayer/cli-plugin-triggers stripe_payment ID
execute an action on a resource of type stripe_payments
USAGE
$ @commercelayer/cli-plugin-triggers stripe_payment ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/stripe_payment/index.ts
@commercelayer/cli-plugin-triggers stripe_payment:refresh ID
Send this attribute if you want to refresh the payment status, can be used as webhooks fallback logic.
USAGE
$ @commercelayer/cli-plugin-triggers stripe_payment:refresh ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/stripe_payment/refresh.ts
@commercelayer/cli-plugin-triggers webhook ID
execute an action on a resource of type webhooks
USAGE
$ @commercelayer/cli-plugin-triggers webhook ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/webhook/index.ts
@commercelayer/cli-plugin-triggers webhook:reset_circuit ID
Send this attribute if you want to reset the circuit breaker associated to this webhook to 'closed' state and zero failures count.
USAGE
$ @commercelayer/cli-plugin-triggers webhook:reset_circuit ID
ARGUMENTS
ID the unique id of the order
OPTIONS
-o, --organization=organization (required) the slug of your organization
See code: src/commands/webhook/reset_circuit.ts