@commercelayer/cli-plugin-triggers 3.15.0 → 4.0.0-oclif3.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +446 -45
- package/bin/run.js +6 -0
- package/lib/base.d.ts +5 -5
- package/lib/base.js +41 -41
- package/lib/commands/adyen_payment/details.d.ts +1 -1
- package/lib/commands/adyen_payment/details.js +5 -3
- package/lib/commands/adyen_payment/index.d.ts +1 -1
- package/lib/commands/adyen_payment/index.js +5 -3
- package/lib/commands/authorization/capture.d.ts +1 -1
- package/lib/commands/authorization/capture.js +5 -3
- package/lib/commands/authorization/capture_amount_cents.d.ts +1 -1
- package/lib/commands/authorization/capture_amount_cents.js +5 -3
- package/lib/commands/authorization/index.d.ts +1 -1
- package/lib/commands/authorization/index.js +5 -3
- package/lib/commands/authorization/void.d.ts +1 -1
- package/lib/commands/authorization/void.js +5 -3
- package/lib/commands/axerve_payment/index.d.ts +1 -1
- package/lib/commands/axerve_payment/index.js +5 -3
- package/lib/commands/axerve_payment/update.d.ts +1 -1
- package/lib/commands/axerve_payment/update.js +5 -3
- package/lib/commands/bundle/compute_compare_at_amount.d.ts +1 -1
- package/lib/commands/bundle/compute_compare_at_amount.js +5 -3
- package/lib/commands/bundle/compute_price_amount.d.ts +1 -1
- package/lib/commands/bundle/compute_price_amount.js +5 -3
- package/lib/commands/bundle/index.d.ts +1 -1
- package/lib/commands/bundle/index.js +5 -3
- package/lib/commands/buy_x_pay_y_promotion/disable.d.ts +1 -1
- package/lib/commands/buy_x_pay_y_promotion/disable.js +5 -3
- package/lib/commands/buy_x_pay_y_promotion/enable.d.ts +1 -1
- package/lib/commands/buy_x_pay_y_promotion/enable.js +5 -3
- package/lib/commands/buy_x_pay_y_promotion/index.d.ts +1 -1
- package/lib/commands/buy_x_pay_y_promotion/index.js +5 -3
- package/lib/commands/capture/index.d.ts +1 -1
- package/lib/commands/capture/index.js +5 -3
- package/lib/commands/capture/refund.d.ts +1 -1
- package/lib/commands/capture/refund.js +5 -3
- package/lib/commands/capture/refund_amount_cents.d.ts +1 -1
- package/lib/commands/capture/refund_amount_cents.js +5 -3
- package/lib/commands/checkout_com_payment/details.d.ts +1 -1
- package/lib/commands/checkout_com_payment/details.js +5 -3
- package/lib/commands/checkout_com_payment/index.d.ts +1 -1
- package/lib/commands/checkout_com_payment/index.js +5 -3
- package/lib/commands/checkout_com_payment/refresh.d.ts +1 -1
- package/lib/commands/checkout_com_payment/refresh.js +5 -3
- package/lib/commands/customer_password_reset/index.d.ts +1 -1
- package/lib/commands/customer_password_reset/index.js +5 -3
- package/lib/commands/customer_password_reset/reset_password_token.d.ts +1 -1
- package/lib/commands/customer_password_reset/reset_password_token.js +5 -3
- package/lib/commands/external_gateway/index.d.ts +9 -0
- package/lib/commands/external_gateway/index.js +40 -0
- package/lib/commands/external_gateway/reset_circuit.d.ts +9 -0
- package/lib/commands/external_gateway/reset_circuit.js +22 -0
- package/lib/commands/external_promotion/disable.d.ts +1 -1
- package/lib/commands/external_promotion/disable.js +5 -3
- package/lib/commands/external_promotion/enable.d.ts +1 -1
- package/lib/commands/external_promotion/enable.js +5 -3
- package/lib/commands/external_promotion/index.d.ts +1 -1
- package/lib/commands/external_promotion/index.js +5 -3
- package/lib/commands/external_promotion/reset_circuit.d.ts +9 -0
- package/lib/commands/external_promotion/reset_circuit.js +22 -0
- package/lib/commands/external_tax_calculator/index.d.ts +9 -0
- package/lib/commands/external_tax_calculator/index.js +40 -0
- package/lib/commands/external_tax_calculator/reset_circuit.d.ts +9 -0
- package/lib/commands/external_tax_calculator/reset_circuit.js +22 -0
- package/lib/commands/fixed_amount_promotion/disable.d.ts +1 -1
- package/lib/commands/fixed_amount_promotion/disable.js +5 -3
- package/lib/commands/fixed_amount_promotion/enable.d.ts +1 -1
- package/lib/commands/fixed_amount_promotion/enable.js +5 -3
- package/lib/commands/fixed_amount_promotion/index.d.ts +1 -1
- package/lib/commands/fixed_amount_promotion/index.js +5 -3
- package/lib/commands/fixed_price_promotion/disable.d.ts +1 -1
- package/lib/commands/fixed_price_promotion/disable.js +5 -3
- package/lib/commands/fixed_price_promotion/enable.d.ts +1 -1
- package/lib/commands/fixed_price_promotion/enable.js +5 -3
- package/lib/commands/fixed_price_promotion/index.d.ts +1 -1
- package/lib/commands/fixed_price_promotion/index.js +5 -3
- package/lib/commands/free_gift_promotion/disable.d.ts +1 -1
- package/lib/commands/free_gift_promotion/disable.js +5 -3
- package/lib/commands/free_gift_promotion/enable.d.ts +1 -1
- package/lib/commands/free_gift_promotion/enable.js +5 -3
- package/lib/commands/free_gift_promotion/index.d.ts +1 -1
- package/lib/commands/free_gift_promotion/index.js +5 -3
- package/lib/commands/free_shipping_promotion/disable.d.ts +1 -1
- package/lib/commands/free_shipping_promotion/disable.js +5 -3
- package/lib/commands/free_shipping_promotion/enable.d.ts +1 -1
- package/lib/commands/free_shipping_promotion/enable.js +5 -3
- package/lib/commands/free_shipping_promotion/index.d.ts +1 -1
- package/lib/commands/free_shipping_promotion/index.js +5 -3
- package/lib/commands/gift_card/activate.d.ts +1 -1
- package/lib/commands/gift_card/activate.js +5 -3
- package/lib/commands/gift_card/balance_change_cents.d.ts +1 -1
- package/lib/commands/gift_card/balance_change_cents.js +5 -3
- package/lib/commands/gift_card/deactivate.d.ts +1 -1
- package/lib/commands/gift_card/deactivate.js +5 -3
- package/lib/commands/gift_card/index.d.ts +1 -1
- package/lib/commands/gift_card/index.js +5 -3
- package/lib/commands/gift_card/purchase.d.ts +1 -1
- package/lib/commands/gift_card/purchase.js +5 -3
- package/lib/commands/in_stock_subscription/activate.d.ts +1 -1
- package/lib/commands/in_stock_subscription/activate.js +5 -3
- package/lib/commands/in_stock_subscription/deactivate.d.ts +1 -1
- package/lib/commands/in_stock_subscription/deactivate.js +5 -3
- package/lib/commands/in_stock_subscription/index.d.ts +1 -1
- package/lib/commands/in_stock_subscription/index.js +5 -3
- package/lib/commands/klarna_payment/index.d.ts +1 -1
- package/lib/commands/klarna_payment/index.js +5 -3
- package/lib/commands/klarna_payment/update.d.ts +1 -1
- package/lib/commands/klarna_payment/update.js +5 -3
- package/lib/commands/line_item/external_price.d.ts +1 -1
- package/lib/commands/line_item/external_price.js +5 -3
- package/lib/commands/line_item/index.d.ts +1 -1
- package/lib/commands/line_item/index.js +5 -3
- package/lib/commands/line_item/reserve_stock.d.ts +1 -1
- package/lib/commands/line_item/reserve_stock.js +5 -3
- package/lib/commands/line_item/reset_circuit.d.ts +9 -0
- package/lib/commands/line_item/reset_circuit.js +22 -0
- package/lib/commands/market/disable.d.ts +1 -1
- package/lib/commands/market/disable.js +5 -3
- package/lib/commands/market/enable.d.ts +1 -1
- package/lib/commands/market/enable.js +5 -3
- package/lib/commands/market/index.d.ts +1 -1
- package/lib/commands/market/index.js +5 -3
- package/lib/commands/noc.js +2 -2
- package/lib/commands/order/approve.d.ts +1 -1
- package/lib/commands/order/approve.js +5 -3
- package/lib/commands/order/approve_and_capture.d.ts +1 -1
- package/lib/commands/order/approve_and_capture.js +5 -3
- package/lib/commands/order/archive.d.ts +1 -1
- package/lib/commands/order/archive.js +5 -3
- package/lib/commands/order/authorization_amount_cents.d.ts +1 -1
- package/lib/commands/order/authorization_amount_cents.js +5 -3
- package/lib/commands/order/authorize.d.ts +1 -1
- package/lib/commands/order/authorize.js +5 -3
- package/lib/commands/order/billing_address_clone_id.d.ts +2 -2
- package/lib/commands/order/billing_address_clone_id.js +12 -10
- package/lib/commands/order/billing_address_same_as_shipping.d.ts +1 -1
- package/lib/commands/order/billing_address_same_as_shipping.js +5 -3
- package/lib/commands/order/cancel.d.ts +1 -1
- package/lib/commands/order/cancel.js +5 -3
- package/lib/commands/order/capture.d.ts +1 -1
- package/lib/commands/order/capture.js +5 -3
- package/lib/commands/order/commit_invoice.d.ts +1 -1
- package/lib/commands/order/commit_invoice.js +5 -3
- package/lib/commands/order/create_subscriptions.d.ts +1 -1
- package/lib/commands/order/create_subscriptions.js +5 -3
- package/lib/commands/order/customer_payment_source_id.d.ts +2 -2
- package/lib/commands/order/customer_payment_source_id.js +12 -10
- package/lib/commands/order/index.d.ts +1 -1
- package/lib/commands/order/index.js +5 -3
- package/lib/commands/order/nullify_payment_source.d.ts +1 -1
- package/lib/commands/order/nullify_payment_source.js +5 -3
- package/lib/commands/order/pending.d.ts +9 -0
- package/lib/commands/order/pending.js +22 -0
- package/lib/commands/order/place.d.ts +1 -1
- package/lib/commands/order/place.js +5 -3
- package/lib/commands/order/refresh.d.ts +1 -1
- package/lib/commands/order/refresh.js +5 -3
- package/lib/commands/order/refund.d.ts +1 -1
- package/lib/commands/order/refund.js +5 -3
- package/lib/commands/order/refund_invoice.d.ts +1 -1
- package/lib/commands/order/refund_invoice.js +5 -3
- package/lib/commands/order/reset_circuit.d.ts +9 -0
- package/lib/commands/order/reset_circuit.js +22 -0
- package/lib/commands/order/save_billing_address_to_customer_address_book.d.ts +1 -1
- package/lib/commands/order/save_billing_address_to_customer_address_book.js +5 -3
- package/lib/commands/order/save_payment_source_to_customer_wallet.d.ts +1 -1
- package/lib/commands/order/save_payment_source_to_customer_wallet.js +5 -3
- package/lib/commands/order/save_shipping_address_to_customer_address_book.d.ts +1 -1
- package/lib/commands/order/save_shipping_address_to_customer_address_book.js +5 -3
- package/lib/commands/order/shipping_address_clone_id.d.ts +2 -2
- package/lib/commands/order/shipping_address_clone_id.js +12 -10
- package/lib/commands/order/shipping_address_same_as_billing.d.ts +1 -1
- package/lib/commands/order/shipping_address_same_as_billing.js +5 -3
- package/lib/commands/order/start_editing.d.ts +1 -1
- package/lib/commands/order/start_editing.js +5 -3
- package/lib/commands/order/stop_editing.d.ts +1 -1
- package/lib/commands/order/stop_editing.js +5 -3
- package/lib/commands/order/unarchive.d.ts +1 -1
- package/lib/commands/order/unarchive.js +5 -3
- package/lib/commands/order/update_taxes.d.ts +1 -1
- package/lib/commands/order/update_taxes.js +5 -3
- package/lib/commands/order/validate.d.ts +1 -1
- package/lib/commands/order/validate.js +5 -3
- package/lib/commands/order_subscription/activate.d.ts +1 -1
- package/lib/commands/order_subscription/activate.js +5 -3
- package/lib/commands/order_subscription/cancel.d.ts +1 -1
- package/lib/commands/order_subscription/cancel.js +5 -3
- package/lib/commands/order_subscription/deactivate.d.ts +1 -1
- package/lib/commands/order_subscription/deactivate.js +5 -3
- package/lib/commands/order_subscription/index.d.ts +1 -1
- package/lib/commands/order_subscription/index.js +5 -3
- package/lib/commands/payment_method/disable.d.ts +1 -1
- package/lib/commands/payment_method/disable.js +5 -3
- package/lib/commands/payment_method/enable.d.ts +1 -1
- package/lib/commands/payment_method/enable.js +5 -3
- package/lib/commands/payment_method/index.d.ts +1 -1
- package/lib/commands/payment_method/index.js +5 -3
- package/lib/commands/percentage_discount_promotion/disable.d.ts +1 -1
- package/lib/commands/percentage_discount_promotion/disable.js +5 -3
- package/lib/commands/percentage_discount_promotion/enable.d.ts +1 -1
- package/lib/commands/percentage_discount_promotion/enable.js +5 -3
- package/lib/commands/percentage_discount_promotion/index.d.ts +1 -1
- package/lib/commands/percentage_discount_promotion/index.js +5 -3
- package/lib/commands/return/approve.d.ts +1 -1
- package/lib/commands/return/approve.js +5 -3
- package/lib/commands/return/archive.d.ts +1 -1
- package/lib/commands/return/archive.js +5 -3
- package/lib/commands/return/cancel.d.ts +1 -1
- package/lib/commands/return/cancel.js +5 -3
- package/lib/commands/return/index.d.ts +1 -1
- package/lib/commands/return/index.js +5 -3
- package/lib/commands/return/receive.d.ts +1 -1
- package/lib/commands/return/receive.js +5 -3
- package/lib/commands/return/reject.d.ts +1 -1
- package/lib/commands/return/reject.js +5 -3
- package/lib/commands/return/request.d.ts +1 -1
- package/lib/commands/return/request.js +5 -3
- package/lib/commands/return/restock.d.ts +1 -1
- package/lib/commands/return/restock.js +5 -3
- package/lib/commands/return/ship.d.ts +1 -1
- package/lib/commands/return/ship.js +5 -3
- package/lib/commands/return/unarchive.d.ts +1 -1
- package/lib/commands/return/unarchive.js +5 -3
- package/lib/commands/return_line_item/index.d.ts +1 -1
- package/lib/commands/return_line_item/index.js +5 -3
- package/lib/commands/return_line_item/restock.d.ts +1 -1
- package/lib/commands/return_line_item/restock.js +5 -3
- package/lib/commands/satispay_payment/index.d.ts +1 -1
- package/lib/commands/satispay_payment/index.js +5 -3
- package/lib/commands/satispay_payment/refresh.d.ts +1 -1
- package/lib/commands/satispay_payment/refresh.js +5 -3
- package/lib/commands/shipment/decrement_stock.d.ts +1 -1
- package/lib/commands/shipment/decrement_stock.js +5 -3
- package/lib/commands/shipment/get_rates.d.ts +1 -1
- package/lib/commands/shipment/get_rates.js +5 -3
- package/lib/commands/shipment/index.d.ts +1 -1
- package/lib/commands/shipment/index.js +5 -3
- package/lib/commands/shipment/on_hold.d.ts +1 -1
- package/lib/commands/shipment/on_hold.js +5 -3
- package/lib/commands/shipment/packing.d.ts +1 -1
- package/lib/commands/shipment/packing.js +5 -3
- package/lib/commands/shipment/picking.d.ts +1 -1
- package/lib/commands/shipment/picking.js +5 -3
- package/lib/commands/shipment/purchase.d.ts +1 -1
- package/lib/commands/shipment/purchase.js +5 -3
- package/lib/commands/shipment/ready_to_ship.d.ts +1 -1
- package/lib/commands/shipment/ready_to_ship.js +5 -3
- package/lib/commands/shipment/release_stock.d.ts +1 -1
- package/lib/commands/shipment/release_stock.js +5 -3
- package/lib/commands/shipment/reserve_stock.d.ts +1 -1
- package/lib/commands/shipment/reserve_stock.js +5 -3
- package/lib/commands/shipment/ship.d.ts +1 -1
- package/lib/commands/shipment/ship.js +5 -3
- package/lib/commands/shipment/upcoming.d.ts +1 -1
- package/lib/commands/shipment/upcoming.js +5 -3
- package/lib/commands/shipping_method/disable.d.ts +1 -1
- package/lib/commands/shipping_method/disable.js +5 -3
- package/lib/commands/shipping_method/enable.d.ts +1 -1
- package/lib/commands/shipping_method/enable.js +5 -3
- package/lib/commands/shipping_method/index.d.ts +1 -1
- package/lib/commands/shipping_method/index.js +5 -3
- package/lib/commands/shipping_method/reset_circuit.d.ts +9 -0
- package/lib/commands/shipping_method/reset_circuit.js +22 -0
- package/lib/commands/stock_item/index.d.ts +9 -0
- package/lib/commands/stock_item/index.js +40 -0
- package/lib/commands/stock_item/validate.d.ts +9 -0
- package/lib/commands/stock_item/validate.js +22 -0
- package/lib/commands/stock_line_item/decrement_stock.d.ts +9 -0
- package/lib/commands/stock_line_item/decrement_stock.js +22 -0
- package/lib/commands/stock_line_item/index.d.ts +9 -0
- package/lib/commands/stock_line_item/index.js +40 -0
- package/lib/commands/stock_line_item/release_stock.d.ts +9 -0
- package/lib/commands/stock_line_item/release_stock.js +22 -0
- package/lib/commands/stock_line_item/reserve_stock.d.ts +9 -0
- package/lib/commands/stock_line_item/reserve_stock.js +22 -0
- package/lib/commands/stock_reservation/index.d.ts +1 -1
- package/lib/commands/stock_reservation/index.js +5 -3
- package/lib/commands/stock_reservation/pending.d.ts +1 -1
- package/lib/commands/stock_reservation/pending.js +5 -3
- package/lib/commands/stock_transfer/cancel.d.ts +1 -1
- package/lib/commands/stock_transfer/cancel.js +5 -3
- package/lib/commands/stock_transfer/complete.d.ts +1 -1
- package/lib/commands/stock_transfer/complete.js +5 -3
- package/lib/commands/stock_transfer/in_transit.d.ts +1 -1
- package/lib/commands/stock_transfer/in_transit.js +5 -3
- package/lib/commands/stock_transfer/index.d.ts +1 -1
- package/lib/commands/stock_transfer/index.js +5 -3
- package/lib/commands/stock_transfer/on_hold.d.ts +1 -1
- package/lib/commands/stock_transfer/on_hold.js +5 -3
- package/lib/commands/stock_transfer/picking.d.ts +1 -1
- package/lib/commands/stock_transfer/picking.js +5 -3
- package/lib/commands/stock_transfer/upcoming.d.ts +1 -1
- package/lib/commands/stock_transfer/upcoming.js +5 -3
- package/lib/commands/stripe_payment/index.d.ts +1 -1
- package/lib/commands/stripe_payment/index.js +5 -3
- package/lib/commands/stripe_payment/refresh.d.ts +1 -1
- package/lib/commands/stripe_payment/refresh.js +5 -3
- package/lib/commands/stripe_payment/update.d.ts +1 -1
- package/lib/commands/stripe_payment/update.js +5 -3
- package/lib/commands/webhook/disable.d.ts +9 -0
- package/lib/commands/webhook/disable.js +22 -0
- package/lib/commands/webhook/enable.d.ts +9 -0
- package/lib/commands/webhook/enable.js +22 -0
- package/lib/commands/webhook/index.d.ts +1 -1
- package/lib/commands/webhook/index.js +5 -3
- package/lib/commands/webhook/reset_circuit.d.ts +1 -1
- package/lib/commands/webhook/reset_circuit.js +5 -3
- package/lib/exec.d.ts +2 -1
- package/lib/exec.js +0 -1
- package/lib/triggers/buy_x_pay_y_promotions.js +2 -2
- package/lib/triggers/external_gateways.d.ts +3 -0
- package/lib/triggers/external_gateways.js +10 -0
- package/lib/triggers/external_promotions.d.ts +1 -1
- package/lib/triggers/external_promotions.js +7 -2
- package/lib/triggers/external_tax_calculators.d.ts +3 -0
- package/lib/triggers/external_tax_calculators.js +10 -0
- package/lib/triggers/fixed_amount_promotions.js +2 -2
- package/lib/triggers/fixed_price_promotions.js +2 -2
- package/lib/triggers/free_gift_promotions.js +2 -2
- package/lib/triggers/free_shipping_promotions.js +2 -2
- package/lib/triggers/line_items.d.ts +1 -1
- package/lib/triggers/line_items.js +5 -0
- package/lib/triggers/markets.js +2 -2
- package/lib/triggers/orders.d.ts +1 -1
- package/lib/triggers/orders.js +10 -0
- package/lib/triggers/payment_methods.js +2 -2
- package/lib/triggers/percentage_discount_promotions.js +2 -2
- package/lib/triggers/shipments.js +1 -1
- package/lib/triggers/shipping_methods.d.ts +1 -1
- package/lib/triggers/shipping_methods.js +7 -2
- package/lib/triggers/stock_items.d.ts +3 -0
- package/lib/triggers/stock_items.js +10 -0
- package/lib/triggers/stock_line_items.d.ts +3 -0
- package/lib/triggers/stock_line_items.js +20 -0
- package/lib/triggers/webhooks.d.ts +1 -1
- package/lib/triggers/webhooks.js +11 -1
- package/oclif.manifest.json +2203 -572
- package/package.json +38 -32
- package/bin/dev +0 -18
- package/bin/dev.cmd +0 -3
- package/bin/run +0 -5
package/README.md
CHANGED
|
@@ -52,9 +52,14 @@ $ commercelayer plugins:install triggers
|
|
|
52
52
|
* [`commercelayer checkout_com_payment:refresh ID`](#commercelayer-checkout_com_paymentrefresh-id)
|
|
53
53
|
* [`commercelayer customer_password_reset ID`](#commercelayer-customer_password_reset-id)
|
|
54
54
|
* [`commercelayer customer_password_reset:reset_password_token ID`](#commercelayer-customer_password_resetreset_password_token-id)
|
|
55
|
+
* [`commercelayer external_gateway ID`](#commercelayer-external_gateway-id)
|
|
56
|
+
* [`commercelayer external_gateway:reset_circuit ID`](#commercelayer-external_gatewayreset_circuit-id)
|
|
55
57
|
* [`commercelayer external_promotion ID`](#commercelayer-external_promotion-id)
|
|
56
58
|
* [`commercelayer external_promotion:disable ID`](#commercelayer-external_promotiondisable-id)
|
|
57
59
|
* [`commercelayer external_promotion:enable ID`](#commercelayer-external_promotionenable-id)
|
|
60
|
+
* [`commercelayer external_promotion:reset_circuit ID`](#commercelayer-external_promotionreset_circuit-id)
|
|
61
|
+
* [`commercelayer external_tax_calculator ID`](#commercelayer-external_tax_calculator-id)
|
|
62
|
+
* [`commercelayer external_tax_calculator:reset_circuit ID`](#commercelayer-external_tax_calculatorreset_circuit-id)
|
|
58
63
|
* [`commercelayer fixed_amount_promotion ID`](#commercelayer-fixed_amount_promotion-id)
|
|
59
64
|
* [`commercelayer fixed_amount_promotion:disable ID`](#commercelayer-fixed_amount_promotiondisable-id)
|
|
60
65
|
* [`commercelayer fixed_amount_promotion:enable ID`](#commercelayer-fixed_amount_promotionenable-id)
|
|
@@ -80,6 +85,7 @@ $ commercelayer plugins:install triggers
|
|
|
80
85
|
* [`commercelayer line_item ID`](#commercelayer-line_item-id)
|
|
81
86
|
* [`commercelayer line_item:external_price ID`](#commercelayer-line_itemexternal_price-id)
|
|
82
87
|
* [`commercelayer line_item:reserve_stock ID`](#commercelayer-line_itemreserve_stock-id)
|
|
88
|
+
* [`commercelayer line_item:reset_circuit ID`](#commercelayer-line_itemreset_circuit-id)
|
|
83
89
|
* [`commercelayer market ID`](#commercelayer-market-id)
|
|
84
90
|
* [`commercelayer market:disable ID`](#commercelayer-marketdisable-id)
|
|
85
91
|
* [`commercelayer market:enable ID`](#commercelayer-marketenable-id)
|
|
@@ -97,10 +103,12 @@ $ commercelayer plugins:install triggers
|
|
|
97
103
|
* [`commercelayer order:create_subscriptions ID`](#commercelayer-ordercreate_subscriptions-id)
|
|
98
104
|
* [`commercelayer order:customer_payment_source_id ID`](#commercelayer-ordercustomer_payment_source_id-id)
|
|
99
105
|
* [`commercelayer order:nullify_payment_source ID`](#commercelayer-ordernullify_payment_source-id)
|
|
106
|
+
* [`commercelayer order:pending ID`](#commercelayer-orderpending-id)
|
|
100
107
|
* [`commercelayer order:place ID`](#commercelayer-orderplace-id)
|
|
101
108
|
* [`commercelayer order:refresh ID`](#commercelayer-orderrefresh-id)
|
|
102
109
|
* [`commercelayer order:refund ID`](#commercelayer-orderrefund-id)
|
|
103
110
|
* [`commercelayer order:refund_invoice ID`](#commercelayer-orderrefund_invoice-id)
|
|
111
|
+
* [`commercelayer order:reset_circuit ID`](#commercelayer-orderreset_circuit-id)
|
|
104
112
|
* [`commercelayer order:save_billing_address_to_customer_address_book ID`](#commercelayer-ordersave_billing_address_to_customer_address_book-id)
|
|
105
113
|
* [`commercelayer order:save_payment_source_to_customer_wallet ID`](#commercelayer-ordersave_payment_source_to_customer_wallet-id)
|
|
106
114
|
* [`commercelayer order:save_shipping_address_to_customer_address_book ID`](#commercelayer-ordersave_shipping_address_to_customer_address_book-id)
|
|
@@ -150,6 +158,13 @@ $ commercelayer plugins:install triggers
|
|
|
150
158
|
* [`commercelayer shipping_method ID`](#commercelayer-shipping_method-id)
|
|
151
159
|
* [`commercelayer shipping_method:disable ID`](#commercelayer-shipping_methoddisable-id)
|
|
152
160
|
* [`commercelayer shipping_method:enable ID`](#commercelayer-shipping_methodenable-id)
|
|
161
|
+
* [`commercelayer shipping_method:reset_circuit ID`](#commercelayer-shipping_methodreset_circuit-id)
|
|
162
|
+
* [`commercelayer stock_item ID`](#commercelayer-stock_item-id)
|
|
163
|
+
* [`commercelayer stock_item:validate ID`](#commercelayer-stock_itemvalidate-id)
|
|
164
|
+
* [`commercelayer stock_line_item ID`](#commercelayer-stock_line_item-id)
|
|
165
|
+
* [`commercelayer stock_line_item:decrement_stock ID`](#commercelayer-stock_line_itemdecrement_stock-id)
|
|
166
|
+
* [`commercelayer stock_line_item:release_stock ID`](#commercelayer-stock_line_itemrelease_stock-id)
|
|
167
|
+
* [`commercelayer stock_line_item:reserve_stock ID`](#commercelayer-stock_line_itemreserve_stock-id)
|
|
153
168
|
* [`commercelayer stock_reservation ID`](#commercelayer-stock_reservation-id)
|
|
154
169
|
* [`commercelayer stock_reservation:pending ID`](#commercelayer-stock_reservationpending-id)
|
|
155
170
|
* [`commercelayer stock_transfer ID`](#commercelayer-stock_transfer-id)
|
|
@@ -163,6 +178,8 @@ $ commercelayer plugins:install triggers
|
|
|
163
178
|
* [`commercelayer stripe_payment:refresh ID`](#commercelayer-stripe_paymentrefresh-id)
|
|
164
179
|
* [`commercelayer stripe_payment:update ID`](#commercelayer-stripe_paymentupdate-id)
|
|
165
180
|
* [`commercelayer webhook ID`](#commercelayer-webhook-id)
|
|
181
|
+
* [`commercelayer webhook:disable ID`](#commercelayer-webhookdisable-id)
|
|
182
|
+
* [`commercelayer webhook:enable ID`](#commercelayer-webhookenable-id)
|
|
166
183
|
* [`commercelayer webhook:reset_circuit ID`](#commercelayer-webhookreset_circuit-id)
|
|
167
184
|
|
|
168
185
|
### `commercelayer adyen_payment ID`
|
|
@@ -433,7 +450,7 @@ _See code: [src/commands/buy_x_pay_y_promotion/index.ts](https://github.com/comm
|
|
|
433
450
|
|
|
434
451
|
### `commercelayer buy_x_pay_y_promotion:disable ID`
|
|
435
452
|
|
|
436
|
-
Send this attribute if you want to mark
|
|
453
|
+
Send this attribute if you want to mark this resource as disabled.
|
|
437
454
|
|
|
438
455
|
```sh-session
|
|
439
456
|
USAGE
|
|
@@ -448,14 +465,14 @@ FLAGS
|
|
|
448
465
|
-u, --unformatted print JSON output without indentation
|
|
449
466
|
|
|
450
467
|
DESCRIPTION
|
|
451
|
-
Send this attribute if you want to mark
|
|
468
|
+
Send this attribute if you want to mark this resource as disabled.
|
|
452
469
|
```
|
|
453
470
|
|
|
454
471
|
_See code: [src/commands/buy_x_pay_y_promotion/disable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/buy_x_pay_y_promotion/disable.ts)_
|
|
455
472
|
|
|
456
473
|
### `commercelayer buy_x_pay_y_promotion:enable ID`
|
|
457
474
|
|
|
458
|
-
Send this attribute if you want to mark
|
|
475
|
+
Send this attribute if you want to mark this resource as enabled.
|
|
459
476
|
|
|
460
477
|
```sh-session
|
|
461
478
|
USAGE
|
|
@@ -470,7 +487,7 @@ FLAGS
|
|
|
470
487
|
-u, --unformatted print JSON output without indentation
|
|
471
488
|
|
|
472
489
|
DESCRIPTION
|
|
473
|
-
Send this attribute if you want to mark
|
|
490
|
+
Send this attribute if you want to mark this resource as enabled.
|
|
474
491
|
```
|
|
475
492
|
|
|
476
493
|
_See code: [src/commands/buy_x_pay_y_promotion/enable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/buy_x_pay_y_promotion/enable.ts)_
|
|
@@ -651,6 +668,51 @@ DESCRIPTION
|
|
|
651
668
|
|
|
652
669
|
_See code: [src/commands/customer_password_reset/reset_password_token.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/customer_password_reset/reset_password_token.ts)_
|
|
653
670
|
|
|
671
|
+
### `commercelayer external_gateway ID`
|
|
672
|
+
|
|
673
|
+
Execute an action on a resource of type external_gateways.
|
|
674
|
+
|
|
675
|
+
```sh-session
|
|
676
|
+
USAGE
|
|
677
|
+
$ commercelayer external_gateway ID [-u [-j -p]]
|
|
678
|
+
|
|
679
|
+
ARGUMENTS
|
|
680
|
+
ID the unique id of the resource
|
|
681
|
+
|
|
682
|
+
FLAGS
|
|
683
|
+
-j, --json print result in JSON format
|
|
684
|
+
-p, --print print out the modified resource
|
|
685
|
+
-u, --unformatted print JSON output without indentation
|
|
686
|
+
|
|
687
|
+
DESCRIPTION
|
|
688
|
+
execute an action on a resource of type external_gateways
|
|
689
|
+
```
|
|
690
|
+
|
|
691
|
+
_See code: [src/commands/external_gateway/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/external_gateway/index.ts)_
|
|
692
|
+
|
|
693
|
+
### `commercelayer external_gateway:reset_circuit ID`
|
|
694
|
+
|
|
695
|
+
Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.
|
|
696
|
+
|
|
697
|
+
```sh-session
|
|
698
|
+
USAGE
|
|
699
|
+
$ commercelayer external_gateway:reset_circuit ID [-u [-j -p]]
|
|
700
|
+
|
|
701
|
+
ARGUMENTS
|
|
702
|
+
ID the unique id of the resource
|
|
703
|
+
|
|
704
|
+
FLAGS
|
|
705
|
+
-j, --json print result in JSON format
|
|
706
|
+
-p, --print print out the modified resource
|
|
707
|
+
-u, --unformatted print JSON output without indentation
|
|
708
|
+
|
|
709
|
+
DESCRIPTION
|
|
710
|
+
Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero
|
|
711
|
+
failures count.
|
|
712
|
+
```
|
|
713
|
+
|
|
714
|
+
_See code: [src/commands/external_gateway/reset_circuit.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/external_gateway/reset_circuit.ts)_
|
|
715
|
+
|
|
654
716
|
### `commercelayer external_promotion ID`
|
|
655
717
|
|
|
656
718
|
Execute an action on a resource of type external_promotions.
|
|
@@ -675,7 +737,7 @@ _See code: [src/commands/external_promotion/index.ts](https://github.com/commerc
|
|
|
675
737
|
|
|
676
738
|
### `commercelayer external_promotion:disable ID`
|
|
677
739
|
|
|
678
|
-
Send this attribute if you want to mark
|
|
740
|
+
Send this attribute if you want to mark this resource as disabled.
|
|
679
741
|
|
|
680
742
|
```sh-session
|
|
681
743
|
USAGE
|
|
@@ -690,14 +752,14 @@ FLAGS
|
|
|
690
752
|
-u, --unformatted print JSON output without indentation
|
|
691
753
|
|
|
692
754
|
DESCRIPTION
|
|
693
|
-
Send this attribute if you want to mark
|
|
755
|
+
Send this attribute if you want to mark this resource as disabled.
|
|
694
756
|
```
|
|
695
757
|
|
|
696
758
|
_See code: [src/commands/external_promotion/disable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/external_promotion/disable.ts)_
|
|
697
759
|
|
|
698
760
|
### `commercelayer external_promotion:enable ID`
|
|
699
761
|
|
|
700
|
-
Send this attribute if you want to mark
|
|
762
|
+
Send this attribute if you want to mark this resource as enabled.
|
|
701
763
|
|
|
702
764
|
```sh-session
|
|
703
765
|
USAGE
|
|
@@ -712,11 +774,79 @@ FLAGS
|
|
|
712
774
|
-u, --unformatted print JSON output without indentation
|
|
713
775
|
|
|
714
776
|
DESCRIPTION
|
|
715
|
-
Send this attribute if you want to mark
|
|
777
|
+
Send this attribute if you want to mark this resource as enabled.
|
|
716
778
|
```
|
|
717
779
|
|
|
718
780
|
_See code: [src/commands/external_promotion/enable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/external_promotion/enable.ts)_
|
|
719
781
|
|
|
782
|
+
### `commercelayer external_promotion:reset_circuit ID`
|
|
783
|
+
|
|
784
|
+
Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.
|
|
785
|
+
|
|
786
|
+
```sh-session
|
|
787
|
+
USAGE
|
|
788
|
+
$ commercelayer external_promotion:reset_circuit ID [-u [-j -p]]
|
|
789
|
+
|
|
790
|
+
ARGUMENTS
|
|
791
|
+
ID the unique id of the resource
|
|
792
|
+
|
|
793
|
+
FLAGS
|
|
794
|
+
-j, --json print result in JSON format
|
|
795
|
+
-p, --print print out the modified resource
|
|
796
|
+
-u, --unformatted print JSON output without indentation
|
|
797
|
+
|
|
798
|
+
DESCRIPTION
|
|
799
|
+
Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero
|
|
800
|
+
failures count.
|
|
801
|
+
```
|
|
802
|
+
|
|
803
|
+
_See code: [src/commands/external_promotion/reset_circuit.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/external_promotion/reset_circuit.ts)_
|
|
804
|
+
|
|
805
|
+
### `commercelayer external_tax_calculator ID`
|
|
806
|
+
|
|
807
|
+
Execute an action on a resource of type external_tax_calculators.
|
|
808
|
+
|
|
809
|
+
```sh-session
|
|
810
|
+
USAGE
|
|
811
|
+
$ commercelayer external_tax_calculator ID [-u [-j -p]]
|
|
812
|
+
|
|
813
|
+
ARGUMENTS
|
|
814
|
+
ID the unique id of the resource
|
|
815
|
+
|
|
816
|
+
FLAGS
|
|
817
|
+
-j, --json print result in JSON format
|
|
818
|
+
-p, --print print out the modified resource
|
|
819
|
+
-u, --unformatted print JSON output without indentation
|
|
820
|
+
|
|
821
|
+
DESCRIPTION
|
|
822
|
+
execute an action on a resource of type external_tax_calculators
|
|
823
|
+
```
|
|
824
|
+
|
|
825
|
+
_See code: [src/commands/external_tax_calculator/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/external_tax_calculator/index.ts)_
|
|
826
|
+
|
|
827
|
+
### `commercelayer external_tax_calculator:reset_circuit ID`
|
|
828
|
+
|
|
829
|
+
Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.
|
|
830
|
+
|
|
831
|
+
```sh-session
|
|
832
|
+
USAGE
|
|
833
|
+
$ commercelayer external_tax_calculator:reset_circuit ID [-u [-j -p]]
|
|
834
|
+
|
|
835
|
+
ARGUMENTS
|
|
836
|
+
ID the unique id of the resource
|
|
837
|
+
|
|
838
|
+
FLAGS
|
|
839
|
+
-j, --json print result in JSON format
|
|
840
|
+
-p, --print print out the modified resource
|
|
841
|
+
-u, --unformatted print JSON output without indentation
|
|
842
|
+
|
|
843
|
+
DESCRIPTION
|
|
844
|
+
Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero
|
|
845
|
+
failures count.
|
|
846
|
+
```
|
|
847
|
+
|
|
848
|
+
_See code: [src/commands/external_tax_calculator/reset_circuit.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/external_tax_calculator/reset_circuit.ts)_
|
|
849
|
+
|
|
720
850
|
### `commercelayer fixed_amount_promotion ID`
|
|
721
851
|
|
|
722
852
|
Execute an action on a resource of type fixed_amount_promotions.
|
|
@@ -741,7 +871,7 @@ _See code: [src/commands/fixed_amount_promotion/index.ts](https://github.com/com
|
|
|
741
871
|
|
|
742
872
|
### `commercelayer fixed_amount_promotion:disable ID`
|
|
743
873
|
|
|
744
|
-
Send this attribute if you want to mark
|
|
874
|
+
Send this attribute if you want to mark this resource as disabled.
|
|
745
875
|
|
|
746
876
|
```sh-session
|
|
747
877
|
USAGE
|
|
@@ -756,14 +886,14 @@ FLAGS
|
|
|
756
886
|
-u, --unformatted print JSON output without indentation
|
|
757
887
|
|
|
758
888
|
DESCRIPTION
|
|
759
|
-
Send this attribute if you want to mark
|
|
889
|
+
Send this attribute if you want to mark this resource as disabled.
|
|
760
890
|
```
|
|
761
891
|
|
|
762
892
|
_See code: [src/commands/fixed_amount_promotion/disable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/fixed_amount_promotion/disable.ts)_
|
|
763
893
|
|
|
764
894
|
### `commercelayer fixed_amount_promotion:enable ID`
|
|
765
895
|
|
|
766
|
-
Send this attribute if you want to mark
|
|
896
|
+
Send this attribute if you want to mark this resource as enabled.
|
|
767
897
|
|
|
768
898
|
```sh-session
|
|
769
899
|
USAGE
|
|
@@ -778,7 +908,7 @@ FLAGS
|
|
|
778
908
|
-u, --unformatted print JSON output without indentation
|
|
779
909
|
|
|
780
910
|
DESCRIPTION
|
|
781
|
-
Send this attribute if you want to mark
|
|
911
|
+
Send this attribute if you want to mark this resource as enabled.
|
|
782
912
|
```
|
|
783
913
|
|
|
784
914
|
_See code: [src/commands/fixed_amount_promotion/enable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/fixed_amount_promotion/enable.ts)_
|
|
@@ -807,7 +937,7 @@ _See code: [src/commands/fixed_price_promotion/index.ts](https://github.com/comm
|
|
|
807
937
|
|
|
808
938
|
### `commercelayer fixed_price_promotion:disable ID`
|
|
809
939
|
|
|
810
|
-
Send this attribute if you want to mark
|
|
940
|
+
Send this attribute if you want to mark this resource as disabled.
|
|
811
941
|
|
|
812
942
|
```sh-session
|
|
813
943
|
USAGE
|
|
@@ -822,14 +952,14 @@ FLAGS
|
|
|
822
952
|
-u, --unformatted print JSON output without indentation
|
|
823
953
|
|
|
824
954
|
DESCRIPTION
|
|
825
|
-
Send this attribute if you want to mark
|
|
955
|
+
Send this attribute if you want to mark this resource as disabled.
|
|
826
956
|
```
|
|
827
957
|
|
|
828
958
|
_See code: [src/commands/fixed_price_promotion/disable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/fixed_price_promotion/disable.ts)_
|
|
829
959
|
|
|
830
960
|
### `commercelayer fixed_price_promotion:enable ID`
|
|
831
961
|
|
|
832
|
-
Send this attribute if you want to mark
|
|
962
|
+
Send this attribute if you want to mark this resource as enabled.
|
|
833
963
|
|
|
834
964
|
```sh-session
|
|
835
965
|
USAGE
|
|
@@ -844,7 +974,7 @@ FLAGS
|
|
|
844
974
|
-u, --unformatted print JSON output without indentation
|
|
845
975
|
|
|
846
976
|
DESCRIPTION
|
|
847
|
-
Send this attribute if you want to mark
|
|
977
|
+
Send this attribute if you want to mark this resource as enabled.
|
|
848
978
|
```
|
|
849
979
|
|
|
850
980
|
_See code: [src/commands/fixed_price_promotion/enable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/fixed_price_promotion/enable.ts)_
|
|
@@ -873,7 +1003,7 @@ _See code: [src/commands/free_gift_promotion/index.ts](https://github.com/commer
|
|
|
873
1003
|
|
|
874
1004
|
### `commercelayer free_gift_promotion:disable ID`
|
|
875
1005
|
|
|
876
|
-
Send this attribute if you want to mark
|
|
1006
|
+
Send this attribute if you want to mark this resource as disabled.
|
|
877
1007
|
|
|
878
1008
|
```sh-session
|
|
879
1009
|
USAGE
|
|
@@ -888,14 +1018,14 @@ FLAGS
|
|
|
888
1018
|
-u, --unformatted print JSON output without indentation
|
|
889
1019
|
|
|
890
1020
|
DESCRIPTION
|
|
891
|
-
Send this attribute if you want to mark
|
|
1021
|
+
Send this attribute if you want to mark this resource as disabled.
|
|
892
1022
|
```
|
|
893
1023
|
|
|
894
1024
|
_See code: [src/commands/free_gift_promotion/disable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/free_gift_promotion/disable.ts)_
|
|
895
1025
|
|
|
896
1026
|
### `commercelayer free_gift_promotion:enable ID`
|
|
897
1027
|
|
|
898
|
-
Send this attribute if you want to mark
|
|
1028
|
+
Send this attribute if you want to mark this resource as enabled.
|
|
899
1029
|
|
|
900
1030
|
```sh-session
|
|
901
1031
|
USAGE
|
|
@@ -910,7 +1040,7 @@ FLAGS
|
|
|
910
1040
|
-u, --unformatted print JSON output without indentation
|
|
911
1041
|
|
|
912
1042
|
DESCRIPTION
|
|
913
|
-
Send this attribute if you want to mark
|
|
1043
|
+
Send this attribute if you want to mark this resource as enabled.
|
|
914
1044
|
```
|
|
915
1045
|
|
|
916
1046
|
_See code: [src/commands/free_gift_promotion/enable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/free_gift_promotion/enable.ts)_
|
|
@@ -939,7 +1069,7 @@ _See code: [src/commands/free_shipping_promotion/index.ts](https://github.com/co
|
|
|
939
1069
|
|
|
940
1070
|
### `commercelayer free_shipping_promotion:disable ID`
|
|
941
1071
|
|
|
942
|
-
Send this attribute if you want to mark
|
|
1072
|
+
Send this attribute if you want to mark this resource as disabled.
|
|
943
1073
|
|
|
944
1074
|
```sh-session
|
|
945
1075
|
USAGE
|
|
@@ -954,14 +1084,14 @@ FLAGS
|
|
|
954
1084
|
-u, --unformatted print JSON output without indentation
|
|
955
1085
|
|
|
956
1086
|
DESCRIPTION
|
|
957
|
-
Send this attribute if you want to mark
|
|
1087
|
+
Send this attribute if you want to mark this resource as disabled.
|
|
958
1088
|
```
|
|
959
1089
|
|
|
960
1090
|
_See code: [src/commands/free_shipping_promotion/disable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/free_shipping_promotion/disable.ts)_
|
|
961
1091
|
|
|
962
1092
|
### `commercelayer free_shipping_promotion:enable ID`
|
|
963
1093
|
|
|
964
|
-
Send this attribute if you want to mark
|
|
1094
|
+
Send this attribute if you want to mark this resource as enabled.
|
|
965
1095
|
|
|
966
1096
|
```sh-session
|
|
967
1097
|
USAGE
|
|
@@ -976,7 +1106,7 @@ FLAGS
|
|
|
976
1106
|
-u, --unformatted print JSON output without indentation
|
|
977
1107
|
|
|
978
1108
|
DESCRIPTION
|
|
979
|
-
Send this attribute if you want to mark
|
|
1109
|
+
Send this attribute if you want to mark this resource as enabled.
|
|
980
1110
|
```
|
|
981
1111
|
|
|
982
1112
|
_See code: [src/commands/free_shipping_promotion/enable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/free_shipping_promotion/enable.ts)_
|
|
@@ -1272,6 +1402,29 @@ DESCRIPTION
|
|
|
1272
1402
|
|
|
1273
1403
|
_See code: [src/commands/line_item/reserve_stock.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/line_item/reserve_stock.ts)_
|
|
1274
1404
|
|
|
1405
|
+
### `commercelayer line_item:reset_circuit ID`
|
|
1406
|
+
|
|
1407
|
+
Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.
|
|
1408
|
+
|
|
1409
|
+
```sh-session
|
|
1410
|
+
USAGE
|
|
1411
|
+
$ commercelayer line_item:reset_circuit ID [-u [-j -p]]
|
|
1412
|
+
|
|
1413
|
+
ARGUMENTS
|
|
1414
|
+
ID the unique id of the resource
|
|
1415
|
+
|
|
1416
|
+
FLAGS
|
|
1417
|
+
-j, --json print result in JSON format
|
|
1418
|
+
-p, --print print out the modified resource
|
|
1419
|
+
-u, --unformatted print JSON output without indentation
|
|
1420
|
+
|
|
1421
|
+
DESCRIPTION
|
|
1422
|
+
Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero
|
|
1423
|
+
failures count.
|
|
1424
|
+
```
|
|
1425
|
+
|
|
1426
|
+
_See code: [src/commands/line_item/reset_circuit.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/line_item/reset_circuit.ts)_
|
|
1427
|
+
|
|
1275
1428
|
### `commercelayer market ID`
|
|
1276
1429
|
|
|
1277
1430
|
Execute an action on a resource of type markets.
|
|
@@ -1296,7 +1449,7 @@ _See code: [src/commands/market/index.ts](https://github.com/commercelayer/comme
|
|
|
1296
1449
|
|
|
1297
1450
|
### `commercelayer market:disable ID`
|
|
1298
1451
|
|
|
1299
|
-
Send this attribute if you want to mark
|
|
1452
|
+
Send this attribute if you want to mark this resource as disabled.
|
|
1300
1453
|
|
|
1301
1454
|
```sh-session
|
|
1302
1455
|
USAGE
|
|
@@ -1311,14 +1464,14 @@ FLAGS
|
|
|
1311
1464
|
-u, --unformatted print JSON output without indentation
|
|
1312
1465
|
|
|
1313
1466
|
DESCRIPTION
|
|
1314
|
-
Send this attribute if you want to mark
|
|
1467
|
+
Send this attribute if you want to mark this resource as disabled.
|
|
1315
1468
|
```
|
|
1316
1469
|
|
|
1317
1470
|
_See code: [src/commands/market/disable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/market/disable.ts)_
|
|
1318
1471
|
|
|
1319
1472
|
### `commercelayer market:enable ID`
|
|
1320
1473
|
|
|
1321
|
-
Send this attribute if you want to mark
|
|
1474
|
+
Send this attribute if you want to mark this resource as enabled.
|
|
1322
1475
|
|
|
1323
1476
|
```sh-session
|
|
1324
1477
|
USAGE
|
|
@@ -1333,7 +1486,7 @@ FLAGS
|
|
|
1333
1486
|
-u, --unformatted print JSON output without indentation
|
|
1334
1487
|
|
|
1335
1488
|
DESCRIPTION
|
|
1336
|
-
Send this attribute if you want to mark
|
|
1489
|
+
Send this attribute if you want to mark this resource as enabled.
|
|
1337
1490
|
```
|
|
1338
1491
|
|
|
1339
1492
|
_See code: [src/commands/market/enable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/market/enable.ts)_
|
|
@@ -1650,6 +1803,28 @@ DESCRIPTION
|
|
|
1650
1803
|
|
|
1651
1804
|
_See code: [src/commands/order/nullify_payment_source.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/nullify_payment_source.ts)_
|
|
1652
1805
|
|
|
1806
|
+
### `commercelayer order:pending ID`
|
|
1807
|
+
|
|
1808
|
+
Send this attribute if you want to move a draft or placing order to pending.
|
|
1809
|
+
|
|
1810
|
+
```sh-session
|
|
1811
|
+
USAGE
|
|
1812
|
+
$ commercelayer order:pending ID [-u [-j -p]]
|
|
1813
|
+
|
|
1814
|
+
ARGUMENTS
|
|
1815
|
+
ID the unique id of the resource
|
|
1816
|
+
|
|
1817
|
+
FLAGS
|
|
1818
|
+
-j, --json print result in JSON format
|
|
1819
|
+
-p, --print print out the modified resource
|
|
1820
|
+
-u, --unformatted print JSON output without indentation
|
|
1821
|
+
|
|
1822
|
+
DESCRIPTION
|
|
1823
|
+
Send this attribute if you want to move a draft or placing order to pending.
|
|
1824
|
+
```
|
|
1825
|
+
|
|
1826
|
+
_See code: [src/commands/order/pending.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/pending.ts)_
|
|
1827
|
+
|
|
1653
1828
|
### `commercelayer order:place ID`
|
|
1654
1829
|
|
|
1655
1830
|
Send this attribute if you want to place the order.
|
|
@@ -1739,6 +1914,29 @@ DESCRIPTION
|
|
|
1739
1914
|
|
|
1740
1915
|
_See code: [src/commands/order/refund_invoice.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/refund_invoice.ts)_
|
|
1741
1916
|
|
|
1917
|
+
### `commercelayer order:reset_circuit ID`
|
|
1918
|
+
|
|
1919
|
+
Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.
|
|
1920
|
+
|
|
1921
|
+
```sh-session
|
|
1922
|
+
USAGE
|
|
1923
|
+
$ commercelayer order:reset_circuit ID [-u [-j -p]]
|
|
1924
|
+
|
|
1925
|
+
ARGUMENTS
|
|
1926
|
+
ID the unique id of the resource
|
|
1927
|
+
|
|
1928
|
+
FLAGS
|
|
1929
|
+
-j, --json print result in JSON format
|
|
1930
|
+
-p, --print print out the modified resource
|
|
1931
|
+
-u, --unformatted print JSON output without indentation
|
|
1932
|
+
|
|
1933
|
+
DESCRIPTION
|
|
1934
|
+
Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero
|
|
1935
|
+
failures count.
|
|
1936
|
+
```
|
|
1937
|
+
|
|
1938
|
+
_See code: [src/commands/order/reset_circuit.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/reset_circuit.ts)_
|
|
1939
|
+
|
|
1742
1940
|
### `commercelayer order:save_billing_address_to_customer_address_book ID`
|
|
1743
1941
|
|
|
1744
1942
|
Send this attribute if you want the order's billing address to be saved in the customer's address book as a customer address.
|
|
@@ -2077,7 +2275,7 @@ _See code: [src/commands/payment_method/index.ts](https://github.com/commercelay
|
|
|
2077
2275
|
|
|
2078
2276
|
### `commercelayer payment_method:disable ID`
|
|
2079
2277
|
|
|
2080
|
-
Send this attribute if you want to mark
|
|
2278
|
+
Send this attribute if you want to mark this resource as disabled.
|
|
2081
2279
|
|
|
2082
2280
|
```sh-session
|
|
2083
2281
|
USAGE
|
|
@@ -2092,14 +2290,14 @@ FLAGS
|
|
|
2092
2290
|
-u, --unformatted print JSON output without indentation
|
|
2093
2291
|
|
|
2094
2292
|
DESCRIPTION
|
|
2095
|
-
Send this attribute if you want to mark
|
|
2293
|
+
Send this attribute if you want to mark this resource as disabled.
|
|
2096
2294
|
```
|
|
2097
2295
|
|
|
2098
2296
|
_See code: [src/commands/payment_method/disable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/payment_method/disable.ts)_
|
|
2099
2297
|
|
|
2100
2298
|
### `commercelayer payment_method:enable ID`
|
|
2101
2299
|
|
|
2102
|
-
Send this attribute if you want to mark
|
|
2300
|
+
Send this attribute if you want to mark this resource as enabled.
|
|
2103
2301
|
|
|
2104
2302
|
```sh-session
|
|
2105
2303
|
USAGE
|
|
@@ -2114,7 +2312,7 @@ FLAGS
|
|
|
2114
2312
|
-u, --unformatted print JSON output without indentation
|
|
2115
2313
|
|
|
2116
2314
|
DESCRIPTION
|
|
2117
|
-
Send this attribute if you want to mark
|
|
2315
|
+
Send this attribute if you want to mark this resource as enabled.
|
|
2118
2316
|
```
|
|
2119
2317
|
|
|
2120
2318
|
_See code: [src/commands/payment_method/enable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/payment_method/enable.ts)_
|
|
@@ -2143,7 +2341,7 @@ _See code: [src/commands/percentage_discount_promotion/index.ts](https://github.
|
|
|
2143
2341
|
|
|
2144
2342
|
### `commercelayer percentage_discount_promotion:disable ID`
|
|
2145
2343
|
|
|
2146
|
-
Send this attribute if you want to mark
|
|
2344
|
+
Send this attribute if you want to mark this resource as disabled.
|
|
2147
2345
|
|
|
2148
2346
|
```sh-session
|
|
2149
2347
|
USAGE
|
|
@@ -2158,14 +2356,14 @@ FLAGS
|
|
|
2158
2356
|
-u, --unformatted print JSON output without indentation
|
|
2159
2357
|
|
|
2160
2358
|
DESCRIPTION
|
|
2161
|
-
Send this attribute if you want to mark
|
|
2359
|
+
Send this attribute if you want to mark this resource as disabled.
|
|
2162
2360
|
```
|
|
2163
2361
|
|
|
2164
2362
|
_See code: [src/commands/percentage_discount_promotion/disable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/percentage_discount_promotion/disable.ts)_
|
|
2165
2363
|
|
|
2166
2364
|
### `commercelayer percentage_discount_promotion:enable ID`
|
|
2167
2365
|
|
|
2168
|
-
Send this attribute if you want to mark
|
|
2366
|
+
Send this attribute if you want to mark this resource as enabled.
|
|
2169
2367
|
|
|
2170
2368
|
```sh-session
|
|
2171
2369
|
USAGE
|
|
@@ -2180,7 +2378,7 @@ FLAGS
|
|
|
2180
2378
|
-u, --unformatted print JSON output without indentation
|
|
2181
2379
|
|
|
2182
2380
|
DESCRIPTION
|
|
2183
|
-
Send this attribute if you want to mark
|
|
2381
|
+
Send this attribute if you want to mark this resource as enabled.
|
|
2184
2382
|
```
|
|
2185
2383
|
|
|
2186
2384
|
_See code: [src/commands/percentage_discount_promotion/enable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/percentage_discount_promotion/enable.ts)_
|
|
@@ -2672,7 +2870,7 @@ _See code: [src/commands/shipment/ready_to_ship.ts](https://github.com/commercel
|
|
|
2672
2870
|
|
|
2673
2871
|
### `commercelayer shipment:release_stock ID`
|
|
2674
2872
|
|
|
2675
|
-
Send this attribute if you want to automatically
|
|
2873
|
+
Send this attribute if you want to automatically destroy the stock reservations for each of the associated stock line item. Can be done only when fulfillment is in progress.
|
|
2676
2874
|
|
|
2677
2875
|
```sh-session
|
|
2678
2876
|
USAGE
|
|
@@ -2687,8 +2885,8 @@ FLAGS
|
|
|
2687
2885
|
-u, --unformatted print JSON output without indentation
|
|
2688
2886
|
|
|
2689
2887
|
DESCRIPTION
|
|
2690
|
-
Send this attribute if you want to automatically
|
|
2691
|
-
done only when fulfillment is in progress.
|
|
2888
|
+
Send this attribute if you want to automatically destroy the stock reservations for each of the associated stock line
|
|
2889
|
+
item. Can be done only when fulfillment is in progress.
|
|
2692
2890
|
```
|
|
2693
2891
|
|
|
2694
2892
|
_See code: [src/commands/shipment/release_stock.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipment/release_stock.ts)_
|
|
@@ -2784,7 +2982,7 @@ _See code: [src/commands/shipping_method/index.ts](https://github.com/commercela
|
|
|
2784
2982
|
|
|
2785
2983
|
### `commercelayer shipping_method:disable ID`
|
|
2786
2984
|
|
|
2787
|
-
Send this attribute if you want to mark
|
|
2985
|
+
Send this attribute if you want to mark this resource as disabled.
|
|
2788
2986
|
|
|
2789
2987
|
```sh-session
|
|
2790
2988
|
USAGE
|
|
@@ -2799,14 +2997,14 @@ FLAGS
|
|
|
2799
2997
|
-u, --unformatted print JSON output without indentation
|
|
2800
2998
|
|
|
2801
2999
|
DESCRIPTION
|
|
2802
|
-
Send this attribute if you want to mark
|
|
3000
|
+
Send this attribute if you want to mark this resource as disabled.
|
|
2803
3001
|
```
|
|
2804
3002
|
|
|
2805
3003
|
_See code: [src/commands/shipping_method/disable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipping_method/disable.ts)_
|
|
2806
3004
|
|
|
2807
3005
|
### `commercelayer shipping_method:enable ID`
|
|
2808
3006
|
|
|
2809
|
-
Send this attribute if you want to mark
|
|
3007
|
+
Send this attribute if you want to mark this resource as enabled.
|
|
2810
3008
|
|
|
2811
3009
|
```sh-session
|
|
2812
3010
|
USAGE
|
|
@@ -2821,11 +3019,170 @@ FLAGS
|
|
|
2821
3019
|
-u, --unformatted print JSON output without indentation
|
|
2822
3020
|
|
|
2823
3021
|
DESCRIPTION
|
|
2824
|
-
Send this attribute if you want to mark
|
|
3022
|
+
Send this attribute if you want to mark this resource as enabled.
|
|
2825
3023
|
```
|
|
2826
3024
|
|
|
2827
3025
|
_See code: [src/commands/shipping_method/enable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipping_method/enable.ts)_
|
|
2828
3026
|
|
|
3027
|
+
### `commercelayer shipping_method:reset_circuit ID`
|
|
3028
|
+
|
|
3029
|
+
Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.
|
|
3030
|
+
|
|
3031
|
+
```sh-session
|
|
3032
|
+
USAGE
|
|
3033
|
+
$ commercelayer shipping_method:reset_circuit ID [-u [-j -p]]
|
|
3034
|
+
|
|
3035
|
+
ARGUMENTS
|
|
3036
|
+
ID the unique id of the resource
|
|
3037
|
+
|
|
3038
|
+
FLAGS
|
|
3039
|
+
-j, --json print result in JSON format
|
|
3040
|
+
-p, --print print out the modified resource
|
|
3041
|
+
-u, --unformatted print JSON output without indentation
|
|
3042
|
+
|
|
3043
|
+
DESCRIPTION
|
|
3044
|
+
Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero
|
|
3045
|
+
failures count.
|
|
3046
|
+
```
|
|
3047
|
+
|
|
3048
|
+
_See code: [src/commands/shipping_method/reset_circuit.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipping_method/reset_circuit.ts)_
|
|
3049
|
+
|
|
3050
|
+
### `commercelayer stock_item ID`
|
|
3051
|
+
|
|
3052
|
+
Execute an action on a resource of type stock_items.
|
|
3053
|
+
|
|
3054
|
+
```sh-session
|
|
3055
|
+
USAGE
|
|
3056
|
+
$ commercelayer stock_item ID [-u [-j -p]]
|
|
3057
|
+
|
|
3058
|
+
ARGUMENTS
|
|
3059
|
+
ID the unique id of the resource
|
|
3060
|
+
|
|
3061
|
+
FLAGS
|
|
3062
|
+
-j, --json print result in JSON format
|
|
3063
|
+
-p, --print print out the modified resource
|
|
3064
|
+
-u, --unformatted print JSON output without indentation
|
|
3065
|
+
|
|
3066
|
+
DESCRIPTION
|
|
3067
|
+
execute an action on a resource of type stock_items
|
|
3068
|
+
```
|
|
3069
|
+
|
|
3070
|
+
_See code: [src/commands/stock_item/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stock_item/index.ts)_
|
|
3071
|
+
|
|
3072
|
+
### `commercelayer stock_item:validate ID`
|
|
3073
|
+
|
|
3074
|
+
Send this attribute if you want to validate the stock item quantity against the existing reserved stock one, returns an error in case the former is smaller.
|
|
3075
|
+
|
|
3076
|
+
```sh-session
|
|
3077
|
+
USAGE
|
|
3078
|
+
$ commercelayer stock_item:validate ID [-u [-j -p]]
|
|
3079
|
+
|
|
3080
|
+
ARGUMENTS
|
|
3081
|
+
ID the unique id of the resource
|
|
3082
|
+
|
|
3083
|
+
FLAGS
|
|
3084
|
+
-j, --json print result in JSON format
|
|
3085
|
+
-p, --print print out the modified resource
|
|
3086
|
+
-u, --unformatted print JSON output without indentation
|
|
3087
|
+
|
|
3088
|
+
DESCRIPTION
|
|
3089
|
+
Send this attribute if you want to validate the stock item quantity against the existing reserved stock one, returns
|
|
3090
|
+
an error in case the former is smaller.
|
|
3091
|
+
```
|
|
3092
|
+
|
|
3093
|
+
_See code: [src/commands/stock_item/validate.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stock_item/validate.ts)_
|
|
3094
|
+
|
|
3095
|
+
### `commercelayer stock_line_item ID`
|
|
3096
|
+
|
|
3097
|
+
Execute an action on a resource of type stock_line_items.
|
|
3098
|
+
|
|
3099
|
+
```sh-session
|
|
3100
|
+
USAGE
|
|
3101
|
+
$ commercelayer stock_line_item ID [-u [-j -p]]
|
|
3102
|
+
|
|
3103
|
+
ARGUMENTS
|
|
3104
|
+
ID the unique id of the resource
|
|
3105
|
+
|
|
3106
|
+
FLAGS
|
|
3107
|
+
-j, --json print result in JSON format
|
|
3108
|
+
-p, --print print out the modified resource
|
|
3109
|
+
-u, --unformatted print JSON output without indentation
|
|
3110
|
+
|
|
3111
|
+
DESCRIPTION
|
|
3112
|
+
execute an action on a resource of type stock_line_items
|
|
3113
|
+
```
|
|
3114
|
+
|
|
3115
|
+
_See code: [src/commands/stock_line_item/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stock_line_item/index.ts)_
|
|
3116
|
+
|
|
3117
|
+
### `commercelayer stock_line_item:decrement_stock ID`
|
|
3118
|
+
|
|
3119
|
+
Send this attribute if you want to automatically decrement and release the stock this stock line item. Can be done only when fulfillment is in progress.
|
|
3120
|
+
|
|
3121
|
+
```sh-session
|
|
3122
|
+
USAGE
|
|
3123
|
+
$ commercelayer stock_line_item:decrement_stock ID [-u [-j -p]]
|
|
3124
|
+
|
|
3125
|
+
ARGUMENTS
|
|
3126
|
+
ID the unique id of the resource
|
|
3127
|
+
|
|
3128
|
+
FLAGS
|
|
3129
|
+
-j, --json print result in JSON format
|
|
3130
|
+
-p, --print print out the modified resource
|
|
3131
|
+
-u, --unformatted print JSON output without indentation
|
|
3132
|
+
|
|
3133
|
+
DESCRIPTION
|
|
3134
|
+
Send this attribute if you want to automatically decrement and release the stock this stock line item. Can be done
|
|
3135
|
+
only when fulfillment is in progress.
|
|
3136
|
+
```
|
|
3137
|
+
|
|
3138
|
+
_See code: [src/commands/stock_line_item/decrement_stock.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stock_line_item/decrement_stock.ts)_
|
|
3139
|
+
|
|
3140
|
+
### `commercelayer stock_line_item:release_stock ID`
|
|
3141
|
+
|
|
3142
|
+
Send this attribute if you want to automatically destroy the stock reservation for this stock line item. Can be done only when fulfillment is in progress.
|
|
3143
|
+
|
|
3144
|
+
```sh-session
|
|
3145
|
+
USAGE
|
|
3146
|
+
$ commercelayer stock_line_item:release_stock ID [-u [-j -p]]
|
|
3147
|
+
|
|
3148
|
+
ARGUMENTS
|
|
3149
|
+
ID the unique id of the resource
|
|
3150
|
+
|
|
3151
|
+
FLAGS
|
|
3152
|
+
-j, --json print result in JSON format
|
|
3153
|
+
-p, --print print out the modified resource
|
|
3154
|
+
-u, --unformatted print JSON output without indentation
|
|
3155
|
+
|
|
3156
|
+
DESCRIPTION
|
|
3157
|
+
Send this attribute if you want to automatically destroy the stock reservation for this stock line item. Can be done
|
|
3158
|
+
only when fulfillment is in progress.
|
|
3159
|
+
```
|
|
3160
|
+
|
|
3161
|
+
_See code: [src/commands/stock_line_item/release_stock.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stock_line_item/release_stock.ts)_
|
|
3162
|
+
|
|
3163
|
+
### `commercelayer stock_line_item:reserve_stock ID`
|
|
3164
|
+
|
|
3165
|
+
Send this attribute if you want to automatically reserve the stock for this stock line item. Can be done only when fulfillment is in progress.
|
|
3166
|
+
|
|
3167
|
+
```sh-session
|
|
3168
|
+
USAGE
|
|
3169
|
+
$ commercelayer stock_line_item:reserve_stock ID [-u [-j -p]]
|
|
3170
|
+
|
|
3171
|
+
ARGUMENTS
|
|
3172
|
+
ID the unique id of the resource
|
|
3173
|
+
|
|
3174
|
+
FLAGS
|
|
3175
|
+
-j, --json print result in JSON format
|
|
3176
|
+
-p, --print print out the modified resource
|
|
3177
|
+
-u, --unformatted print JSON output without indentation
|
|
3178
|
+
|
|
3179
|
+
DESCRIPTION
|
|
3180
|
+
Send this attribute if you want to automatically reserve the stock for this stock line item. Can be done only when
|
|
3181
|
+
fulfillment is in progress.
|
|
3182
|
+
```
|
|
3183
|
+
|
|
3184
|
+
_See code: [src/commands/stock_line_item/reserve_stock.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stock_line_item/reserve_stock.ts)_
|
|
3185
|
+
|
|
2829
3186
|
### `commercelayer stock_reservation ID`
|
|
2830
3187
|
|
|
2831
3188
|
Execute an action on a resource of type stock_reservations.
|
|
@@ -3112,9 +3469,53 @@ DESCRIPTION
|
|
|
3112
3469
|
|
|
3113
3470
|
_See code: [src/commands/webhook/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/webhook/index.ts)_
|
|
3114
3471
|
|
|
3472
|
+
### `commercelayer webhook:disable ID`
|
|
3473
|
+
|
|
3474
|
+
Send this attribute if you want to mark this resource as disabled.
|
|
3475
|
+
|
|
3476
|
+
```sh-session
|
|
3477
|
+
USAGE
|
|
3478
|
+
$ commercelayer webhook:disable ID [-u [-j -p]]
|
|
3479
|
+
|
|
3480
|
+
ARGUMENTS
|
|
3481
|
+
ID the unique id of the resource
|
|
3482
|
+
|
|
3483
|
+
FLAGS
|
|
3484
|
+
-j, --json print result in JSON format
|
|
3485
|
+
-p, --print print out the modified resource
|
|
3486
|
+
-u, --unformatted print JSON output without indentation
|
|
3487
|
+
|
|
3488
|
+
DESCRIPTION
|
|
3489
|
+
Send this attribute if you want to mark this resource as disabled.
|
|
3490
|
+
```
|
|
3491
|
+
|
|
3492
|
+
_See code: [src/commands/webhook/disable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/webhook/disable.ts)_
|
|
3493
|
+
|
|
3494
|
+
### `commercelayer webhook:enable ID`
|
|
3495
|
+
|
|
3496
|
+
Send this attribute if you want to mark this resource as enabled.
|
|
3497
|
+
|
|
3498
|
+
```sh-session
|
|
3499
|
+
USAGE
|
|
3500
|
+
$ commercelayer webhook:enable ID [-u [-j -p]]
|
|
3501
|
+
|
|
3502
|
+
ARGUMENTS
|
|
3503
|
+
ID the unique id of the resource
|
|
3504
|
+
|
|
3505
|
+
FLAGS
|
|
3506
|
+
-j, --json print result in JSON format
|
|
3507
|
+
-p, --print print out the modified resource
|
|
3508
|
+
-u, --unformatted print JSON output without indentation
|
|
3509
|
+
|
|
3510
|
+
DESCRIPTION
|
|
3511
|
+
Send this attribute if you want to mark this resource as enabled.
|
|
3512
|
+
```
|
|
3513
|
+
|
|
3514
|
+
_See code: [src/commands/webhook/enable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/webhook/enable.ts)_
|
|
3515
|
+
|
|
3115
3516
|
### `commercelayer webhook:reset_circuit ID`
|
|
3116
3517
|
|
|
3117
|
-
Send this attribute if you want to reset the circuit breaker associated to this
|
|
3518
|
+
Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.
|
|
3118
3519
|
|
|
3119
3520
|
```sh-session
|
|
3120
3521
|
USAGE
|
|
@@ -3129,7 +3530,7 @@ FLAGS
|
|
|
3129
3530
|
-u, --unformatted print JSON output without indentation
|
|
3130
3531
|
|
|
3131
3532
|
DESCRIPTION
|
|
3132
|
-
Send this attribute if you want to reset the circuit breaker associated to this
|
|
3533
|
+
Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero
|
|
3133
3534
|
failures count.
|
|
3134
3535
|
```
|
|
3135
3536
|
|