@commercelayer/cli-plugin-triggers 1.1.2 → 1.3.1
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 +613 -349
- package/lib/base.d.ts +4 -2
- package/lib/base.js +17 -3
- package/lib/commands/adyen_payment/details.d.ts +3 -0
- package/lib/commands/adyen_payment/details.js +2 -0
- package/lib/commands/adyen_payment/index.d.ts +3 -0
- package/lib/commands/authorization/capture.d.ts +3 -0
- package/lib/commands/authorization/capture.js +2 -0
- package/lib/commands/authorization/capture_amount_cents.d.ts +3 -0
- package/lib/commands/authorization/capture_amount_cents.js +2 -0
- package/lib/commands/authorization/index.d.ts +3 -0
- package/lib/commands/authorization/void.d.ts +3 -0
- package/lib/commands/authorization/void.js +2 -0
- package/lib/commands/bundle/compute_compare_at_amount.d.ts +3 -0
- package/lib/commands/bundle/compute_compare_at_amount.js +2 -0
- package/lib/commands/bundle/compute_price_amount.d.ts +18 -0
- package/lib/commands/bundle/compute_price_amount.js +23 -0
- package/lib/commands/bundle/index.d.ts +3 -0
- package/lib/commands/capture/index.d.ts +3 -0
- package/lib/commands/capture/refund.d.ts +3 -0
- package/lib/commands/capture/refund.js +2 -0
- package/lib/commands/capture/refund_amount_cents.d.ts +3 -0
- package/lib/commands/capture/refund_amount_cents.js +2 -0
- package/lib/commands/checkout_com_payment/details.d.ts +3 -0
- package/lib/commands/checkout_com_payment/details.js +2 -0
- package/lib/commands/checkout_com_payment/index.d.ts +3 -0
- package/lib/commands/checkout_com_payment/refresh.d.ts +3 -0
- package/lib/commands/checkout_com_payment/refresh.js +2 -0
- package/lib/commands/customer_password_reset/index.d.ts +3 -0
- package/lib/commands/customer_password_reset/reset_password_token.d.ts +3 -0
- package/lib/commands/customer_password_reset/reset_password_token.js +2 -0
- package/lib/commands/gift_card/activate.d.ts +3 -0
- package/lib/commands/gift_card/activate.js +2 -0
- package/lib/commands/gift_card/balance_change_cents.d.ts +3 -0
- package/lib/commands/gift_card/balance_change_cents.js +2 -0
- package/lib/commands/gift_card/deactivate.d.ts +3 -0
- package/lib/commands/gift_card/deactivate.js +2 -0
- package/lib/commands/gift_card/index.d.ts +3 -0
- package/lib/commands/gift_card/purchase.d.ts +3 -0
- package/lib/commands/gift_card/purchase.js +2 -0
- package/lib/commands/in_stock_subscription/activate.d.ts +3 -0
- package/lib/commands/in_stock_subscription/activate.js +2 -0
- package/lib/commands/in_stock_subscription/deactivate.d.ts +3 -0
- package/lib/commands/in_stock_subscription/deactivate.js +2 -0
- package/lib/commands/in_stock_subscription/index.d.ts +3 -0
- package/lib/commands/{adyen_payment/authorize.d.ts → klarna_payment/index.d.ts} +4 -1
- package/lib/commands/klarna_payment/index.js +40 -0
- package/lib/commands/{checkout_com_payment/authorize.d.ts → klarna_payment/update.d.ts} +4 -1
- package/lib/commands/klarna_payment/update.js +23 -0
- package/lib/commands/order/approve.d.ts +3 -0
- package/lib/commands/order/approve.js +2 -0
- package/lib/commands/order/approve_and_capture.d.ts +3 -0
- package/lib/commands/order/approve_and_capture.js +2 -0
- package/lib/commands/order/archive.d.ts +3 -0
- package/lib/commands/order/archive.js +2 -0
- package/lib/commands/order/authorization_amount_cents.d.ts +3 -0
- package/lib/commands/order/authorization_amount_cents.js +2 -0
- package/lib/commands/order/authorize.d.ts +3 -0
- package/lib/commands/order/authorize.js +2 -0
- package/lib/commands/order/billing_address_clone_id.d.ts +3 -0
- package/lib/commands/order/billing_address_clone_id.js +2 -0
- package/lib/commands/order/billing_address_same_as_shipping.d.ts +3 -0
- package/lib/commands/order/billing_address_same_as_shipping.js +2 -0
- package/lib/commands/order/cancel.d.ts +3 -0
- package/lib/commands/order/cancel.js +2 -0
- package/lib/commands/order/capture.d.ts +3 -0
- package/lib/commands/order/capture.js +2 -0
- package/lib/commands/order/customer_payment_source_id.d.ts +3 -0
- package/lib/commands/order/customer_payment_source_id.js +2 -0
- package/lib/commands/order/index.d.ts +3 -0
- package/lib/commands/order/place.d.ts +3 -0
- package/lib/commands/order/place.js +2 -0
- package/lib/commands/order/refresh.d.ts +3 -0
- package/lib/commands/order/refresh.js +2 -0
- package/lib/commands/order/refund.d.ts +3 -0
- package/lib/commands/order/refund.js +2 -0
- package/lib/commands/order/save_billing_address_to_customer_address_book.d.ts +3 -0
- package/lib/commands/order/save_billing_address_to_customer_address_book.js +2 -0
- package/lib/commands/order/save_payment_source_to_customer_wallet.d.ts +3 -0
- package/lib/commands/order/save_payment_source_to_customer_wallet.js +2 -0
- package/lib/commands/order/save_shipping_address_to_customer_address_book.d.ts +3 -0
- package/lib/commands/order/save_shipping_address_to_customer_address_book.js +2 -0
- package/lib/commands/order/shipping_address_clone_id.d.ts +3 -0
- package/lib/commands/order/shipping_address_clone_id.js +2 -0
- package/lib/commands/order/shipping_address_same_as_billing.d.ts +3 -0
- package/lib/commands/order/shipping_address_same_as_billing.js +2 -0
- package/lib/commands/order/unarchive.d.ts +3 -0
- package/lib/commands/order/unarchive.js +2 -0
- package/lib/commands/order/update_taxes.d.ts +3 -0
- package/lib/commands/order/update_taxes.js +2 -0
- package/lib/commands/order_subscription/activate.d.ts +3 -0
- package/lib/commands/order_subscription/activate.js +2 -0
- package/lib/commands/order_subscription/cancel.d.ts +3 -0
- package/lib/commands/order_subscription/cancel.js +2 -0
- package/lib/commands/order_subscription/deactivate.d.ts +3 -0
- package/lib/commands/order_subscription/deactivate.js +2 -0
- package/lib/commands/order_subscription/index.d.ts +3 -0
- package/lib/commands/return/approve.d.ts +3 -0
- package/lib/commands/return/approve.js +2 -0
- package/lib/commands/return/archive.d.ts +3 -0
- package/lib/commands/return/archive.js +2 -0
- package/lib/commands/return/cancel.d.ts +3 -0
- package/lib/commands/return/cancel.js +2 -0
- package/lib/commands/return/index.d.ts +3 -0
- package/lib/commands/return/receive.d.ts +3 -0
- package/lib/commands/return/receive.js +2 -0
- package/lib/commands/return/reject.d.ts +3 -0
- package/lib/commands/return/reject.js +2 -0
- package/lib/commands/return/request.d.ts +3 -0
- package/lib/commands/return/request.js +2 -0
- package/lib/commands/return/restock.d.ts +3 -0
- package/lib/commands/return/restock.js +2 -0
- package/lib/commands/return/ship.d.ts +3 -0
- package/lib/commands/return/ship.js +2 -0
- package/lib/commands/return/unarchive.d.ts +3 -0
- package/lib/commands/return/unarchive.js +2 -0
- package/lib/commands/return_line_item/index.d.ts +3 -0
- package/lib/commands/return_line_item/restock.d.ts +3 -0
- package/lib/commands/return_line_item/restock.js +2 -0
- package/lib/commands/shipment/get_rates.d.ts +3 -0
- package/lib/commands/shipment/get_rates.js +2 -0
- package/lib/commands/shipment/index.d.ts +3 -0
- package/lib/commands/shipment/on_hold.d.ts +3 -0
- package/lib/commands/shipment/on_hold.js +2 -0
- package/lib/commands/shipment/packing.d.ts +3 -0
- package/lib/commands/shipment/packing.js +2 -0
- package/lib/commands/shipment/picking.d.ts +3 -0
- package/lib/commands/shipment/picking.js +2 -0
- package/lib/commands/shipment/purchase.d.ts +3 -0
- package/lib/commands/shipment/purchase.js +2 -0
- package/lib/commands/shipment/ready_to_ship.d.ts +3 -0
- package/lib/commands/shipment/ready_to_ship.js +2 -0
- package/lib/commands/shipment/ship.d.ts +3 -0
- package/lib/commands/shipment/ship.js +2 -0
- package/lib/commands/stock_transfer/cancel.d.ts +3 -0
- package/lib/commands/stock_transfer/cancel.js +2 -0
- package/lib/commands/stock_transfer/complete.d.ts +3 -0
- package/lib/commands/stock_transfer/complete.js +2 -0
- package/lib/commands/stock_transfer/in_transit.d.ts +3 -0
- package/lib/commands/stock_transfer/in_transit.js +2 -0
- package/lib/commands/stock_transfer/index.d.ts +3 -0
- package/lib/commands/stock_transfer/picking.d.ts +3 -0
- package/lib/commands/stock_transfer/picking.js +2 -0
- package/lib/commands/stock_transfer/upcoming.d.ts +3 -0
- package/lib/commands/stock_transfer/upcoming.js +2 -0
- package/lib/commands/stripe_payment/index.d.ts +3 -0
- package/lib/commands/stripe_payment/refresh.d.ts +3 -0
- package/lib/commands/stripe_payment/refresh.js +2 -0
- package/lib/commands/webhook/index.d.ts +3 -0
- package/lib/commands/webhook/reset_circuit.d.ts +3 -0
- package/lib/commands/webhook/reset_circuit.js +2 -0
- package/lib/triggers/adyen_payments.d.ts +1 -1
- package/lib/triggers/adyen_payments.js +0 -5
- package/lib/triggers/bundles.d.ts +1 -1
- package/lib/triggers/bundles.js +5 -0
- package/lib/triggers/checkout_com_payments.d.ts +1 -1
- package/lib/triggers/checkout_com_payments.js +0 -5
- package/lib/triggers/klarna_payments.d.ts +5 -0
- package/lib/triggers/klarna_payments.js +10 -0
- package/oclif.manifest.json +1 -1
- package/package.json +12 -6
- package/lib/commands/adyen_payment/authorize.js +0 -21
- package/lib/commands/checkout_com_payment/authorize.js +0 -21
package/README.md
CHANGED
|
@@ -20,1464 +20,1728 @@ Commerce Layer CLI Triggers plugin
|
|
|
20
20
|
# Commands
|
|
21
21
|
<!-- commands -->
|
|
22
22
|
|
|
23
|
-
* [`
|
|
24
|
-
* [`
|
|
25
|
-
* [`
|
|
26
|
-
* [`
|
|
27
|
-
* [`
|
|
28
|
-
* [`
|
|
29
|
-
* [`
|
|
30
|
-
* [`
|
|
31
|
-
* [`
|
|
32
|
-
* [`
|
|
33
|
-
* [`
|
|
34
|
-
* [`
|
|
35
|
-
* [`
|
|
36
|
-
* [`
|
|
37
|
-
* [`
|
|
38
|
-
* [`
|
|
39
|
-
* [`
|
|
40
|
-
* [`
|
|
41
|
-
* [`
|
|
42
|
-
* [`
|
|
43
|
-
* [`
|
|
44
|
-
* [`
|
|
45
|
-
* [`
|
|
46
|
-
* [`
|
|
47
|
-
* [`
|
|
48
|
-
* [`
|
|
49
|
-
* [`
|
|
50
|
-
* [`
|
|
51
|
-
* [`
|
|
52
|
-
* [`
|
|
53
|
-
* [`
|
|
54
|
-
* [`
|
|
55
|
-
* [`
|
|
56
|
-
* [`
|
|
57
|
-
* [`
|
|
58
|
-
* [`
|
|
59
|
-
* [`
|
|
60
|
-
* [`
|
|
61
|
-
* [`
|
|
62
|
-
* [`
|
|
63
|
-
* [`
|
|
64
|
-
* [`
|
|
65
|
-
* [`
|
|
66
|
-
* [`
|
|
67
|
-
* [`
|
|
68
|
-
* [`
|
|
69
|
-
* [`
|
|
70
|
-
* [`
|
|
71
|
-
* [`
|
|
72
|
-
* [`
|
|
73
|
-
* [`
|
|
74
|
-
* [`
|
|
75
|
-
* [`
|
|
76
|
-
* [`
|
|
77
|
-
* [`
|
|
78
|
-
* [`
|
|
79
|
-
* [`
|
|
80
|
-
* [`
|
|
81
|
-
* [`
|
|
82
|
-
* [`
|
|
83
|
-
* [`
|
|
84
|
-
* [`
|
|
85
|
-
* [`
|
|
86
|
-
* [`
|
|
87
|
-
* [`
|
|
88
|
-
* [`
|
|
89
|
-
* [`
|
|
90
|
-
* [`
|
|
91
|
-
* [`
|
|
92
|
-
* [`
|
|
93
|
-
* [`
|
|
94
|
-
* [`
|
|
95
|
-
* [`
|
|
96
|
-
* [`
|
|
97
|
-
* [`
|
|
98
|
-
* [`
|
|
99
|
-
* [`
|
|
100
|
-
* [`
|
|
101
|
-
* [`
|
|
102
|
-
* [`
|
|
103
|
-
* [`
|
|
104
|
-
|
|
105
|
-
|
|
23
|
+
* [`commercelayer adyen_payment ID`](#commercelayer-adyen_payment-id)
|
|
24
|
+
* [`commercelayer adyen_payment:details ID`](#commercelayer-adyen_paymentdetails-id)
|
|
25
|
+
* [`commercelayer authorization ID`](#commercelayer-authorization-id)
|
|
26
|
+
* [`commercelayer authorization:capture ID`](#commercelayer-authorizationcapture-id)
|
|
27
|
+
* [`commercelayer authorization:capture_amount_cents ID`](#commercelayer-authorizationcapture_amount_cents-id)
|
|
28
|
+
* [`commercelayer authorization:void ID`](#commercelayer-authorizationvoid-id)
|
|
29
|
+
* [`commercelayer bundle ID`](#commercelayer-bundle-id)
|
|
30
|
+
* [`commercelayer bundle:compute_compare_at_amount ID`](#commercelayer-bundlecompute_compare_at_amount-id)
|
|
31
|
+
* [`commercelayer bundle:compute_price_amount ID`](#commercelayer-bundlecompute_price_amount-id)
|
|
32
|
+
* [`commercelayer capture ID`](#commercelayer-capture-id)
|
|
33
|
+
* [`commercelayer capture:refund ID`](#commercelayer-capturerefund-id)
|
|
34
|
+
* [`commercelayer capture:refund_amount_cents ID`](#commercelayer-capturerefund_amount_cents-id)
|
|
35
|
+
* [`commercelayer checkout_com_payment ID`](#commercelayer-checkout_com_payment-id)
|
|
36
|
+
* [`commercelayer checkout_com_payment:details ID`](#commercelayer-checkout_com_paymentdetails-id)
|
|
37
|
+
* [`commercelayer checkout_com_payment:refresh ID`](#commercelayer-checkout_com_paymentrefresh-id)
|
|
38
|
+
* [`commercelayer customer_password_reset ID`](#commercelayer-customer_password_reset-id)
|
|
39
|
+
* [`commercelayer customer_password_reset:reset_password_token ID`](#commercelayer-customer_password_resetreset_password_token-id)
|
|
40
|
+
* [`commercelayer gift_card ID`](#commercelayer-gift_card-id)
|
|
41
|
+
* [`commercelayer gift_card:activate ID`](#commercelayer-gift_cardactivate-id)
|
|
42
|
+
* [`commercelayer gift_card:balance_change_cents ID`](#commercelayer-gift_cardbalance_change_cents-id)
|
|
43
|
+
* [`commercelayer gift_card:deactivate ID`](#commercelayer-gift_carddeactivate-id)
|
|
44
|
+
* [`commercelayer gift_card:purchase ID`](#commercelayer-gift_cardpurchase-id)
|
|
45
|
+
* [`commercelayer in_stock_subscription ID`](#commercelayer-in_stock_subscription-id)
|
|
46
|
+
* [`commercelayer in_stock_subscription:activate ID`](#commercelayer-in_stock_subscriptionactivate-id)
|
|
47
|
+
* [`commercelayer in_stock_subscription:deactivate ID`](#commercelayer-in_stock_subscriptiondeactivate-id)
|
|
48
|
+
* [`commercelayer klarna_payment ID`](#commercelayer-klarna_payment-id)
|
|
49
|
+
* [`commercelayer klarna_payment:update ID`](#commercelayer-klarna_paymentupdate-id)
|
|
50
|
+
* [`commercelayer order ID`](#commercelayer-order-id)
|
|
51
|
+
* [`commercelayer order:approve ID`](#commercelayer-orderapprove-id)
|
|
52
|
+
* [`commercelayer order:approve_and_capture ID`](#commercelayer-orderapprove_and_capture-id)
|
|
53
|
+
* [`commercelayer order:archive ID`](#commercelayer-orderarchive-id)
|
|
54
|
+
* [`commercelayer order:authorization_amount_cents ID`](#commercelayer-orderauthorization_amount_cents-id)
|
|
55
|
+
* [`commercelayer order:authorize ID`](#commercelayer-orderauthorize-id)
|
|
56
|
+
* [`commercelayer order:billing_address_clone_id ID`](#commercelayer-orderbilling_address_clone_id-id)
|
|
57
|
+
* [`commercelayer order:billing_address_same_as_shipping ID`](#commercelayer-orderbilling_address_same_as_shipping-id)
|
|
58
|
+
* [`commercelayer order:cancel ID`](#commercelayer-ordercancel-id)
|
|
59
|
+
* [`commercelayer order:capture ID`](#commercelayer-ordercapture-id)
|
|
60
|
+
* [`commercelayer order:customer_payment_source_id ID`](#commercelayer-ordercustomer_payment_source_id-id)
|
|
61
|
+
* [`commercelayer order:place ID`](#commercelayer-orderplace-id)
|
|
62
|
+
* [`commercelayer order:refresh ID`](#commercelayer-orderrefresh-id)
|
|
63
|
+
* [`commercelayer order:refund ID`](#commercelayer-orderrefund-id)
|
|
64
|
+
* [`commercelayer order:save_billing_address_to_customer_address_book ID`](#commercelayer-ordersave_billing_address_to_customer_address_book-id)
|
|
65
|
+
* [`commercelayer order:save_payment_source_to_customer_wallet ID`](#commercelayer-ordersave_payment_source_to_customer_wallet-id)
|
|
66
|
+
* [`commercelayer order:save_shipping_address_to_customer_address_book ID`](#commercelayer-ordersave_shipping_address_to_customer_address_book-id)
|
|
67
|
+
* [`commercelayer order:shipping_address_clone_id ID`](#commercelayer-ordershipping_address_clone_id-id)
|
|
68
|
+
* [`commercelayer order:shipping_address_same_as_billing ID`](#commercelayer-ordershipping_address_same_as_billing-id)
|
|
69
|
+
* [`commercelayer order:unarchive ID`](#commercelayer-orderunarchive-id)
|
|
70
|
+
* [`commercelayer order:update_taxes ID`](#commercelayer-orderupdate_taxes-id)
|
|
71
|
+
* [`commercelayer order_subscription ID`](#commercelayer-order_subscription-id)
|
|
72
|
+
* [`commercelayer order_subscription:activate ID`](#commercelayer-order_subscriptionactivate-id)
|
|
73
|
+
* [`commercelayer order_subscription:cancel ID`](#commercelayer-order_subscriptioncancel-id)
|
|
74
|
+
* [`commercelayer order_subscription:deactivate ID`](#commercelayer-order_subscriptiondeactivate-id)
|
|
75
|
+
* [`commercelayer return ID`](#commercelayer-return-id)
|
|
76
|
+
* [`commercelayer return:approve ID`](#commercelayer-returnapprove-id)
|
|
77
|
+
* [`commercelayer return:archive ID`](#commercelayer-returnarchive-id)
|
|
78
|
+
* [`commercelayer return:cancel ID`](#commercelayer-returncancel-id)
|
|
79
|
+
* [`commercelayer return:receive ID`](#commercelayer-returnreceive-id)
|
|
80
|
+
* [`commercelayer return:reject ID`](#commercelayer-returnreject-id)
|
|
81
|
+
* [`commercelayer return:request ID`](#commercelayer-returnrequest-id)
|
|
82
|
+
* [`commercelayer return:restock ID`](#commercelayer-returnrestock-id)
|
|
83
|
+
* [`commercelayer return:ship ID`](#commercelayer-returnship-id)
|
|
84
|
+
* [`commercelayer return:unarchive ID`](#commercelayer-returnunarchive-id)
|
|
85
|
+
* [`commercelayer return_line_item ID`](#commercelayer-return_line_item-id)
|
|
86
|
+
* [`commercelayer return_line_item:restock ID`](#commercelayer-return_line_itemrestock-id)
|
|
87
|
+
* [`commercelayer shipment ID`](#commercelayer-shipment-id)
|
|
88
|
+
* [`commercelayer shipment:get_rates ID`](#commercelayer-shipmentget_rates-id)
|
|
89
|
+
* [`commercelayer shipment:on_hold ID`](#commercelayer-shipmenton_hold-id)
|
|
90
|
+
* [`commercelayer shipment:packing ID`](#commercelayer-shipmentpacking-id)
|
|
91
|
+
* [`commercelayer shipment:picking ID`](#commercelayer-shipmentpicking-id)
|
|
92
|
+
* [`commercelayer shipment:purchase ID`](#commercelayer-shipmentpurchase-id)
|
|
93
|
+
* [`commercelayer shipment:ready_to_ship ID`](#commercelayer-shipmentready_to_ship-id)
|
|
94
|
+
* [`commercelayer shipment:ship ID`](#commercelayer-shipmentship-id)
|
|
95
|
+
* [`commercelayer stock_transfer ID`](#commercelayer-stock_transfer-id)
|
|
96
|
+
* [`commercelayer stock_transfer:cancel ID`](#commercelayer-stock_transfercancel-id)
|
|
97
|
+
* [`commercelayer stock_transfer:complete ID`](#commercelayer-stock_transfercomplete-id)
|
|
98
|
+
* [`commercelayer stock_transfer:in_transit ID`](#commercelayer-stock_transferin_transit-id)
|
|
99
|
+
* [`commercelayer stock_transfer:picking ID`](#commercelayer-stock_transferpicking-id)
|
|
100
|
+
* [`commercelayer stock_transfer:upcoming ID`](#commercelayer-stock_transferupcoming-id)
|
|
101
|
+
* [`commercelayer stripe_payment ID`](#commercelayer-stripe_payment-id)
|
|
102
|
+
* [`commercelayer stripe_payment:refresh ID`](#commercelayer-stripe_paymentrefresh-id)
|
|
103
|
+
* [`commercelayer webhook ID`](#commercelayer-webhook-id)
|
|
104
|
+
* [`commercelayer webhook:reset_circuit ID`](#commercelayer-webhookreset_circuit-id)
|
|
105
|
+
|
|
106
|
+
### `commercelayer adyen_payment ID`
|
|
106
107
|
|
|
107
108
|
Execute an action on a resource of type adyen_payments.
|
|
108
109
|
|
|
109
110
|
```
|
|
110
111
|
USAGE
|
|
111
|
-
$
|
|
112
|
+
$ commercelayer adyen_payment ID
|
|
112
113
|
|
|
113
114
|
ARGUMENTS
|
|
114
|
-
ID the unique
|
|
115
|
+
ID the unique ID of the resource
|
|
115
116
|
|
|
116
117
|
OPTIONS
|
|
118
|
+
-j, --json print result in JSON format
|
|
117
119
|
-o, --organization=organization (required) the slug of your organization
|
|
120
|
+
-p, --print print out the modified resource
|
|
121
|
+
-u, --unformatted print JSON output without indentation
|
|
118
122
|
```
|
|
119
123
|
|
|
120
124
|
_See code: [src/commands/adyen_payment/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/adyen_payment/index.ts)_
|
|
121
125
|
|
|
122
|
-
### `
|
|
123
|
-
|
|
124
|
-
Send this attribute if you want to authorize the payment..
|
|
125
|
-
|
|
126
|
-
```
|
|
127
|
-
USAGE
|
|
128
|
-
$ cl-triggers adyen_payment:authorize ID
|
|
129
|
-
|
|
130
|
-
ARGUMENTS
|
|
131
|
-
ID the unique id of the order
|
|
132
|
-
|
|
133
|
-
OPTIONS
|
|
134
|
-
-o, --organization=organization (required) the slug of your organization
|
|
135
|
-
```
|
|
136
|
-
|
|
137
|
-
_See code: [src/commands/adyen_payment/authorize.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/adyen_payment/authorize.ts)_
|
|
138
|
-
|
|
139
|
-
### `cl-triggers adyen_payment:details ID`
|
|
126
|
+
### `commercelayer adyen_payment:details ID`
|
|
140
127
|
|
|
141
128
|
Send this attribute if you want to send additional details the payment request..
|
|
142
129
|
|
|
143
130
|
```
|
|
144
131
|
USAGE
|
|
145
|
-
$
|
|
132
|
+
$ commercelayer adyen_payment:details ID
|
|
146
133
|
|
|
147
134
|
ARGUMENTS
|
|
148
|
-
ID the unique
|
|
135
|
+
ID the unique ID of the resource
|
|
149
136
|
|
|
150
137
|
OPTIONS
|
|
138
|
+
-j, --json print result in JSON format
|
|
151
139
|
-o, --organization=organization (required) the slug of your organization
|
|
140
|
+
-p, --print print out the modified resource
|
|
141
|
+
-u, --unformatted print JSON output without indentation
|
|
152
142
|
```
|
|
153
143
|
|
|
154
144
|
_See code: [src/commands/adyen_payment/details.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/adyen_payment/details.ts)_
|
|
155
145
|
|
|
156
|
-
### `
|
|
146
|
+
### `commercelayer authorization ID`
|
|
157
147
|
|
|
158
148
|
Execute an action on a resource of type authorizations.
|
|
159
149
|
|
|
160
150
|
```
|
|
161
151
|
USAGE
|
|
162
|
-
$
|
|
152
|
+
$ commercelayer authorization ID
|
|
163
153
|
|
|
164
154
|
ARGUMENTS
|
|
165
|
-
ID the unique
|
|
155
|
+
ID the unique ID of the resource
|
|
166
156
|
|
|
167
157
|
OPTIONS
|
|
158
|
+
-j, --json print result in JSON format
|
|
168
159
|
-o, --organization=organization (required) the slug of your organization
|
|
160
|
+
-p, --print print out the modified resource
|
|
161
|
+
-u, --unformatted print JSON output without indentation
|
|
169
162
|
```
|
|
170
163
|
|
|
171
164
|
_See code: [src/commands/authorization/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/authorization/index.ts)_
|
|
172
165
|
|
|
173
|
-
### `
|
|
166
|
+
### `commercelayer authorization:capture ID`
|
|
174
167
|
|
|
175
168
|
Send this attribute if you want to create a capture for this authorization..
|
|
176
169
|
|
|
177
170
|
```
|
|
178
171
|
USAGE
|
|
179
|
-
$
|
|
172
|
+
$ commercelayer authorization:capture ID
|
|
180
173
|
|
|
181
174
|
ARGUMENTS
|
|
182
|
-
ID the unique
|
|
175
|
+
ID the unique ID of the resource
|
|
183
176
|
|
|
184
177
|
OPTIONS
|
|
178
|
+
-j, --json print result in JSON format
|
|
185
179
|
-o, --organization=organization (required) the slug of your organization
|
|
180
|
+
-p, --print print out the modified resource
|
|
181
|
+
-u, --unformatted print JSON output without indentation
|
|
186
182
|
```
|
|
187
183
|
|
|
188
184
|
_See code: [src/commands/authorization/capture.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/authorization/capture.ts)_
|
|
189
185
|
|
|
190
|
-
### `
|
|
186
|
+
### `commercelayer authorization:capture_amount_cents ID`
|
|
191
187
|
|
|
192
188
|
The associated capture amount, in cents..
|
|
193
189
|
|
|
194
190
|
```
|
|
195
191
|
USAGE
|
|
196
|
-
$
|
|
192
|
+
$ commercelayer authorization:capture_amount_cents ID
|
|
197
193
|
|
|
198
194
|
ARGUMENTS
|
|
199
|
-
ID the unique
|
|
195
|
+
ID the unique ID of the resource
|
|
200
196
|
|
|
201
197
|
OPTIONS
|
|
198
|
+
-j, --json print result in JSON format
|
|
202
199
|
-o, --organization=organization (required) the slug of your organization
|
|
200
|
+
-p, --print print out the modified resource
|
|
201
|
+
-u, --unformatted print JSON output without indentation
|
|
203
202
|
```
|
|
204
203
|
|
|
205
204
|
_See code: [src/commands/authorization/capture_amount_cents.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/authorization/capture_amount_cents.ts)_
|
|
206
205
|
|
|
207
|
-
### `
|
|
206
|
+
### `commercelayer authorization:void ID`
|
|
208
207
|
|
|
209
208
|
Send this attribute if you want to create a void for this authorization..
|
|
210
209
|
|
|
211
210
|
```
|
|
212
211
|
USAGE
|
|
213
|
-
$
|
|
212
|
+
$ commercelayer authorization:void ID
|
|
214
213
|
|
|
215
214
|
ARGUMENTS
|
|
216
|
-
ID the unique
|
|
215
|
+
ID the unique ID of the resource
|
|
217
216
|
|
|
218
217
|
OPTIONS
|
|
218
|
+
-j, --json print result in JSON format
|
|
219
219
|
-o, --organization=organization (required) the slug of your organization
|
|
220
|
+
-p, --print print out the modified resource
|
|
221
|
+
-u, --unformatted print JSON output without indentation
|
|
220
222
|
```
|
|
221
223
|
|
|
222
224
|
_See code: [src/commands/authorization/void.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/authorization/void.ts)_
|
|
223
225
|
|
|
224
|
-
### `
|
|
226
|
+
### `commercelayer bundle ID`
|
|
225
227
|
|
|
226
228
|
Execute an action on a resource of type bundles.
|
|
227
229
|
|
|
228
230
|
```
|
|
229
231
|
USAGE
|
|
230
|
-
$
|
|
232
|
+
$ commercelayer bundle ID
|
|
231
233
|
|
|
232
234
|
ARGUMENTS
|
|
233
|
-
ID the unique
|
|
235
|
+
ID the unique ID of the resource
|
|
234
236
|
|
|
235
237
|
OPTIONS
|
|
238
|
+
-j, --json print result in JSON format
|
|
236
239
|
-o, --organization=organization (required) the slug of your organization
|
|
240
|
+
-p, --print print out the modified resource
|
|
241
|
+
-u, --unformatted print JSON output without indentation
|
|
237
242
|
```
|
|
238
243
|
|
|
239
244
|
_See code: [src/commands/bundle/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/bundle/index.ts)_
|
|
240
245
|
|
|
241
|
-
### `
|
|
246
|
+
### `commercelayer bundle:compute_compare_at_amount ID`
|
|
242
247
|
|
|
243
248
|
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..
|
|
244
249
|
|
|
245
250
|
```
|
|
246
251
|
USAGE
|
|
247
|
-
$
|
|
252
|
+
$ commercelayer bundle:compute_compare_at_amount ID
|
|
248
253
|
|
|
249
254
|
ARGUMENTS
|
|
250
|
-
ID the unique
|
|
255
|
+
ID the unique ID of the resource
|
|
251
256
|
|
|
252
257
|
OPTIONS
|
|
258
|
+
-j, --json print result in JSON format
|
|
253
259
|
-o, --organization=organization (required) the slug of your organization
|
|
260
|
+
-p, --print print out the modified resource
|
|
261
|
+
-u, --unformatted print JSON output without indentation
|
|
254
262
|
```
|
|
255
263
|
|
|
256
264
|
_See code: [src/commands/bundle/compute_compare_at_amount.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/bundle/compute_compare_at_amount.ts)_
|
|
257
265
|
|
|
258
|
-
### `
|
|
266
|
+
### `commercelayer bundle:compute_price_amount ID`
|
|
259
267
|
|
|
260
|
-
|
|
268
|
+
Send this attribute if you want to compute the price_amount_cents as the sum of the prices of the bundle SKUs for the market..
|
|
261
269
|
|
|
262
270
|
```
|
|
263
271
|
USAGE
|
|
264
|
-
$
|
|
272
|
+
$ commercelayer bundle:compute_price_amount ID
|
|
265
273
|
|
|
266
274
|
ARGUMENTS
|
|
267
|
-
ID the unique
|
|
275
|
+
ID the unique ID of the resource
|
|
268
276
|
|
|
269
277
|
OPTIONS
|
|
278
|
+
-j, --json print result in JSON format
|
|
270
279
|
-o, --organization=organization (required) the slug of your organization
|
|
280
|
+
-p, --print print out the modified resource
|
|
281
|
+
-u, --unformatted print JSON output without indentation
|
|
271
282
|
```
|
|
272
283
|
|
|
273
|
-
_See code: [src/commands/
|
|
284
|
+
_See code: [src/commands/bundle/compute_price_amount.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/bundle/compute_price_amount.ts)_
|
|
274
285
|
|
|
275
|
-
### `
|
|
286
|
+
### `commercelayer capture ID`
|
|
276
287
|
|
|
277
|
-
|
|
288
|
+
Execute an action on a resource of type captures.
|
|
278
289
|
|
|
279
290
|
```
|
|
280
291
|
USAGE
|
|
281
|
-
$
|
|
292
|
+
$ commercelayer capture ID
|
|
282
293
|
|
|
283
294
|
ARGUMENTS
|
|
284
|
-
ID the unique
|
|
295
|
+
ID the unique ID of the resource
|
|
285
296
|
|
|
286
297
|
OPTIONS
|
|
298
|
+
-j, --json print result in JSON format
|
|
287
299
|
-o, --organization=organization (required) the slug of your organization
|
|
300
|
+
-p, --print print out the modified resource
|
|
301
|
+
-u, --unformatted print JSON output without indentation
|
|
288
302
|
```
|
|
289
303
|
|
|
290
|
-
_See code: [src/commands/capture/
|
|
304
|
+
_See code: [src/commands/capture/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/capture/index.ts)_
|
|
291
305
|
|
|
292
|
-
### `
|
|
306
|
+
### `commercelayer capture:refund ID`
|
|
293
307
|
|
|
294
|
-
|
|
308
|
+
Send this attribute if you want to create a refund for this capture..
|
|
295
309
|
|
|
296
310
|
```
|
|
297
311
|
USAGE
|
|
298
|
-
$
|
|
312
|
+
$ commercelayer capture:refund ID
|
|
299
313
|
|
|
300
314
|
ARGUMENTS
|
|
301
|
-
ID the unique
|
|
315
|
+
ID the unique ID of the resource
|
|
302
316
|
|
|
303
317
|
OPTIONS
|
|
318
|
+
-j, --json print result in JSON format
|
|
304
319
|
-o, --organization=organization (required) the slug of your organization
|
|
320
|
+
-p, --print print out the modified resource
|
|
321
|
+
-u, --unformatted print JSON output without indentation
|
|
305
322
|
```
|
|
306
323
|
|
|
307
|
-
_See code: [src/commands/capture/
|
|
324
|
+
_See code: [src/commands/capture/refund.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/capture/refund.ts)_
|
|
308
325
|
|
|
309
|
-
### `
|
|
326
|
+
### `commercelayer capture:refund_amount_cents ID`
|
|
310
327
|
|
|
311
|
-
|
|
328
|
+
The associated refund amount, in cents..
|
|
312
329
|
|
|
313
330
|
```
|
|
314
331
|
USAGE
|
|
315
|
-
$
|
|
332
|
+
$ commercelayer capture:refund_amount_cents ID
|
|
316
333
|
|
|
317
334
|
ARGUMENTS
|
|
318
|
-
ID the unique
|
|
335
|
+
ID the unique ID of the resource
|
|
319
336
|
|
|
320
337
|
OPTIONS
|
|
338
|
+
-j, --json print result in JSON format
|
|
321
339
|
-o, --organization=organization (required) the slug of your organization
|
|
340
|
+
-p, --print print out the modified resource
|
|
341
|
+
-u, --unformatted print JSON output without indentation
|
|
322
342
|
```
|
|
323
343
|
|
|
324
|
-
_See code: [src/commands/
|
|
344
|
+
_See code: [src/commands/capture/refund_amount_cents.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/capture/refund_amount_cents.ts)_
|
|
325
345
|
|
|
326
|
-
### `
|
|
346
|
+
### `commercelayer checkout_com_payment ID`
|
|
327
347
|
|
|
328
|
-
|
|
348
|
+
Execute an action on a resource of type checkout_com_payments.
|
|
329
349
|
|
|
330
350
|
```
|
|
331
351
|
USAGE
|
|
332
|
-
$
|
|
352
|
+
$ commercelayer checkout_com_payment ID
|
|
333
353
|
|
|
334
354
|
ARGUMENTS
|
|
335
|
-
ID the unique
|
|
355
|
+
ID the unique ID of the resource
|
|
336
356
|
|
|
337
357
|
OPTIONS
|
|
358
|
+
-j, --json print result in JSON format
|
|
338
359
|
-o, --organization=organization (required) the slug of your organization
|
|
360
|
+
-p, --print print out the modified resource
|
|
361
|
+
-u, --unformatted print JSON output without indentation
|
|
339
362
|
```
|
|
340
363
|
|
|
341
|
-
_See code: [src/commands/checkout_com_payment/
|
|
364
|
+
_See code: [src/commands/checkout_com_payment/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/checkout_com_payment/index.ts)_
|
|
342
365
|
|
|
343
|
-
### `
|
|
366
|
+
### `commercelayer checkout_com_payment:details ID`
|
|
344
367
|
|
|
345
368
|
Send this attribute if you want to send additional details the payment request (i.e. upon 3DS check)..
|
|
346
369
|
|
|
347
370
|
```
|
|
348
371
|
USAGE
|
|
349
|
-
$
|
|
372
|
+
$ commercelayer checkout_com_payment:details ID
|
|
350
373
|
|
|
351
374
|
ARGUMENTS
|
|
352
|
-
ID the unique
|
|
375
|
+
ID the unique ID of the resource
|
|
353
376
|
|
|
354
377
|
OPTIONS
|
|
378
|
+
-j, --json print result in JSON format
|
|
355
379
|
-o, --organization=organization (required) the slug of your organization
|
|
380
|
+
-p, --print print out the modified resource
|
|
381
|
+
-u, --unformatted print JSON output without indentation
|
|
356
382
|
```
|
|
357
383
|
|
|
358
384
|
_See code: [src/commands/checkout_com_payment/details.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/checkout_com_payment/details.ts)_
|
|
359
385
|
|
|
360
|
-
### `
|
|
386
|
+
### `commercelayer checkout_com_payment:refresh ID`
|
|
361
387
|
|
|
362
388
|
Send this attribute if you want to refresh all the pending transactions, can be used as webhooks fallback logic..
|
|
363
389
|
|
|
364
390
|
```
|
|
365
391
|
USAGE
|
|
366
|
-
$
|
|
392
|
+
$ commercelayer checkout_com_payment:refresh ID
|
|
367
393
|
|
|
368
394
|
ARGUMENTS
|
|
369
|
-
ID the unique
|
|
395
|
+
ID the unique ID of the resource
|
|
370
396
|
|
|
371
397
|
OPTIONS
|
|
398
|
+
-j, --json print result in JSON format
|
|
372
399
|
-o, --organization=organization (required) the slug of your organization
|
|
400
|
+
-p, --print print out the modified resource
|
|
401
|
+
-u, --unformatted print JSON output without indentation
|
|
373
402
|
```
|
|
374
403
|
|
|
375
404
|
_See code: [src/commands/checkout_com_payment/refresh.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/checkout_com_payment/refresh.ts)_
|
|
376
405
|
|
|
377
|
-
### `
|
|
406
|
+
### `commercelayer customer_password_reset ID`
|
|
378
407
|
|
|
379
408
|
Execute an action on a resource of type customer_password_resets.
|
|
380
409
|
|
|
381
410
|
```
|
|
382
411
|
USAGE
|
|
383
|
-
$
|
|
412
|
+
$ commercelayer customer_password_reset ID
|
|
384
413
|
|
|
385
414
|
ARGUMENTS
|
|
386
|
-
ID the unique
|
|
415
|
+
ID the unique ID of the resource
|
|
387
416
|
|
|
388
417
|
OPTIONS
|
|
418
|
+
-j, --json print result in JSON format
|
|
389
419
|
-o, --organization=organization (required) the slug of your organization
|
|
420
|
+
-p, --print print out the modified resource
|
|
421
|
+
-u, --unformatted print JSON output without indentation
|
|
390
422
|
```
|
|
391
423
|
|
|
392
424
|
_See code: [src/commands/customer_password_reset/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/customer_password_reset/index.ts)_
|
|
393
425
|
|
|
394
|
-
### `
|
|
426
|
+
### `commercelayer customer_password_reset:reset_password_token ID`
|
|
395
427
|
|
|
396
428
|
Send the 'reset_password_token' that you got on create when updating the customer password..
|
|
397
429
|
|
|
398
430
|
```
|
|
399
431
|
USAGE
|
|
400
|
-
$
|
|
432
|
+
$ commercelayer customer_password_reset:reset_password_token ID
|
|
401
433
|
|
|
402
434
|
ARGUMENTS
|
|
403
|
-
ID the unique
|
|
435
|
+
ID the unique ID of the resource
|
|
404
436
|
|
|
405
437
|
OPTIONS
|
|
438
|
+
-j, --json print result in JSON format
|
|
406
439
|
-o, --organization=organization (required) the slug of your organization
|
|
440
|
+
-p, --print print out the modified resource
|
|
441
|
+
-u, --unformatted print JSON output without indentation
|
|
407
442
|
```
|
|
408
443
|
|
|
409
444
|
_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)_
|
|
410
445
|
|
|
411
|
-
### `
|
|
446
|
+
### `commercelayer gift_card ID`
|
|
412
447
|
|
|
413
448
|
Execute an action on a resource of type gift_cards.
|
|
414
449
|
|
|
415
450
|
```
|
|
416
451
|
USAGE
|
|
417
|
-
$
|
|
452
|
+
$ commercelayer gift_card ID
|
|
418
453
|
|
|
419
454
|
ARGUMENTS
|
|
420
|
-
ID the unique
|
|
455
|
+
ID the unique ID of the resource
|
|
421
456
|
|
|
422
457
|
OPTIONS
|
|
458
|
+
-j, --json print result in JSON format
|
|
423
459
|
-o, --organization=organization (required) the slug of your organization
|
|
460
|
+
-p, --print print out the modified resource
|
|
461
|
+
-u, --unformatted print JSON output without indentation
|
|
424
462
|
```
|
|
425
463
|
|
|
426
464
|
_See code: [src/commands/gift_card/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/gift_card/index.ts)_
|
|
427
465
|
|
|
428
|
-
### `
|
|
466
|
+
### `commercelayer gift_card:activate ID`
|
|
429
467
|
|
|
430
468
|
Send this attribute if you want to activate a gift card..
|
|
431
469
|
|
|
432
470
|
```
|
|
433
471
|
USAGE
|
|
434
|
-
$
|
|
472
|
+
$ commercelayer gift_card:activate ID
|
|
435
473
|
|
|
436
474
|
ARGUMENTS
|
|
437
|
-
ID the unique
|
|
475
|
+
ID the unique ID of the resource
|
|
438
476
|
|
|
439
477
|
OPTIONS
|
|
478
|
+
-j, --json print result in JSON format
|
|
440
479
|
-o, --organization=organization (required) the slug of your organization
|
|
480
|
+
-p, --print print out the modified resource
|
|
481
|
+
-u, --unformatted print JSON output without indentation
|
|
441
482
|
```
|
|
442
483
|
|
|
443
484
|
_See code: [src/commands/gift_card/activate.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/gift_card/activate.ts)_
|
|
444
485
|
|
|
445
|
-
### `
|
|
486
|
+
### `commercelayer gift_card:balance_change_cents ID`
|
|
446
487
|
|
|
447
488
|
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)..
|
|
448
489
|
|
|
449
490
|
```
|
|
450
491
|
USAGE
|
|
451
|
-
$
|
|
492
|
+
$ commercelayer gift_card:balance_change_cents ID
|
|
452
493
|
|
|
453
494
|
ARGUMENTS
|
|
454
|
-
ID the unique
|
|
495
|
+
ID the unique ID of the resource
|
|
455
496
|
|
|
456
497
|
OPTIONS
|
|
498
|
+
-j, --json print result in JSON format
|
|
457
499
|
-o, --organization=organization (required) the slug of your organization
|
|
500
|
+
-p, --print print out the modified resource
|
|
501
|
+
-u, --unformatted print JSON output without indentation
|
|
458
502
|
```
|
|
459
503
|
|
|
460
504
|
_See code: [src/commands/gift_card/balance_change_cents.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/gift_card/balance_change_cents.ts)_
|
|
461
505
|
|
|
462
|
-
### `
|
|
506
|
+
### `commercelayer gift_card:deactivate ID`
|
|
463
507
|
|
|
464
508
|
Send this attribute if you want to deactivate a gift card..
|
|
465
509
|
|
|
466
510
|
```
|
|
467
511
|
USAGE
|
|
468
|
-
$
|
|
512
|
+
$ commercelayer gift_card:deactivate ID
|
|
469
513
|
|
|
470
514
|
ARGUMENTS
|
|
471
|
-
ID the unique
|
|
515
|
+
ID the unique ID of the resource
|
|
472
516
|
|
|
473
517
|
OPTIONS
|
|
518
|
+
-j, --json print result in JSON format
|
|
474
519
|
-o, --organization=organization (required) the slug of your organization
|
|
520
|
+
-p, --print print out the modified resource
|
|
521
|
+
-u, --unformatted print JSON output without indentation
|
|
475
522
|
```
|
|
476
523
|
|
|
477
524
|
_See code: [src/commands/gift_card/deactivate.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/gift_card/deactivate.ts)_
|
|
478
525
|
|
|
479
|
-
### `
|
|
526
|
+
### `commercelayer gift_card:purchase ID`
|
|
480
527
|
|
|
481
528
|
Send this attribute if you want to confirm a draft gift card. The gift card becomes 'inactive', waiting to be activated..
|
|
482
529
|
|
|
483
530
|
```
|
|
484
531
|
USAGE
|
|
485
|
-
$
|
|
532
|
+
$ commercelayer gift_card:purchase ID
|
|
486
533
|
|
|
487
534
|
ARGUMENTS
|
|
488
|
-
ID the unique
|
|
535
|
+
ID the unique ID of the resource
|
|
489
536
|
|
|
490
537
|
OPTIONS
|
|
538
|
+
-j, --json print result in JSON format
|
|
491
539
|
-o, --organization=organization (required) the slug of your organization
|
|
540
|
+
-p, --print print out the modified resource
|
|
541
|
+
-u, --unformatted print JSON output without indentation
|
|
492
542
|
```
|
|
493
543
|
|
|
494
544
|
_See code: [src/commands/gift_card/purchase.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/gift_card/purchase.ts)_
|
|
495
545
|
|
|
496
|
-
### `
|
|
546
|
+
### `commercelayer in_stock_subscription ID`
|
|
497
547
|
|
|
498
548
|
Execute an action on a resource of type in_stock_subscriptions.
|
|
499
549
|
|
|
500
550
|
```
|
|
501
551
|
USAGE
|
|
502
|
-
$
|
|
552
|
+
$ commercelayer in_stock_subscription ID
|
|
503
553
|
|
|
504
554
|
ARGUMENTS
|
|
505
|
-
ID the unique
|
|
555
|
+
ID the unique ID of the resource
|
|
506
556
|
|
|
507
557
|
OPTIONS
|
|
558
|
+
-j, --json print result in JSON format
|
|
508
559
|
-o, --organization=organization (required) the slug of your organization
|
|
560
|
+
-p, --print print out the modified resource
|
|
561
|
+
-u, --unformatted print JSON output without indentation
|
|
509
562
|
```
|
|
510
563
|
|
|
511
564
|
_See code: [src/commands/in_stock_subscription/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/in_stock_subscription/index.ts)_
|
|
512
565
|
|
|
513
|
-
### `
|
|
566
|
+
### `commercelayer in_stock_subscription:activate ID`
|
|
514
567
|
|
|
515
568
|
Send this attribute if you want to activate an inactive subscription..
|
|
516
569
|
|
|
517
570
|
```
|
|
518
571
|
USAGE
|
|
519
|
-
$
|
|
572
|
+
$ commercelayer in_stock_subscription:activate ID
|
|
520
573
|
|
|
521
574
|
ARGUMENTS
|
|
522
|
-
ID the unique
|
|
575
|
+
ID the unique ID of the resource
|
|
523
576
|
|
|
524
577
|
OPTIONS
|
|
578
|
+
-j, --json print result in JSON format
|
|
525
579
|
-o, --organization=organization (required) the slug of your organization
|
|
580
|
+
-p, --print print out the modified resource
|
|
581
|
+
-u, --unformatted print JSON output without indentation
|
|
526
582
|
```
|
|
527
583
|
|
|
528
584
|
_See code: [src/commands/in_stock_subscription/activate.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/in_stock_subscription/activate.ts)_
|
|
529
585
|
|
|
530
|
-
### `
|
|
586
|
+
### `commercelayer in_stock_subscription:deactivate ID`
|
|
531
587
|
|
|
532
588
|
Send this attribute if you want to dactivate an active subscription..
|
|
533
589
|
|
|
534
590
|
```
|
|
535
591
|
USAGE
|
|
536
|
-
$
|
|
592
|
+
$ commercelayer in_stock_subscription:deactivate ID
|
|
537
593
|
|
|
538
594
|
ARGUMENTS
|
|
539
|
-
ID the unique
|
|
595
|
+
ID the unique ID of the resource
|
|
540
596
|
|
|
541
597
|
OPTIONS
|
|
598
|
+
-j, --json print result in JSON format
|
|
542
599
|
-o, --organization=organization (required) the slug of your organization
|
|
600
|
+
-p, --print print out the modified resource
|
|
601
|
+
-u, --unformatted print JSON output without indentation
|
|
543
602
|
```
|
|
544
603
|
|
|
545
604
|
_See code: [src/commands/in_stock_subscription/deactivate.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/in_stock_subscription/deactivate.ts)_
|
|
546
605
|
|
|
547
|
-
### `
|
|
606
|
+
### `commercelayer klarna_payment ID`
|
|
607
|
+
|
|
608
|
+
Execute an action on a resource of type klarna_payments.
|
|
609
|
+
|
|
610
|
+
```
|
|
611
|
+
USAGE
|
|
612
|
+
$ commercelayer klarna_payment ID
|
|
613
|
+
|
|
614
|
+
ARGUMENTS
|
|
615
|
+
ID the unique ID of the resource
|
|
616
|
+
|
|
617
|
+
OPTIONS
|
|
618
|
+
-j, --json print result in JSON format
|
|
619
|
+
-o, --organization=organization (required) the slug of your organization
|
|
620
|
+
-p, --print print out the modified resource
|
|
621
|
+
-u, --unformatted print JSON output without indentation
|
|
622
|
+
```
|
|
623
|
+
|
|
624
|
+
_See code: [src/commands/klarna_payment/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/klarna_payment/index.ts)_
|
|
625
|
+
|
|
626
|
+
### `commercelayer klarna_payment:update ID`
|
|
627
|
+
|
|
628
|
+
Send this attribute if you want to update the payment session with fresh order data..
|
|
629
|
+
|
|
630
|
+
```
|
|
631
|
+
USAGE
|
|
632
|
+
$ commercelayer klarna_payment:update ID
|
|
633
|
+
|
|
634
|
+
ARGUMENTS
|
|
635
|
+
ID the unique ID of the resource
|
|
636
|
+
|
|
637
|
+
OPTIONS
|
|
638
|
+
-j, --json print result in JSON format
|
|
639
|
+
-o, --organization=organization (required) the slug of your organization
|
|
640
|
+
-p, --print print out the modified resource
|
|
641
|
+
-u, --unformatted print JSON output without indentation
|
|
642
|
+
```
|
|
643
|
+
|
|
644
|
+
_See code: [src/commands/klarna_payment/update.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/klarna_payment/update.ts)_
|
|
645
|
+
|
|
646
|
+
### `commercelayer order ID`
|
|
548
647
|
|
|
549
648
|
Execute an action on a resource of type orders.
|
|
550
649
|
|
|
551
650
|
```
|
|
552
651
|
USAGE
|
|
553
|
-
$
|
|
652
|
+
$ commercelayer order ID
|
|
554
653
|
|
|
555
654
|
ARGUMENTS
|
|
556
|
-
ID the unique
|
|
655
|
+
ID the unique ID of the resource
|
|
557
656
|
|
|
558
657
|
OPTIONS
|
|
658
|
+
-j, --json print result in JSON format
|
|
559
659
|
-o, --organization=organization (required) the slug of your organization
|
|
660
|
+
-p, --print print out the modified resource
|
|
661
|
+
-u, --unformatted print JSON output without indentation
|
|
560
662
|
```
|
|
561
663
|
|
|
562
664
|
_See code: [src/commands/order/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/index.ts)_
|
|
563
665
|
|
|
564
|
-
### `
|
|
666
|
+
### `commercelayer order:approve ID`
|
|
565
667
|
|
|
566
668
|
Send this attribute if you want to approve a placed order..
|
|
567
669
|
|
|
568
670
|
```
|
|
569
671
|
USAGE
|
|
570
|
-
$
|
|
672
|
+
$ commercelayer order:approve ID
|
|
571
673
|
|
|
572
674
|
ARGUMENTS
|
|
573
|
-
ID the unique
|
|
675
|
+
ID the unique ID of the resource
|
|
574
676
|
|
|
575
677
|
OPTIONS
|
|
678
|
+
-j, --json print result in JSON format
|
|
576
679
|
-o, --organization=organization (required) the slug of your organization
|
|
680
|
+
-p, --print print out the modified resource
|
|
681
|
+
-u, --unformatted print JSON output without indentation
|
|
577
682
|
```
|
|
578
683
|
|
|
579
684
|
_See code: [src/commands/order/approve.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/approve.ts)_
|
|
580
685
|
|
|
581
|
-
### `
|
|
686
|
+
### `commercelayer order:approve_and_capture ID`
|
|
582
687
|
|
|
583
688
|
Send this attribute if you want to approve and capture a placed order..
|
|
584
689
|
|
|
585
690
|
```
|
|
586
691
|
USAGE
|
|
587
|
-
$
|
|
692
|
+
$ commercelayer order:approve_and_capture ID
|
|
588
693
|
|
|
589
694
|
ARGUMENTS
|
|
590
|
-
ID the unique
|
|
695
|
+
ID the unique ID of the resource
|
|
591
696
|
|
|
592
697
|
OPTIONS
|
|
698
|
+
-j, --json print result in JSON format
|
|
593
699
|
-o, --organization=organization (required) the slug of your organization
|
|
700
|
+
-p, --print print out the modified resource
|
|
701
|
+
-u, --unformatted print JSON output without indentation
|
|
594
702
|
```
|
|
595
703
|
|
|
596
704
|
_See code: [src/commands/order/approve_and_capture.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/approve_and_capture.ts)_
|
|
597
705
|
|
|
598
|
-
### `
|
|
706
|
+
### `commercelayer order:archive ID`
|
|
599
707
|
|
|
600
708
|
Send this attribute if you want to archive the order..
|
|
601
709
|
|
|
602
710
|
```
|
|
603
711
|
USAGE
|
|
604
|
-
$
|
|
712
|
+
$ commercelayer order:archive ID
|
|
605
713
|
|
|
606
714
|
ARGUMENTS
|
|
607
|
-
ID the unique
|
|
715
|
+
ID the unique ID of the resource
|
|
608
716
|
|
|
609
717
|
OPTIONS
|
|
718
|
+
-j, --json print result in JSON format
|
|
610
719
|
-o, --organization=organization (required) the slug of your organization
|
|
720
|
+
-p, --print print out the modified resource
|
|
721
|
+
-u, --unformatted print JSON output without indentation
|
|
611
722
|
```
|
|
612
723
|
|
|
613
724
|
_See code: [src/commands/order/archive.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/archive.ts)_
|
|
614
725
|
|
|
615
|
-
### `
|
|
726
|
+
### `commercelayer order:authorization_amount_cents ID`
|
|
616
727
|
|
|
617
728
|
The authorization amount, in cents..
|
|
618
729
|
|
|
619
730
|
```
|
|
620
731
|
USAGE
|
|
621
|
-
$
|
|
732
|
+
$ commercelayer order:authorization_amount_cents ID
|
|
622
733
|
|
|
623
734
|
ARGUMENTS
|
|
624
|
-
ID the unique
|
|
735
|
+
ID the unique ID of the resource
|
|
625
736
|
|
|
626
737
|
OPTIONS
|
|
738
|
+
-j, --json print result in JSON format
|
|
627
739
|
-o, --organization=organization (required) the slug of your organization
|
|
740
|
+
-p, --print print out the modified resource
|
|
741
|
+
-u, --unformatted print JSON output without indentation
|
|
628
742
|
```
|
|
629
743
|
|
|
630
744
|
_See code: [src/commands/order/authorization_amount_cents.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/authorization_amount_cents.ts)_
|
|
631
745
|
|
|
632
|
-
### `
|
|
746
|
+
### `commercelayer order:authorize ID`
|
|
633
747
|
|
|
634
748
|
Send this attribute if you want to authorize the order's payment source..
|
|
635
749
|
|
|
636
750
|
```
|
|
637
751
|
USAGE
|
|
638
|
-
$
|
|
752
|
+
$ commercelayer order:authorize ID
|
|
639
753
|
|
|
640
754
|
ARGUMENTS
|
|
641
|
-
ID the unique
|
|
755
|
+
ID the unique ID of the resource
|
|
642
756
|
|
|
643
757
|
OPTIONS
|
|
758
|
+
-j, --json print result in JSON format
|
|
644
759
|
-o, --organization=organization (required) the slug of your organization
|
|
760
|
+
-p, --print print out the modified resource
|
|
761
|
+
-u, --unformatted print JSON output without indentation
|
|
645
762
|
```
|
|
646
763
|
|
|
647
764
|
_See code: [src/commands/order/authorize.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/authorize.ts)_
|
|
648
765
|
|
|
649
|
-
### `
|
|
766
|
+
### `commercelayer order:billing_address_clone_id ID`
|
|
650
767
|
|
|
651
768
|
The id of the address that you want to clone to create the order's billing address..
|
|
652
769
|
|
|
653
770
|
```
|
|
654
771
|
USAGE
|
|
655
|
-
$
|
|
772
|
+
$ commercelayer order:billing_address_clone_id ID
|
|
656
773
|
|
|
657
774
|
ARGUMENTS
|
|
658
|
-
ID the unique
|
|
775
|
+
ID the unique ID of the resource
|
|
659
776
|
|
|
660
777
|
OPTIONS
|
|
778
|
+
-j, --json print result in JSON format
|
|
661
779
|
-o, --organization=organization (required) the slug of your organization
|
|
780
|
+
-p, --print print out the modified resource
|
|
781
|
+
-u, --unformatted print JSON output without indentation
|
|
662
782
|
-v, --value=value (required) the trigger attribute value
|
|
663
783
|
```
|
|
664
784
|
|
|
665
785
|
_See code: [src/commands/order/billing_address_clone_id.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/billing_address_clone_id.ts)_
|
|
666
786
|
|
|
667
|
-
### `
|
|
787
|
+
### `commercelayer order:billing_address_same_as_shipping ID`
|
|
668
788
|
|
|
669
789
|
Send this attribute if you want the billing address to be cloned from the order's shipping address..
|
|
670
790
|
|
|
671
791
|
```
|
|
672
792
|
USAGE
|
|
673
|
-
$
|
|
793
|
+
$ commercelayer order:billing_address_same_as_shipping ID
|
|
674
794
|
|
|
675
795
|
ARGUMENTS
|
|
676
|
-
ID the unique
|
|
796
|
+
ID the unique ID of the resource
|
|
677
797
|
|
|
678
798
|
OPTIONS
|
|
799
|
+
-j, --json print result in JSON format
|
|
679
800
|
-o, --organization=organization (required) the slug of your organization
|
|
801
|
+
-p, --print print out the modified resource
|
|
802
|
+
-u, --unformatted print JSON output without indentation
|
|
680
803
|
```
|
|
681
804
|
|
|
682
805
|
_See code: [src/commands/order/billing_address_same_as_shipping.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/billing_address_same_as_shipping.ts)_
|
|
683
806
|
|
|
684
|
-
### `
|
|
807
|
+
### `commercelayer order:cancel ID`
|
|
685
808
|
|
|
686
809
|
Send this attribute if you want to cancel a placed order. The order's authorization will be automatically voided..
|
|
687
810
|
|
|
688
811
|
```
|
|
689
812
|
USAGE
|
|
690
|
-
$
|
|
813
|
+
$ commercelayer order:cancel ID
|
|
691
814
|
|
|
692
815
|
ARGUMENTS
|
|
693
|
-
ID the unique
|
|
816
|
+
ID the unique ID of the resource
|
|
694
817
|
|
|
695
818
|
OPTIONS
|
|
819
|
+
-j, --json print result in JSON format
|
|
696
820
|
-o, --organization=organization (required) the slug of your organization
|
|
821
|
+
-p, --print print out the modified resource
|
|
822
|
+
-u, --unformatted print JSON output without indentation
|
|
697
823
|
```
|
|
698
824
|
|
|
699
825
|
_See code: [src/commands/order/cancel.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/cancel.ts)_
|
|
700
826
|
|
|
701
|
-
### `
|
|
827
|
+
### `commercelayer order:capture ID`
|
|
702
828
|
|
|
703
829
|
Send this attribute if you want to capture an approved order..
|
|
704
830
|
|
|
705
831
|
```
|
|
706
832
|
USAGE
|
|
707
|
-
$
|
|
833
|
+
$ commercelayer order:capture ID
|
|
708
834
|
|
|
709
835
|
ARGUMENTS
|
|
710
|
-
ID the unique
|
|
836
|
+
ID the unique ID of the resource
|
|
711
837
|
|
|
712
838
|
OPTIONS
|
|
839
|
+
-j, --json print result in JSON format
|
|
713
840
|
-o, --organization=organization (required) the slug of your organization
|
|
841
|
+
-p, --print print out the modified resource
|
|
842
|
+
-u, --unformatted print JSON output without indentation
|
|
714
843
|
```
|
|
715
844
|
|
|
716
845
|
_See code: [src/commands/order/capture.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/capture.ts)_
|
|
717
846
|
|
|
718
|
-
### `
|
|
847
|
+
### `commercelayer order:customer_payment_source_id ID`
|
|
719
848
|
|
|
720
849
|
The id of the customer payment source (i.e. credit card) that you want to use as the order's payment source..
|
|
721
850
|
|
|
722
851
|
```
|
|
723
852
|
USAGE
|
|
724
|
-
$
|
|
853
|
+
$ commercelayer order:customer_payment_source_id ID
|
|
725
854
|
|
|
726
855
|
ARGUMENTS
|
|
727
|
-
ID the unique
|
|
856
|
+
ID the unique ID of the resource
|
|
728
857
|
|
|
729
858
|
OPTIONS
|
|
859
|
+
-j, --json print result in JSON format
|
|
730
860
|
-o, --organization=organization (required) the slug of your organization
|
|
861
|
+
-p, --print print out the modified resource
|
|
862
|
+
-u, --unformatted print JSON output without indentation
|
|
731
863
|
-v, --value=value (required) the trigger attribute value
|
|
732
864
|
```
|
|
733
865
|
|
|
734
866
|
_See code: [src/commands/order/customer_payment_source_id.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/customer_payment_source_id.ts)_
|
|
735
867
|
|
|
736
|
-
### `
|
|
868
|
+
### `commercelayer order:place ID`
|
|
737
869
|
|
|
738
870
|
Send this attribute if you want to place the order..
|
|
739
871
|
|
|
740
872
|
```
|
|
741
873
|
USAGE
|
|
742
|
-
$
|
|
874
|
+
$ commercelayer order:place ID
|
|
743
875
|
|
|
744
876
|
ARGUMENTS
|
|
745
|
-
ID the unique
|
|
877
|
+
ID the unique ID of the resource
|
|
746
878
|
|
|
747
879
|
OPTIONS
|
|
880
|
+
-j, --json print result in JSON format
|
|
748
881
|
-o, --organization=organization (required) the slug of your organization
|
|
882
|
+
-p, --print print out the modified resource
|
|
883
|
+
-u, --unformatted print JSON output without indentation
|
|
749
884
|
```
|
|
750
885
|
|
|
751
886
|
_See code: [src/commands/order/place.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/place.ts)_
|
|
752
887
|
|
|
753
|
-
### `
|
|
888
|
+
### `commercelayer order:refresh ID`
|
|
754
889
|
|
|
755
890
|
Send this attribute if you want to manually refresh the order..
|
|
756
891
|
|
|
757
892
|
```
|
|
758
893
|
USAGE
|
|
759
|
-
$
|
|
894
|
+
$ commercelayer order:refresh ID
|
|
760
895
|
|
|
761
896
|
ARGUMENTS
|
|
762
|
-
ID the unique
|
|
897
|
+
ID the unique ID of the resource
|
|
763
898
|
|
|
764
899
|
OPTIONS
|
|
900
|
+
-j, --json print result in JSON format
|
|
765
901
|
-o, --organization=organization (required) the slug of your organization
|
|
902
|
+
-p, --print print out the modified resource
|
|
903
|
+
-u, --unformatted print JSON output without indentation
|
|
766
904
|
```
|
|
767
905
|
|
|
768
906
|
_See code: [src/commands/order/refresh.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/refresh.ts)_
|
|
769
907
|
|
|
770
|
-
### `
|
|
908
|
+
### `commercelayer order:refund ID`
|
|
771
909
|
|
|
772
910
|
Send this attribute if you want to refund a captured order..
|
|
773
911
|
|
|
774
912
|
```
|
|
775
913
|
USAGE
|
|
776
|
-
$
|
|
914
|
+
$ commercelayer order:refund ID
|
|
777
915
|
|
|
778
916
|
ARGUMENTS
|
|
779
|
-
ID the unique
|
|
917
|
+
ID the unique ID of the resource
|
|
780
918
|
|
|
781
919
|
OPTIONS
|
|
920
|
+
-j, --json print result in JSON format
|
|
782
921
|
-o, --organization=organization (required) the slug of your organization
|
|
922
|
+
-p, --print print out the modified resource
|
|
923
|
+
-u, --unformatted print JSON output without indentation
|
|
783
924
|
```
|
|
784
925
|
|
|
785
926
|
_See code: [src/commands/order/refund.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/refund.ts)_
|
|
786
927
|
|
|
787
|
-
### `
|
|
928
|
+
### `commercelayer order:save_billing_address_to_customer_address_book ID`
|
|
788
929
|
|
|
789
930
|
Send this attribute if you want the order's billing address to be saved in the customer's address book as a customer address..
|
|
790
931
|
|
|
791
932
|
```
|
|
792
933
|
USAGE
|
|
793
|
-
$
|
|
934
|
+
$ commercelayer order:save_billing_address_to_customer_address_book ID
|
|
794
935
|
|
|
795
936
|
ARGUMENTS
|
|
796
|
-
ID the unique
|
|
937
|
+
ID the unique ID of the resource
|
|
797
938
|
|
|
798
939
|
OPTIONS
|
|
940
|
+
-j, --json print result in JSON format
|
|
799
941
|
-o, --organization=organization (required) the slug of your organization
|
|
942
|
+
-p, --print print out the modified resource
|
|
943
|
+
-u, --unformatted print JSON output without indentation
|
|
800
944
|
```
|
|
801
945
|
|
|
802
946
|
_See code: [src/commands/order/save_billing_address_to_customer_address_book.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/save_billing_address_to_customer_address_book.ts)_
|
|
803
947
|
|
|
804
|
-
### `
|
|
948
|
+
### `commercelayer order:save_payment_source_to_customer_wallet ID`
|
|
805
949
|
|
|
806
950
|
Send this attribute if you want the order's payment source to be saved in the customer's wallet as a customer payment source..
|
|
807
951
|
|
|
808
952
|
```
|
|
809
953
|
USAGE
|
|
810
|
-
$
|
|
954
|
+
$ commercelayer order:save_payment_source_to_customer_wallet ID
|
|
811
955
|
|
|
812
956
|
ARGUMENTS
|
|
813
|
-
ID the unique
|
|
957
|
+
ID the unique ID of the resource
|
|
814
958
|
|
|
815
959
|
OPTIONS
|
|
960
|
+
-j, --json print result in JSON format
|
|
816
961
|
-o, --organization=organization (required) the slug of your organization
|
|
962
|
+
-p, --print print out the modified resource
|
|
963
|
+
-u, --unformatted print JSON output without indentation
|
|
817
964
|
```
|
|
818
965
|
|
|
819
966
|
_See code: [src/commands/order/save_payment_source_to_customer_wallet.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/save_payment_source_to_customer_wallet.ts)_
|
|
820
967
|
|
|
821
|
-
### `
|
|
968
|
+
### `commercelayer order:save_shipping_address_to_customer_address_book ID`
|
|
822
969
|
|
|
823
970
|
Send this attribute if you want the order's shipping address to be saved in the customer's address book as a customer address..
|
|
824
971
|
|
|
825
972
|
```
|
|
826
973
|
USAGE
|
|
827
|
-
$
|
|
974
|
+
$ commercelayer order:save_shipping_address_to_customer_address_book ID
|
|
828
975
|
|
|
829
976
|
ARGUMENTS
|
|
830
|
-
ID the unique
|
|
977
|
+
ID the unique ID of the resource
|
|
831
978
|
|
|
832
979
|
OPTIONS
|
|
980
|
+
-j, --json print result in JSON format
|
|
833
981
|
-o, --organization=organization (required) the slug of your organization
|
|
982
|
+
-p, --print print out the modified resource
|
|
983
|
+
-u, --unformatted print JSON output without indentation
|
|
834
984
|
```
|
|
835
985
|
|
|
836
986
|
_See code: [src/commands/order/save_shipping_address_to_customer_address_book.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/save_shipping_address_to_customer_address_book.ts)_
|
|
837
987
|
|
|
838
|
-
### `
|
|
988
|
+
### `commercelayer order:shipping_address_clone_id ID`
|
|
839
989
|
|
|
840
990
|
The id of the address that you want to clone to create the order's shipping address..
|
|
841
991
|
|
|
842
992
|
```
|
|
843
993
|
USAGE
|
|
844
|
-
$
|
|
994
|
+
$ commercelayer order:shipping_address_clone_id ID
|
|
845
995
|
|
|
846
996
|
ARGUMENTS
|
|
847
|
-
ID the unique
|
|
997
|
+
ID the unique ID of the resource
|
|
848
998
|
|
|
849
999
|
OPTIONS
|
|
1000
|
+
-j, --json print result in JSON format
|
|
850
1001
|
-o, --organization=organization (required) the slug of your organization
|
|
1002
|
+
-p, --print print out the modified resource
|
|
1003
|
+
-u, --unformatted print JSON output without indentation
|
|
851
1004
|
-v, --value=value (required) the trigger attribute value
|
|
852
1005
|
```
|
|
853
1006
|
|
|
854
1007
|
_See code: [src/commands/order/shipping_address_clone_id.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/shipping_address_clone_id.ts)_
|
|
855
1008
|
|
|
856
|
-
### `
|
|
1009
|
+
### `commercelayer order:shipping_address_same_as_billing ID`
|
|
857
1010
|
|
|
858
1011
|
Send this attribute if you want the shipping address to be cloned from the order's billing address..
|
|
859
1012
|
|
|
860
1013
|
```
|
|
861
1014
|
USAGE
|
|
862
|
-
$
|
|
1015
|
+
$ commercelayer order:shipping_address_same_as_billing ID
|
|
863
1016
|
|
|
864
1017
|
ARGUMENTS
|
|
865
|
-
ID the unique
|
|
1018
|
+
ID the unique ID of the resource
|
|
866
1019
|
|
|
867
1020
|
OPTIONS
|
|
1021
|
+
-j, --json print result in JSON format
|
|
868
1022
|
-o, --organization=organization (required) the slug of your organization
|
|
1023
|
+
-p, --print print out the modified resource
|
|
1024
|
+
-u, --unformatted print JSON output without indentation
|
|
869
1025
|
```
|
|
870
1026
|
|
|
871
1027
|
_See code: [src/commands/order/shipping_address_same_as_billing.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/shipping_address_same_as_billing.ts)_
|
|
872
1028
|
|
|
873
|
-
### `
|
|
1029
|
+
### `commercelayer order:unarchive ID`
|
|
874
1030
|
|
|
875
1031
|
Send this attribute if you want to unarchive the order..
|
|
876
1032
|
|
|
877
1033
|
```
|
|
878
1034
|
USAGE
|
|
879
|
-
$
|
|
1035
|
+
$ commercelayer order:unarchive ID
|
|
880
1036
|
|
|
881
1037
|
ARGUMENTS
|
|
882
|
-
ID the unique
|
|
1038
|
+
ID the unique ID of the resource
|
|
883
1039
|
|
|
884
1040
|
OPTIONS
|
|
1041
|
+
-j, --json print result in JSON format
|
|
885
1042
|
-o, --organization=organization (required) the slug of your organization
|
|
1043
|
+
-p, --print print out the modified resource
|
|
1044
|
+
-u, --unformatted print JSON output without indentation
|
|
886
1045
|
```
|
|
887
1046
|
|
|
888
1047
|
_See code: [src/commands/order/unarchive.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/unarchive.ts)_
|
|
889
1048
|
|
|
890
|
-
### `
|
|
1049
|
+
### `commercelayer order:update_taxes ID`
|
|
891
1050
|
|
|
892
1051
|
Send this attribute if you want to force tax calculation for this order (a tax calculator must be associated to the order's market)..
|
|
893
1052
|
|
|
894
1053
|
```
|
|
895
1054
|
USAGE
|
|
896
|
-
$
|
|
1055
|
+
$ commercelayer order:update_taxes ID
|
|
897
1056
|
|
|
898
1057
|
ARGUMENTS
|
|
899
|
-
ID the unique
|
|
1058
|
+
ID the unique ID of the resource
|
|
900
1059
|
|
|
901
1060
|
OPTIONS
|
|
1061
|
+
-j, --json print result in JSON format
|
|
902
1062
|
-o, --organization=organization (required) the slug of your organization
|
|
1063
|
+
-p, --print print out the modified resource
|
|
1064
|
+
-u, --unformatted print JSON output without indentation
|
|
903
1065
|
```
|
|
904
1066
|
|
|
905
1067
|
_See code: [src/commands/order/update_taxes.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/update_taxes.ts)_
|
|
906
1068
|
|
|
907
|
-
### `
|
|
1069
|
+
### `commercelayer order_subscription ID`
|
|
908
1070
|
|
|
909
1071
|
Execute an action on a resource of type order_subscriptions.
|
|
910
1072
|
|
|
911
1073
|
```
|
|
912
1074
|
USAGE
|
|
913
|
-
$
|
|
1075
|
+
$ commercelayer order_subscription ID
|
|
914
1076
|
|
|
915
1077
|
ARGUMENTS
|
|
916
|
-
ID the unique
|
|
1078
|
+
ID the unique ID of the resource
|
|
917
1079
|
|
|
918
1080
|
OPTIONS
|
|
1081
|
+
-j, --json print result in JSON format
|
|
919
1082
|
-o, --organization=organization (required) the slug of your organization
|
|
1083
|
+
-p, --print print out the modified resource
|
|
1084
|
+
-u, --unformatted print JSON output without indentation
|
|
920
1085
|
```
|
|
921
1086
|
|
|
922
1087
|
_See code: [src/commands/order_subscription/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order_subscription/index.ts)_
|
|
923
1088
|
|
|
924
|
-
### `
|
|
1089
|
+
### `commercelayer order_subscription:activate ID`
|
|
925
1090
|
|
|
926
1091
|
Send this attribute if you want to mark this subscription as active..
|
|
927
1092
|
|
|
928
1093
|
```
|
|
929
1094
|
USAGE
|
|
930
|
-
$
|
|
1095
|
+
$ commercelayer order_subscription:activate ID
|
|
931
1096
|
|
|
932
1097
|
ARGUMENTS
|
|
933
|
-
ID the unique
|
|
1098
|
+
ID the unique ID of the resource
|
|
934
1099
|
|
|
935
1100
|
OPTIONS
|
|
1101
|
+
-j, --json print result in JSON format
|
|
936
1102
|
-o, --organization=organization (required) the slug of your organization
|
|
1103
|
+
-p, --print print out the modified resource
|
|
1104
|
+
-u, --unformatted print JSON output without indentation
|
|
937
1105
|
```
|
|
938
1106
|
|
|
939
1107
|
_See code: [src/commands/order_subscription/activate.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order_subscription/activate.ts)_
|
|
940
1108
|
|
|
941
|
-
### `
|
|
1109
|
+
### `commercelayer order_subscription:cancel ID`
|
|
942
1110
|
|
|
943
1111
|
Send this attribute if you want to mark this subscription as cancelled..
|
|
944
1112
|
|
|
945
1113
|
```
|
|
946
1114
|
USAGE
|
|
947
|
-
$
|
|
1115
|
+
$ commercelayer order_subscription:cancel ID
|
|
948
1116
|
|
|
949
1117
|
ARGUMENTS
|
|
950
|
-
ID the unique
|
|
1118
|
+
ID the unique ID of the resource
|
|
951
1119
|
|
|
952
1120
|
OPTIONS
|
|
1121
|
+
-j, --json print result in JSON format
|
|
953
1122
|
-o, --organization=organization (required) the slug of your organization
|
|
1123
|
+
-p, --print print out the modified resource
|
|
1124
|
+
-u, --unformatted print JSON output without indentation
|
|
954
1125
|
```
|
|
955
1126
|
|
|
956
1127
|
_See code: [src/commands/order_subscription/cancel.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order_subscription/cancel.ts)_
|
|
957
1128
|
|
|
958
|
-
### `
|
|
1129
|
+
### `commercelayer order_subscription:deactivate ID`
|
|
959
1130
|
|
|
960
1131
|
Send this attribute if you want to mark this subscription as inactive..
|
|
961
1132
|
|
|
962
1133
|
```
|
|
963
1134
|
USAGE
|
|
964
|
-
$
|
|
1135
|
+
$ commercelayer order_subscription:deactivate ID
|
|
965
1136
|
|
|
966
1137
|
ARGUMENTS
|
|
967
|
-
ID the unique
|
|
1138
|
+
ID the unique ID of the resource
|
|
968
1139
|
|
|
969
1140
|
OPTIONS
|
|
1141
|
+
-j, --json print result in JSON format
|
|
970
1142
|
-o, --organization=organization (required) the slug of your organization
|
|
1143
|
+
-p, --print print out the modified resource
|
|
1144
|
+
-u, --unformatted print JSON output without indentation
|
|
971
1145
|
```
|
|
972
1146
|
|
|
973
1147
|
_See code: [src/commands/order_subscription/deactivate.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order_subscription/deactivate.ts)_
|
|
974
1148
|
|
|
975
|
-
### `
|
|
1149
|
+
### `commercelayer return ID`
|
|
976
1150
|
|
|
977
1151
|
Execute an action on a resource of type returns.
|
|
978
1152
|
|
|
979
1153
|
```
|
|
980
1154
|
USAGE
|
|
981
|
-
$
|
|
1155
|
+
$ commercelayer return ID
|
|
982
1156
|
|
|
983
1157
|
ARGUMENTS
|
|
984
|
-
ID the unique
|
|
1158
|
+
ID the unique ID of the resource
|
|
985
1159
|
|
|
986
1160
|
OPTIONS
|
|
1161
|
+
-j, --json print result in JSON format
|
|
987
1162
|
-o, --organization=organization (required) the slug of your organization
|
|
1163
|
+
-p, --print print out the modified resource
|
|
1164
|
+
-u, --unformatted print JSON output without indentation
|
|
988
1165
|
```
|
|
989
1166
|
|
|
990
1167
|
_See code: [src/commands/return/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/index.ts)_
|
|
991
1168
|
|
|
992
|
-
### `
|
|
1169
|
+
### `commercelayer return:approve ID`
|
|
993
1170
|
|
|
994
1171
|
Send this attribute if you want to mark this return as approved..
|
|
995
1172
|
|
|
996
1173
|
```
|
|
997
1174
|
USAGE
|
|
998
|
-
$
|
|
1175
|
+
$ commercelayer return:approve ID
|
|
999
1176
|
|
|
1000
1177
|
ARGUMENTS
|
|
1001
|
-
ID the unique
|
|
1178
|
+
ID the unique ID of the resource
|
|
1002
1179
|
|
|
1003
1180
|
OPTIONS
|
|
1181
|
+
-j, --json print result in JSON format
|
|
1004
1182
|
-o, --organization=organization (required) the slug of your organization
|
|
1183
|
+
-p, --print print out the modified resource
|
|
1184
|
+
-u, --unformatted print JSON output without indentation
|
|
1005
1185
|
```
|
|
1006
1186
|
|
|
1007
1187
|
_See code: [src/commands/return/approve.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/approve.ts)_
|
|
1008
1188
|
|
|
1009
|
-
### `
|
|
1189
|
+
### `commercelayer return:archive ID`
|
|
1010
1190
|
|
|
1011
1191
|
Send this attribute if you want to archive the return..
|
|
1012
1192
|
|
|
1013
1193
|
```
|
|
1014
1194
|
USAGE
|
|
1015
|
-
$
|
|
1195
|
+
$ commercelayer return:archive ID
|
|
1016
1196
|
|
|
1017
1197
|
ARGUMENTS
|
|
1018
|
-
ID the unique
|
|
1198
|
+
ID the unique ID of the resource
|
|
1019
1199
|
|
|
1020
1200
|
OPTIONS
|
|
1201
|
+
-j, --json print result in JSON format
|
|
1021
1202
|
-o, --organization=organization (required) the slug of your organization
|
|
1203
|
+
-p, --print print out the modified resource
|
|
1204
|
+
-u, --unformatted print JSON output without indentation
|
|
1022
1205
|
```
|
|
1023
1206
|
|
|
1024
1207
|
_See code: [src/commands/return/archive.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/archive.ts)_
|
|
1025
1208
|
|
|
1026
|
-
### `
|
|
1209
|
+
### `commercelayer return:cancel ID`
|
|
1027
1210
|
|
|
1028
1211
|
Send this attribute if you want to mark this return as cancelled..
|
|
1029
1212
|
|
|
1030
1213
|
```
|
|
1031
1214
|
USAGE
|
|
1032
|
-
$
|
|
1215
|
+
$ commercelayer return:cancel ID
|
|
1033
1216
|
|
|
1034
1217
|
ARGUMENTS
|
|
1035
|
-
ID the unique
|
|
1218
|
+
ID the unique ID of the resource
|
|
1036
1219
|
|
|
1037
1220
|
OPTIONS
|
|
1221
|
+
-j, --json print result in JSON format
|
|
1038
1222
|
-o, --organization=organization (required) the slug of your organization
|
|
1223
|
+
-p, --print print out the modified resource
|
|
1224
|
+
-u, --unformatted print JSON output without indentation
|
|
1039
1225
|
```
|
|
1040
1226
|
|
|
1041
1227
|
_See code: [src/commands/return/cancel.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/cancel.ts)_
|
|
1042
1228
|
|
|
1043
|
-
### `
|
|
1229
|
+
### `commercelayer return:receive ID`
|
|
1044
1230
|
|
|
1045
1231
|
Send this attribute if you want to mark this return as received..
|
|
1046
1232
|
|
|
1047
1233
|
```
|
|
1048
1234
|
USAGE
|
|
1049
|
-
$
|
|
1235
|
+
$ commercelayer return:receive ID
|
|
1050
1236
|
|
|
1051
1237
|
ARGUMENTS
|
|
1052
|
-
ID the unique
|
|
1238
|
+
ID the unique ID of the resource
|
|
1053
1239
|
|
|
1054
1240
|
OPTIONS
|
|
1241
|
+
-j, --json print result in JSON format
|
|
1055
1242
|
-o, --organization=organization (required) the slug of your organization
|
|
1243
|
+
-p, --print print out the modified resource
|
|
1244
|
+
-u, --unformatted print JSON output without indentation
|
|
1056
1245
|
```
|
|
1057
1246
|
|
|
1058
1247
|
_See code: [src/commands/return/receive.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/receive.ts)_
|
|
1059
1248
|
|
|
1060
|
-
### `
|
|
1249
|
+
### `commercelayer return:reject ID`
|
|
1061
1250
|
|
|
1062
1251
|
Send this attribute if you want to mark this return as rejected..
|
|
1063
1252
|
|
|
1064
1253
|
```
|
|
1065
1254
|
USAGE
|
|
1066
|
-
$
|
|
1255
|
+
$ commercelayer return:reject ID
|
|
1067
1256
|
|
|
1068
1257
|
ARGUMENTS
|
|
1069
|
-
ID the unique
|
|
1258
|
+
ID the unique ID of the resource
|
|
1070
1259
|
|
|
1071
1260
|
OPTIONS
|
|
1261
|
+
-j, --json print result in JSON format
|
|
1072
1262
|
-o, --organization=organization (required) the slug of your organization
|
|
1263
|
+
-p, --print print out the modified resource
|
|
1264
|
+
-u, --unformatted print JSON output without indentation
|
|
1073
1265
|
```
|
|
1074
1266
|
|
|
1075
1267
|
_See code: [src/commands/return/reject.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/reject.ts)_
|
|
1076
1268
|
|
|
1077
|
-
### `
|
|
1269
|
+
### `commercelayer return:request ID`
|
|
1078
1270
|
|
|
1079
1271
|
Send this attribute if you want to activate this return..
|
|
1080
1272
|
|
|
1081
1273
|
```
|
|
1082
1274
|
USAGE
|
|
1083
|
-
$
|
|
1275
|
+
$ commercelayer return:request ID
|
|
1084
1276
|
|
|
1085
1277
|
ARGUMENTS
|
|
1086
|
-
ID the unique
|
|
1278
|
+
ID the unique ID of the resource
|
|
1087
1279
|
|
|
1088
1280
|
OPTIONS
|
|
1281
|
+
-j, --json print result in JSON format
|
|
1089
1282
|
-o, --organization=organization (required) the slug of your organization
|
|
1283
|
+
-p, --print print out the modified resource
|
|
1284
|
+
-u, --unformatted print JSON output without indentation
|
|
1090
1285
|
```
|
|
1091
1286
|
|
|
1092
1287
|
_See code: [src/commands/return/request.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/request.ts)_
|
|
1093
1288
|
|
|
1094
|
-
### `
|
|
1289
|
+
### `commercelayer return:restock ID`
|
|
1095
1290
|
|
|
1096
1291
|
Send this attribute if you want to restock all of the return line items..
|
|
1097
1292
|
|
|
1098
1293
|
```
|
|
1099
1294
|
USAGE
|
|
1100
|
-
$
|
|
1295
|
+
$ commercelayer return:restock ID
|
|
1101
1296
|
|
|
1102
1297
|
ARGUMENTS
|
|
1103
|
-
ID the unique
|
|
1298
|
+
ID the unique ID of the resource
|
|
1104
1299
|
|
|
1105
1300
|
OPTIONS
|
|
1301
|
+
-j, --json print result in JSON format
|
|
1106
1302
|
-o, --organization=organization (required) the slug of your organization
|
|
1303
|
+
-p, --print print out the modified resource
|
|
1304
|
+
-u, --unformatted print JSON output without indentation
|
|
1107
1305
|
```
|
|
1108
1306
|
|
|
1109
1307
|
_See code: [src/commands/return/restock.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/restock.ts)_
|
|
1110
1308
|
|
|
1111
|
-
### `
|
|
1309
|
+
### `commercelayer return:ship ID`
|
|
1112
1310
|
|
|
1113
1311
|
Send this attribute if you want to mark this return as shipped..
|
|
1114
1312
|
|
|
1115
1313
|
```
|
|
1116
1314
|
USAGE
|
|
1117
|
-
$
|
|
1315
|
+
$ commercelayer return:ship ID
|
|
1118
1316
|
|
|
1119
1317
|
ARGUMENTS
|
|
1120
|
-
ID the unique
|
|
1318
|
+
ID the unique ID of the resource
|
|
1121
1319
|
|
|
1122
1320
|
OPTIONS
|
|
1321
|
+
-j, --json print result in JSON format
|
|
1123
1322
|
-o, --organization=organization (required) the slug of your organization
|
|
1323
|
+
-p, --print print out the modified resource
|
|
1324
|
+
-u, --unformatted print JSON output without indentation
|
|
1124
1325
|
```
|
|
1125
1326
|
|
|
1126
1327
|
_See code: [src/commands/return/ship.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/ship.ts)_
|
|
1127
1328
|
|
|
1128
|
-
### `
|
|
1329
|
+
### `commercelayer return:unarchive ID`
|
|
1129
1330
|
|
|
1130
1331
|
Send this attribute if you want to unarchive the return..
|
|
1131
1332
|
|
|
1132
1333
|
```
|
|
1133
1334
|
USAGE
|
|
1134
|
-
$
|
|
1335
|
+
$ commercelayer return:unarchive ID
|
|
1135
1336
|
|
|
1136
1337
|
ARGUMENTS
|
|
1137
|
-
ID the unique
|
|
1338
|
+
ID the unique ID of the resource
|
|
1138
1339
|
|
|
1139
1340
|
OPTIONS
|
|
1341
|
+
-j, --json print result in JSON format
|
|
1140
1342
|
-o, --organization=organization (required) the slug of your organization
|
|
1343
|
+
-p, --print print out the modified resource
|
|
1344
|
+
-u, --unformatted print JSON output without indentation
|
|
1141
1345
|
```
|
|
1142
1346
|
|
|
1143
1347
|
_See code: [src/commands/return/unarchive.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/unarchive.ts)_
|
|
1144
1348
|
|
|
1145
|
-
### `
|
|
1349
|
+
### `commercelayer return_line_item ID`
|
|
1146
1350
|
|
|
1147
1351
|
Execute an action on a resource of type return_line_items.
|
|
1148
1352
|
|
|
1149
1353
|
```
|
|
1150
1354
|
USAGE
|
|
1151
|
-
$
|
|
1355
|
+
$ commercelayer return_line_item ID
|
|
1152
1356
|
|
|
1153
1357
|
ARGUMENTS
|
|
1154
|
-
ID the unique
|
|
1358
|
+
ID the unique ID of the resource
|
|
1155
1359
|
|
|
1156
1360
|
OPTIONS
|
|
1361
|
+
-j, --json print result in JSON format
|
|
1157
1362
|
-o, --organization=organization (required) the slug of your organization
|
|
1363
|
+
-p, --print print out the modified resource
|
|
1364
|
+
-u, --unformatted print JSON output without indentation
|
|
1158
1365
|
```
|
|
1159
1366
|
|
|
1160
1367
|
_See code: [src/commands/return_line_item/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return_line_item/index.ts)_
|
|
1161
1368
|
|
|
1162
|
-
### `
|
|
1369
|
+
### `commercelayer return_line_item:restock ID`
|
|
1163
1370
|
|
|
1164
1371
|
Send this attribute if you want to restock the line item..
|
|
1165
1372
|
|
|
1166
1373
|
```
|
|
1167
1374
|
USAGE
|
|
1168
|
-
$
|
|
1375
|
+
$ commercelayer return_line_item:restock ID
|
|
1169
1376
|
|
|
1170
1377
|
ARGUMENTS
|
|
1171
|
-
ID the unique
|
|
1378
|
+
ID the unique ID of the resource
|
|
1172
1379
|
|
|
1173
1380
|
OPTIONS
|
|
1381
|
+
-j, --json print result in JSON format
|
|
1174
1382
|
-o, --organization=organization (required) the slug of your organization
|
|
1383
|
+
-p, --print print out the modified resource
|
|
1384
|
+
-u, --unformatted print JSON output without indentation
|
|
1175
1385
|
```
|
|
1176
1386
|
|
|
1177
1387
|
_See code: [src/commands/return_line_item/restock.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return_line_item/restock.ts)_
|
|
1178
1388
|
|
|
1179
|
-
### `
|
|
1389
|
+
### `commercelayer shipment ID`
|
|
1180
1390
|
|
|
1181
1391
|
Execute an action on a resource of type shipments.
|
|
1182
1392
|
|
|
1183
1393
|
```
|
|
1184
1394
|
USAGE
|
|
1185
|
-
$
|
|
1395
|
+
$ commercelayer shipment ID
|
|
1186
1396
|
|
|
1187
1397
|
ARGUMENTS
|
|
1188
|
-
ID the unique
|
|
1398
|
+
ID the unique ID of the resource
|
|
1189
1399
|
|
|
1190
1400
|
OPTIONS
|
|
1401
|
+
-j, --json print result in JSON format
|
|
1191
1402
|
-o, --organization=organization (required) the slug of your organization
|
|
1403
|
+
-p, --print print out the modified resource
|
|
1404
|
+
-u, --unformatted print JSON output without indentation
|
|
1192
1405
|
```
|
|
1193
1406
|
|
|
1194
1407
|
_See code: [src/commands/shipment/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipment/index.ts)_
|
|
1195
1408
|
|
|
1196
|
-
### `
|
|
1409
|
+
### `commercelayer shipment:get_rates ID`
|
|
1197
1410
|
|
|
1198
1411
|
Send this attribute if you want get the shipping rates from the associated carrier accounts..
|
|
1199
1412
|
|
|
1200
1413
|
```
|
|
1201
1414
|
USAGE
|
|
1202
|
-
$
|
|
1415
|
+
$ commercelayer shipment:get_rates ID
|
|
1203
1416
|
|
|
1204
1417
|
ARGUMENTS
|
|
1205
|
-
ID the unique
|
|
1418
|
+
ID the unique ID of the resource
|
|
1206
1419
|
|
|
1207
1420
|
OPTIONS
|
|
1421
|
+
-j, --json print result in JSON format
|
|
1208
1422
|
-o, --organization=organization (required) the slug of your organization
|
|
1423
|
+
-p, --print print out the modified resource
|
|
1424
|
+
-u, --unformatted print JSON output without indentation
|
|
1209
1425
|
```
|
|
1210
1426
|
|
|
1211
1427
|
_See code: [src/commands/shipment/get_rates.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipment/get_rates.ts)_
|
|
1212
1428
|
|
|
1213
|
-
### `
|
|
1429
|
+
### `commercelayer shipment:on_hold ID`
|
|
1214
1430
|
|
|
1215
1431
|
Send this attribute if you want to put this shipment on hold..
|
|
1216
1432
|
|
|
1217
1433
|
```
|
|
1218
1434
|
USAGE
|
|
1219
|
-
$
|
|
1435
|
+
$ commercelayer shipment:on_hold ID
|
|
1220
1436
|
|
|
1221
1437
|
ARGUMENTS
|
|
1222
|
-
ID the unique
|
|
1438
|
+
ID the unique ID of the resource
|
|
1223
1439
|
|
|
1224
1440
|
OPTIONS
|
|
1441
|
+
-j, --json print result in JSON format
|
|
1225
1442
|
-o, --organization=organization (required) the slug of your organization
|
|
1443
|
+
-p, --print print out the modified resource
|
|
1444
|
+
-u, --unformatted print JSON output without indentation
|
|
1226
1445
|
```
|
|
1227
1446
|
|
|
1228
1447
|
_See code: [src/commands/shipment/on_hold.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipment/on_hold.ts)_
|
|
1229
1448
|
|
|
1230
|
-
### `
|
|
1449
|
+
### `commercelayer shipment:packing ID`
|
|
1231
1450
|
|
|
1232
1451
|
Send this attribute if you want to start packing this shipment..
|
|
1233
1452
|
|
|
1234
1453
|
```
|
|
1235
1454
|
USAGE
|
|
1236
|
-
$
|
|
1455
|
+
$ commercelayer shipment:packing ID
|
|
1237
1456
|
|
|
1238
1457
|
ARGUMENTS
|
|
1239
|
-
ID the unique
|
|
1458
|
+
ID the unique ID of the resource
|
|
1240
1459
|
|
|
1241
1460
|
OPTIONS
|
|
1461
|
+
-j, --json print result in JSON format
|
|
1242
1462
|
-o, --organization=organization (required) the slug of your organization
|
|
1463
|
+
-p, --print print out the modified resource
|
|
1464
|
+
-u, --unformatted print JSON output without indentation
|
|
1243
1465
|
```
|
|
1244
1466
|
|
|
1245
1467
|
_See code: [src/commands/shipment/packing.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipment/packing.ts)_
|
|
1246
1468
|
|
|
1247
|
-
### `
|
|
1469
|
+
### `commercelayer shipment:picking ID`
|
|
1248
1470
|
|
|
1249
1471
|
Send this attribute if you want to start picking this shipment..
|
|
1250
1472
|
|
|
1251
1473
|
```
|
|
1252
1474
|
USAGE
|
|
1253
|
-
$
|
|
1475
|
+
$ commercelayer shipment:picking ID
|
|
1254
1476
|
|
|
1255
1477
|
ARGUMENTS
|
|
1256
|
-
ID the unique
|
|
1478
|
+
ID the unique ID of the resource
|
|
1257
1479
|
|
|
1258
1480
|
OPTIONS
|
|
1481
|
+
-j, --json print result in JSON format
|
|
1259
1482
|
-o, --organization=organization (required) the slug of your organization
|
|
1483
|
+
-p, --print print out the modified resource
|
|
1484
|
+
-u, --unformatted print JSON output without indentation
|
|
1260
1485
|
```
|
|
1261
1486
|
|
|
1262
1487
|
_See code: [src/commands/shipment/picking.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipment/picking.ts)_
|
|
1263
1488
|
|
|
1264
|
-
### `
|
|
1489
|
+
### `commercelayer shipment:purchase ID`
|
|
1265
1490
|
|
|
1266
1491
|
Send this attribute if you want to purchase this shipment with the selected rate..
|
|
1267
1492
|
|
|
1268
1493
|
```
|
|
1269
1494
|
USAGE
|
|
1270
|
-
$
|
|
1495
|
+
$ commercelayer shipment:purchase ID
|
|
1271
1496
|
|
|
1272
1497
|
ARGUMENTS
|
|
1273
|
-
ID the unique
|
|
1498
|
+
ID the unique ID of the resource
|
|
1274
1499
|
|
|
1275
1500
|
OPTIONS
|
|
1501
|
+
-j, --json print result in JSON format
|
|
1276
1502
|
-o, --organization=organization (required) the slug of your organization
|
|
1503
|
+
-p, --print print out the modified resource
|
|
1504
|
+
-u, --unformatted print JSON output without indentation
|
|
1277
1505
|
```
|
|
1278
1506
|
|
|
1279
1507
|
_See code: [src/commands/shipment/purchase.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipment/purchase.ts)_
|
|
1280
1508
|
|
|
1281
|
-
### `
|
|
1509
|
+
### `commercelayer shipment:ready_to_ship ID`
|
|
1282
1510
|
|
|
1283
1511
|
Send this attribute if you want to mark this shipment as ready to ship..
|
|
1284
1512
|
|
|
1285
1513
|
```
|
|
1286
1514
|
USAGE
|
|
1287
|
-
$
|
|
1515
|
+
$ commercelayer shipment:ready_to_ship ID
|
|
1288
1516
|
|
|
1289
1517
|
ARGUMENTS
|
|
1290
|
-
ID the unique
|
|
1518
|
+
ID the unique ID of the resource
|
|
1291
1519
|
|
|
1292
1520
|
OPTIONS
|
|
1521
|
+
-j, --json print result in JSON format
|
|
1293
1522
|
-o, --organization=organization (required) the slug of your organization
|
|
1523
|
+
-p, --print print out the modified resource
|
|
1524
|
+
-u, --unformatted print JSON output without indentation
|
|
1294
1525
|
```
|
|
1295
1526
|
|
|
1296
1527
|
_See code: [src/commands/shipment/ready_to_ship.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipment/ready_to_ship.ts)_
|
|
1297
1528
|
|
|
1298
|
-
### `
|
|
1529
|
+
### `commercelayer shipment:ship ID`
|
|
1299
1530
|
|
|
1300
1531
|
Send this attribute if you want to mark this shipment as shipped..
|
|
1301
1532
|
|
|
1302
1533
|
```
|
|
1303
1534
|
USAGE
|
|
1304
|
-
$
|
|
1535
|
+
$ commercelayer shipment:ship ID
|
|
1305
1536
|
|
|
1306
1537
|
ARGUMENTS
|
|
1307
|
-
ID the unique
|
|
1538
|
+
ID the unique ID of the resource
|
|
1308
1539
|
|
|
1309
1540
|
OPTIONS
|
|
1541
|
+
-j, --json print result in JSON format
|
|
1310
1542
|
-o, --organization=organization (required) the slug of your organization
|
|
1543
|
+
-p, --print print out the modified resource
|
|
1544
|
+
-u, --unformatted print JSON output without indentation
|
|
1311
1545
|
```
|
|
1312
1546
|
|
|
1313
1547
|
_See code: [src/commands/shipment/ship.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipment/ship.ts)_
|
|
1314
1548
|
|
|
1315
|
-
### `
|
|
1549
|
+
### `commercelayer stock_transfer ID`
|
|
1316
1550
|
|
|
1317
1551
|
Execute an action on a resource of type stock_transfers.
|
|
1318
1552
|
|
|
1319
1553
|
```
|
|
1320
1554
|
USAGE
|
|
1321
|
-
$
|
|
1555
|
+
$ commercelayer stock_transfer ID
|
|
1322
1556
|
|
|
1323
1557
|
ARGUMENTS
|
|
1324
|
-
ID the unique
|
|
1558
|
+
ID the unique ID of the resource
|
|
1325
1559
|
|
|
1326
1560
|
OPTIONS
|
|
1561
|
+
-j, --json print result in JSON format
|
|
1327
1562
|
-o, --organization=organization (required) the slug of your organization
|
|
1563
|
+
-p, --print print out the modified resource
|
|
1564
|
+
-u, --unformatted print JSON output without indentation
|
|
1328
1565
|
```
|
|
1329
1566
|
|
|
1330
1567
|
_See code: [src/commands/stock_transfer/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stock_transfer/index.ts)_
|
|
1331
1568
|
|
|
1332
|
-
### `
|
|
1569
|
+
### `commercelayer stock_transfer:cancel ID`
|
|
1333
1570
|
|
|
1334
1571
|
Send this attribute if you want to cancel this stock transfer..
|
|
1335
1572
|
|
|
1336
1573
|
```
|
|
1337
1574
|
USAGE
|
|
1338
|
-
$
|
|
1575
|
+
$ commercelayer stock_transfer:cancel ID
|
|
1339
1576
|
|
|
1340
1577
|
ARGUMENTS
|
|
1341
|
-
ID the unique
|
|
1578
|
+
ID the unique ID of the resource
|
|
1342
1579
|
|
|
1343
1580
|
OPTIONS
|
|
1581
|
+
-j, --json print result in JSON format
|
|
1344
1582
|
-o, --organization=organization (required) the slug of your organization
|
|
1583
|
+
-p, --print print out the modified resource
|
|
1584
|
+
-u, --unformatted print JSON output without indentation
|
|
1345
1585
|
```
|
|
1346
1586
|
|
|
1347
1587
|
_See code: [src/commands/stock_transfer/cancel.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stock_transfer/cancel.ts)_
|
|
1348
1588
|
|
|
1349
|
-
### `
|
|
1589
|
+
### `commercelayer stock_transfer:complete ID`
|
|
1350
1590
|
|
|
1351
1591
|
Send this attribute if you want to complete this stock transfer..
|
|
1352
1592
|
|
|
1353
1593
|
```
|
|
1354
1594
|
USAGE
|
|
1355
|
-
$
|
|
1595
|
+
$ commercelayer stock_transfer:complete ID
|
|
1356
1596
|
|
|
1357
1597
|
ARGUMENTS
|
|
1358
|
-
ID the unique
|
|
1598
|
+
ID the unique ID of the resource
|
|
1359
1599
|
|
|
1360
1600
|
OPTIONS
|
|
1601
|
+
-j, --json print result in JSON format
|
|
1361
1602
|
-o, --organization=organization (required) the slug of your organization
|
|
1603
|
+
-p, --print print out the modified resource
|
|
1604
|
+
-u, --unformatted print JSON output without indentation
|
|
1362
1605
|
```
|
|
1363
1606
|
|
|
1364
1607
|
_See code: [src/commands/stock_transfer/complete.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stock_transfer/complete.ts)_
|
|
1365
1608
|
|
|
1366
|
-
### `
|
|
1609
|
+
### `commercelayer stock_transfer:in_transit ID`
|
|
1367
1610
|
|
|
1368
1611
|
Send this attribute if you want to mark this stock transfer as in transit..
|
|
1369
1612
|
|
|
1370
1613
|
```
|
|
1371
1614
|
USAGE
|
|
1372
|
-
$
|
|
1615
|
+
$ commercelayer stock_transfer:in_transit ID
|
|
1373
1616
|
|
|
1374
1617
|
ARGUMENTS
|
|
1375
|
-
ID the unique
|
|
1618
|
+
ID the unique ID of the resource
|
|
1376
1619
|
|
|
1377
1620
|
OPTIONS
|
|
1621
|
+
-j, --json print result in JSON format
|
|
1378
1622
|
-o, --organization=organization (required) the slug of your organization
|
|
1623
|
+
-p, --print print out the modified resource
|
|
1624
|
+
-u, --unformatted print JSON output without indentation
|
|
1379
1625
|
```
|
|
1380
1626
|
|
|
1381
1627
|
_See code: [src/commands/stock_transfer/in_transit.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stock_transfer/in_transit.ts)_
|
|
1382
1628
|
|
|
1383
|
-
### `
|
|
1629
|
+
### `commercelayer stock_transfer:picking ID`
|
|
1384
1630
|
|
|
1385
1631
|
Send this attribute if you want to start picking this stock transfer..
|
|
1386
1632
|
|
|
1387
1633
|
```
|
|
1388
1634
|
USAGE
|
|
1389
|
-
$
|
|
1635
|
+
$ commercelayer stock_transfer:picking ID
|
|
1390
1636
|
|
|
1391
1637
|
ARGUMENTS
|
|
1392
|
-
ID the unique
|
|
1638
|
+
ID the unique ID of the resource
|
|
1393
1639
|
|
|
1394
1640
|
OPTIONS
|
|
1641
|
+
-j, --json print result in JSON format
|
|
1395
1642
|
-o, --organization=organization (required) the slug of your organization
|
|
1643
|
+
-p, --print print out the modified resource
|
|
1644
|
+
-u, --unformatted print JSON output without indentation
|
|
1396
1645
|
```
|
|
1397
1646
|
|
|
1398
1647
|
_See code: [src/commands/stock_transfer/picking.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stock_transfer/picking.ts)_
|
|
1399
1648
|
|
|
1400
|
-
### `
|
|
1649
|
+
### `commercelayer stock_transfer:upcoming ID`
|
|
1401
1650
|
|
|
1402
1651
|
Send this attribute if you want to mark this stock transfer as upcoming..
|
|
1403
1652
|
|
|
1404
1653
|
```
|
|
1405
1654
|
USAGE
|
|
1406
|
-
$
|
|
1655
|
+
$ commercelayer stock_transfer:upcoming ID
|
|
1407
1656
|
|
|
1408
1657
|
ARGUMENTS
|
|
1409
|
-
ID the unique
|
|
1658
|
+
ID the unique ID of the resource
|
|
1410
1659
|
|
|
1411
1660
|
OPTIONS
|
|
1661
|
+
-j, --json print result in JSON format
|
|
1412
1662
|
-o, --organization=organization (required) the slug of your organization
|
|
1663
|
+
-p, --print print out the modified resource
|
|
1664
|
+
-u, --unformatted print JSON output without indentation
|
|
1413
1665
|
```
|
|
1414
1666
|
|
|
1415
1667
|
_See code: [src/commands/stock_transfer/upcoming.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stock_transfer/upcoming.ts)_
|
|
1416
1668
|
|
|
1417
|
-
### `
|
|
1669
|
+
### `commercelayer stripe_payment ID`
|
|
1418
1670
|
|
|
1419
1671
|
Execute an action on a resource of type stripe_payments.
|
|
1420
1672
|
|
|
1421
1673
|
```
|
|
1422
1674
|
USAGE
|
|
1423
|
-
$
|
|
1675
|
+
$ commercelayer stripe_payment ID
|
|
1424
1676
|
|
|
1425
1677
|
ARGUMENTS
|
|
1426
|
-
ID the unique
|
|
1678
|
+
ID the unique ID of the resource
|
|
1427
1679
|
|
|
1428
1680
|
OPTIONS
|
|
1681
|
+
-j, --json print result in JSON format
|
|
1429
1682
|
-o, --organization=organization (required) the slug of your organization
|
|
1683
|
+
-p, --print print out the modified resource
|
|
1684
|
+
-u, --unformatted print JSON output without indentation
|
|
1430
1685
|
```
|
|
1431
1686
|
|
|
1432
1687
|
_See code: [src/commands/stripe_payment/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stripe_payment/index.ts)_
|
|
1433
1688
|
|
|
1434
|
-
### `
|
|
1689
|
+
### `commercelayer stripe_payment:refresh ID`
|
|
1435
1690
|
|
|
1436
1691
|
Send this attribute if you want to refresh the payment status, can be used as webhooks fallback logic..
|
|
1437
1692
|
|
|
1438
1693
|
```
|
|
1439
1694
|
USAGE
|
|
1440
|
-
$
|
|
1695
|
+
$ commercelayer stripe_payment:refresh ID
|
|
1441
1696
|
|
|
1442
1697
|
ARGUMENTS
|
|
1443
|
-
ID the unique
|
|
1698
|
+
ID the unique ID of the resource
|
|
1444
1699
|
|
|
1445
1700
|
OPTIONS
|
|
1701
|
+
-j, --json print result in JSON format
|
|
1446
1702
|
-o, --organization=organization (required) the slug of your organization
|
|
1703
|
+
-p, --print print out the modified resource
|
|
1704
|
+
-u, --unformatted print JSON output without indentation
|
|
1447
1705
|
```
|
|
1448
1706
|
|
|
1449
1707
|
_See code: [src/commands/stripe_payment/refresh.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stripe_payment/refresh.ts)_
|
|
1450
1708
|
|
|
1451
|
-
### `
|
|
1709
|
+
### `commercelayer webhook ID`
|
|
1452
1710
|
|
|
1453
1711
|
Execute an action on a resource of type webhooks.
|
|
1454
1712
|
|
|
1455
1713
|
```
|
|
1456
1714
|
USAGE
|
|
1457
|
-
$
|
|
1715
|
+
$ commercelayer webhook ID
|
|
1458
1716
|
|
|
1459
1717
|
ARGUMENTS
|
|
1460
|
-
ID the unique
|
|
1718
|
+
ID the unique ID of the resource
|
|
1461
1719
|
|
|
1462
1720
|
OPTIONS
|
|
1721
|
+
-j, --json print result in JSON format
|
|
1463
1722
|
-o, --organization=organization (required) the slug of your organization
|
|
1723
|
+
-p, --print print out the modified resource
|
|
1724
|
+
-u, --unformatted print JSON output without indentation
|
|
1464
1725
|
```
|
|
1465
1726
|
|
|
1466
1727
|
_See code: [src/commands/webhook/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/webhook/index.ts)_
|
|
1467
1728
|
|
|
1468
|
-
### `
|
|
1729
|
+
### `commercelayer webhook:reset_circuit ID`
|
|
1469
1730
|
|
|
1470
1731
|
Send this attribute if you want to reset the circuit breaker associated to this webhook to 'closed' state and zero failures count..
|
|
1471
1732
|
|
|
1472
1733
|
```
|
|
1473
1734
|
USAGE
|
|
1474
|
-
$
|
|
1735
|
+
$ commercelayer webhook:reset_circuit ID
|
|
1475
1736
|
|
|
1476
1737
|
ARGUMENTS
|
|
1477
|
-
ID the unique
|
|
1738
|
+
ID the unique ID of the resource
|
|
1478
1739
|
|
|
1479
1740
|
OPTIONS
|
|
1741
|
+
-j, --json print result in JSON format
|
|
1480
1742
|
-o, --organization=organization (required) the slug of your organization
|
|
1743
|
+
-p, --print print out the modified resource
|
|
1744
|
+
-u, --unformatted print JSON output without indentation
|
|
1481
1745
|
```
|
|
1482
1746
|
|
|
1483
1747
|
_See code: [src/commands/webhook/reset_circuit.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/webhook/reset_circuit.ts)_
|