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