@commercelayer/cli-plugin-triggers 1.0.0-alpha.1 → 1.0.3
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 +330 -330
- package/lib/base.d.ts +1 -1
- package/lib/base.js +2 -2
- package/lib/commands/adyen_payment/authorize.js +1 -1
- package/lib/commands/adyen_payment/details.js +1 -1
- package/lib/commands/adyen_payment/index.js +1 -1
- package/lib/commands/authorization/capture.js +1 -1
- package/lib/commands/authorization/capture_amount_cents.js +1 -1
- package/lib/commands/authorization/index.js +1 -1
- package/lib/commands/authorization/void.js +1 -1
- package/lib/commands/bundle/compute_compare_at_amount.js +1 -1
- package/lib/commands/bundle/index.js +1 -1
- package/lib/commands/capture/index.js +1 -1
- package/lib/commands/capture/refund.js +1 -1
- package/lib/commands/capture/refund_amount_cents.js +1 -1
- package/lib/commands/checkout_com_payment/authorize.js +1 -1
- package/lib/commands/checkout_com_payment/details.js +1 -1
- package/lib/commands/checkout_com_payment/index.js +1 -1
- package/lib/commands/checkout_com_payment/refresh.js +1 -1
- package/lib/commands/customer_password_reset/index.js +1 -1
- package/lib/commands/customer_password_reset/reset_password_token.js +1 -1
- package/lib/commands/gift_card/activate.js +1 -1
- package/lib/commands/gift_card/balance_change_cents.js +1 -1
- package/lib/commands/gift_card/deactivate.js +1 -1
- package/lib/commands/gift_card/index.js +1 -1
- package/lib/commands/gift_card/purchase.js +1 -1
- package/lib/commands/in_stock_subscription/activate.js +1 -1
- package/lib/commands/in_stock_subscription/deactivate.js +1 -1
- package/lib/commands/in_stock_subscription/index.js +1 -1
- package/lib/commands/order/approve.js +1 -1
- package/lib/commands/order/approve_and_capture.js +1 -1
- package/lib/commands/order/archive.js +1 -1
- package/lib/commands/order/authorization_amount_cents.js +1 -1
- package/lib/commands/order/authorize.js +1 -1
- package/lib/commands/order/billing_address_clone_id.js +1 -1
- package/lib/commands/order/billing_address_same_as_shipping.js +1 -1
- package/lib/commands/order/cancel.js +1 -1
- package/lib/commands/order/capture.js +1 -1
- package/lib/commands/order/customer_payment_source_id.js +1 -1
- package/lib/commands/order/index.js +1 -1
- package/lib/commands/order/place.js +1 -1
- package/lib/commands/order/refresh.js +1 -1
- package/lib/commands/order/refund.js +1 -1
- package/lib/commands/order/save_billing_address_to_customer_address_book.js +1 -1
- package/lib/commands/order/save_payment_source_to_customer_wallet.js +1 -1
- package/lib/commands/order/save_shipping_address_to_customer_address_book.js +1 -1
- package/lib/commands/order/shipping_address_clone_id.js +1 -1
- package/lib/commands/order/shipping_address_same_as_billing.js +1 -1
- package/lib/commands/order/unarchive.js +1 -1
- package/lib/commands/order/update_taxes.js +1 -1
- package/lib/commands/order_subscription/activate.js +1 -1
- package/lib/commands/order_subscription/cancel.js +1 -1
- package/lib/commands/order_subscription/deactivate.js +1 -1
- package/lib/commands/order_subscription/index.js +1 -1
- package/lib/commands/return/approve.js +1 -1
- package/lib/commands/return/archive.js +1 -1
- package/lib/commands/return/cancel.js +1 -1
- package/lib/commands/return/index.js +1 -1
- package/lib/commands/return/receive.js +1 -1
- package/lib/commands/return/reject.js +1 -1
- package/lib/commands/return/request.js +1 -1
- package/lib/commands/return/restock.js +1 -1
- package/lib/commands/return/ship.js +1 -1
- package/lib/commands/return/unarchive.js +1 -1
- package/lib/commands/return_line_item/index.js +1 -1
- package/lib/commands/return_line_item/restock.js +1 -1
- package/lib/commands/shipment/get_rates.js +1 -1
- package/lib/commands/shipment/index.js +1 -1
- package/lib/commands/shipment/on_hold.js +1 -1
- package/lib/commands/shipment/packing.js +1 -1
- package/lib/commands/shipment/picking.js +1 -1
- package/lib/commands/shipment/purchase.js +1 -1
- package/lib/commands/shipment/ready_to_ship.js +1 -1
- package/lib/commands/shipment/ship.js +1 -1
- package/lib/commands/stock_transfer/cancel.js +1 -1
- package/lib/commands/stock_transfer/complete.js +1 -1
- package/lib/commands/stock_transfer/in_transit.js +1 -1
- package/lib/commands/stock_transfer/index.js +1 -1
- package/lib/commands/stock_transfer/picking.js +1 -1
- package/lib/commands/stock_transfer/upcoming.js +1 -1
- package/lib/commands/stripe_payment/index.js +1 -1
- package/lib/commands/stripe_payment/refresh.js +1 -1
- package/lib/commands/webhook/index.js +1 -1
- package/lib/commands/webhook/reset_circuit.js +1 -1
- package/lib/exec.d.ts +1 -1
- package/lib/exec.js +4 -4
- package/oclif.manifest.json +1 -1
- package/package.json +13 -16
package/README.md
CHANGED
|
@@ -16,107 +16,107 @@ Commerce Layer CLI Triggers plugin
|
|
|
16
16
|
<!-- usage -->
|
|
17
17
|
```sh-session
|
|
18
18
|
$ npm install -g @commercelayer/cli-plugin-triggers
|
|
19
|
-
$
|
|
19
|
+
$ commercelayer COMMAND
|
|
20
20
|
running command...
|
|
21
|
-
$
|
|
22
|
-
@commercelayer/cli-plugin-triggers/1.0.
|
|
23
|
-
$
|
|
21
|
+
$ commercelayer (-v|--version|version)
|
|
22
|
+
@commercelayer/cli-plugin-triggers/1.0.3 darwin-x64 node-v15.14.0
|
|
23
|
+
$ commercelayer --help [COMMAND]
|
|
24
24
|
USAGE
|
|
25
|
-
$
|
|
25
|
+
$ commercelayer COMMAND
|
|
26
26
|
...
|
|
27
27
|
```
|
|
28
28
|
<!-- usagestop -->
|
|
29
29
|
# Commands
|
|
30
30
|
<!-- commands -->
|
|
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
|
-
* [`
|
|
106
|
-
* [`
|
|
107
|
-
* [`
|
|
108
|
-
* [`
|
|
109
|
-
* [`
|
|
110
|
-
* [`
|
|
111
|
-
* [`
|
|
112
|
-
|
|
113
|
-
## `
|
|
31
|
+
* [`commercelayer adyen_payment ID`](#commercelayer-adyen_payment-id)
|
|
32
|
+
* [`commercelayer adyen_payment:authorize ID`](#commercelayer-adyen_paymentauthorize-id)
|
|
33
|
+
* [`commercelayer adyen_payment:details ID`](#commercelayer-adyen_paymentdetails-id)
|
|
34
|
+
* [`commercelayer authorization ID`](#commercelayer-authorization-id)
|
|
35
|
+
* [`commercelayer authorization:capture ID`](#commercelayer-authorizationcapture-id)
|
|
36
|
+
* [`commercelayer authorization:capture_amount_cents ID`](#commercelayer-authorizationcapture_amount_cents-id)
|
|
37
|
+
* [`commercelayer authorization:void ID`](#commercelayer-authorizationvoid-id)
|
|
38
|
+
* [`commercelayer bundle ID`](#commercelayer-bundle-id)
|
|
39
|
+
* [`commercelayer bundle:compute_compare_at_amount ID`](#commercelayer-bundlecompute_compare_at_amount-id)
|
|
40
|
+
* [`commercelayer capture ID`](#commercelayer-capture-id)
|
|
41
|
+
* [`commercelayer capture:refund ID`](#commercelayer-capturerefund-id)
|
|
42
|
+
* [`commercelayer capture:refund_amount_cents ID`](#commercelayer-capturerefund_amount_cents-id)
|
|
43
|
+
* [`commercelayer checkout_com_payment ID`](#commercelayer-checkout_com_payment-id)
|
|
44
|
+
* [`commercelayer checkout_com_payment:authorize ID`](#commercelayer-checkout_com_paymentauthorize-id)
|
|
45
|
+
* [`commercelayer checkout_com_payment:details ID`](#commercelayer-checkout_com_paymentdetails-id)
|
|
46
|
+
* [`commercelayer checkout_com_payment:refresh ID`](#commercelayer-checkout_com_paymentrefresh-id)
|
|
47
|
+
* [`commercelayer customer_password_reset ID`](#commercelayer-customer_password_reset-id)
|
|
48
|
+
* [`commercelayer customer_password_reset:reset_password_token ID`](#commercelayer-customer_password_resetreset_password_token-id)
|
|
49
|
+
* [`commercelayer gift_card ID`](#commercelayer-gift_card-id)
|
|
50
|
+
* [`commercelayer gift_card:activate ID`](#commercelayer-gift_cardactivate-id)
|
|
51
|
+
* [`commercelayer gift_card:balance_change_cents ID`](#commercelayer-gift_cardbalance_change_cents-id)
|
|
52
|
+
* [`commercelayer gift_card:deactivate ID`](#commercelayer-gift_carddeactivate-id)
|
|
53
|
+
* [`commercelayer gift_card:purchase ID`](#commercelayer-gift_cardpurchase-id)
|
|
54
|
+
* [`commercelayer in_stock_subscription ID`](#commercelayer-in_stock_subscription-id)
|
|
55
|
+
* [`commercelayer in_stock_subscription:activate ID`](#commercelayer-in_stock_subscriptionactivate-id)
|
|
56
|
+
* [`commercelayer in_stock_subscription:deactivate ID`](#commercelayer-in_stock_subscriptiondeactivate-id)
|
|
57
|
+
* [`commercelayer order ID`](#commercelayer-order-id)
|
|
58
|
+
* [`commercelayer order:approve ID`](#commercelayer-orderapprove-id)
|
|
59
|
+
* [`commercelayer order:approve_and_capture ID`](#commercelayer-orderapprove_and_capture-id)
|
|
60
|
+
* [`commercelayer order:archive ID`](#commercelayer-orderarchive-id)
|
|
61
|
+
* [`commercelayer order:authorization_amount_cents ID`](#commercelayer-orderauthorization_amount_cents-id)
|
|
62
|
+
* [`commercelayer order:authorize ID`](#commercelayer-orderauthorize-id)
|
|
63
|
+
* [`commercelayer order:billing_address_clone_id ID`](#commercelayer-orderbilling_address_clone_id-id)
|
|
64
|
+
* [`commercelayer order:billing_address_same_as_shipping ID`](#commercelayer-orderbilling_address_same_as_shipping-id)
|
|
65
|
+
* [`commercelayer order:cancel ID`](#commercelayer-ordercancel-id)
|
|
66
|
+
* [`commercelayer order:capture ID`](#commercelayer-ordercapture-id)
|
|
67
|
+
* [`commercelayer order:customer_payment_source_id ID`](#commercelayer-ordercustomer_payment_source_id-id)
|
|
68
|
+
* [`commercelayer order:place ID`](#commercelayer-orderplace-id)
|
|
69
|
+
* [`commercelayer order:refresh ID`](#commercelayer-orderrefresh-id)
|
|
70
|
+
* [`commercelayer order:refund ID`](#commercelayer-orderrefund-id)
|
|
71
|
+
* [`commercelayer order:save_billing_address_to_customer_address_book ID`](#commercelayer-ordersave_billing_address_to_customer_address_book-id)
|
|
72
|
+
* [`commercelayer order:save_payment_source_to_customer_wallet ID`](#commercelayer-ordersave_payment_source_to_customer_wallet-id)
|
|
73
|
+
* [`commercelayer order:save_shipping_address_to_customer_address_book ID`](#commercelayer-ordersave_shipping_address_to_customer_address_book-id)
|
|
74
|
+
* [`commercelayer order:shipping_address_clone_id ID`](#commercelayer-ordershipping_address_clone_id-id)
|
|
75
|
+
* [`commercelayer order:shipping_address_same_as_billing ID`](#commercelayer-ordershipping_address_same_as_billing-id)
|
|
76
|
+
* [`commercelayer order:unarchive ID`](#commercelayer-orderunarchive-id)
|
|
77
|
+
* [`commercelayer order:update_taxes ID`](#commercelayer-orderupdate_taxes-id)
|
|
78
|
+
* [`commercelayer order_subscription ID`](#commercelayer-order_subscription-id)
|
|
79
|
+
* [`commercelayer order_subscription:activate ID`](#commercelayer-order_subscriptionactivate-id)
|
|
80
|
+
* [`commercelayer order_subscription:cancel ID`](#commercelayer-order_subscriptioncancel-id)
|
|
81
|
+
* [`commercelayer order_subscription:deactivate ID`](#commercelayer-order_subscriptiondeactivate-id)
|
|
82
|
+
* [`commercelayer return ID`](#commercelayer-return-id)
|
|
83
|
+
* [`commercelayer return:approve ID`](#commercelayer-returnapprove-id)
|
|
84
|
+
* [`commercelayer return:archive ID`](#commercelayer-returnarchive-id)
|
|
85
|
+
* [`commercelayer return:cancel ID`](#commercelayer-returncancel-id)
|
|
86
|
+
* [`commercelayer return:receive ID`](#commercelayer-returnreceive-id)
|
|
87
|
+
* [`commercelayer return:reject ID`](#commercelayer-returnreject-id)
|
|
88
|
+
* [`commercelayer return:request ID`](#commercelayer-returnrequest-id)
|
|
89
|
+
* [`commercelayer return:restock ID`](#commercelayer-returnrestock-id)
|
|
90
|
+
* [`commercelayer return:ship ID`](#commercelayer-returnship-id)
|
|
91
|
+
* [`commercelayer return:unarchive ID`](#commercelayer-returnunarchive-id)
|
|
92
|
+
* [`commercelayer return_line_item ID`](#commercelayer-return_line_item-id)
|
|
93
|
+
* [`commercelayer return_line_item:restock ID`](#commercelayer-return_line_itemrestock-id)
|
|
94
|
+
* [`commercelayer shipment ID`](#commercelayer-shipment-id)
|
|
95
|
+
* [`commercelayer shipment:get_rates ID`](#commercelayer-shipmentget_rates-id)
|
|
96
|
+
* [`commercelayer shipment:on_hold ID`](#commercelayer-shipmenton_hold-id)
|
|
97
|
+
* [`commercelayer shipment:packing ID`](#commercelayer-shipmentpacking-id)
|
|
98
|
+
* [`commercelayer shipment:picking ID`](#commercelayer-shipmentpicking-id)
|
|
99
|
+
* [`commercelayer shipment:purchase ID`](#commercelayer-shipmentpurchase-id)
|
|
100
|
+
* [`commercelayer shipment:ready_to_ship ID`](#commercelayer-shipmentready_to_ship-id)
|
|
101
|
+
* [`commercelayer shipment:ship ID`](#commercelayer-shipmentship-id)
|
|
102
|
+
* [`commercelayer stock_transfer ID`](#commercelayer-stock_transfer-id)
|
|
103
|
+
* [`commercelayer stock_transfer:cancel ID`](#commercelayer-stock_transfercancel-id)
|
|
104
|
+
* [`commercelayer stock_transfer:complete ID`](#commercelayer-stock_transfercomplete-id)
|
|
105
|
+
* [`commercelayer stock_transfer:in_transit ID`](#commercelayer-stock_transferin_transit-id)
|
|
106
|
+
* [`commercelayer stock_transfer:picking ID`](#commercelayer-stock_transferpicking-id)
|
|
107
|
+
* [`commercelayer stock_transfer:upcoming ID`](#commercelayer-stock_transferupcoming-id)
|
|
108
|
+
* [`commercelayer stripe_payment ID`](#commercelayer-stripe_payment-id)
|
|
109
|
+
* [`commercelayer stripe_payment:refresh ID`](#commercelayer-stripe_paymentrefresh-id)
|
|
110
|
+
* [`commercelayer webhook ID`](#commercelayer-webhook-id)
|
|
111
|
+
* [`commercelayer webhook:reset_circuit ID`](#commercelayer-webhookreset_circuit-id)
|
|
112
|
+
|
|
113
|
+
## `commercelayer adyen_payment ID`
|
|
114
114
|
|
|
115
115
|
execute an action on a resource of type adyen_payments
|
|
116
116
|
|
|
117
117
|
```
|
|
118
118
|
USAGE
|
|
119
|
-
$
|
|
119
|
+
$ commercelayer adyen_payment ID
|
|
120
120
|
|
|
121
121
|
ARGUMENTS
|
|
122
122
|
ID the unique id of the order
|
|
@@ -125,15 +125,15 @@ OPTIONS
|
|
|
125
125
|
-o, --organization=organization (required) the slug of your organization
|
|
126
126
|
```
|
|
127
127
|
|
|
128
|
-
_See code: [src/commands/adyen_payment/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
128
|
+
_See code: [src/commands/adyen_payment/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/adyen_payment/index.ts)_
|
|
129
129
|
|
|
130
|
-
## `
|
|
130
|
+
## `commercelayer adyen_payment:authorize ID`
|
|
131
131
|
|
|
132
132
|
Send this attribute if you want to authorize the payment.
|
|
133
133
|
|
|
134
134
|
```
|
|
135
135
|
USAGE
|
|
136
|
-
$
|
|
136
|
+
$ commercelayer adyen_payment:authorize ID
|
|
137
137
|
|
|
138
138
|
ARGUMENTS
|
|
139
139
|
ID the unique id of the order
|
|
@@ -142,15 +142,15 @@ OPTIONS
|
|
|
142
142
|
-o, --organization=organization (required) the slug of your organization
|
|
143
143
|
```
|
|
144
144
|
|
|
145
|
-
_See code: [src/commands/adyen_payment/authorize.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
145
|
+
_See code: [src/commands/adyen_payment/authorize.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/adyen_payment/authorize.ts)_
|
|
146
146
|
|
|
147
|
-
## `
|
|
147
|
+
## `commercelayer adyen_payment:details ID`
|
|
148
148
|
|
|
149
149
|
Send this attribute if you want to send additional details the payment request.
|
|
150
150
|
|
|
151
151
|
```
|
|
152
152
|
USAGE
|
|
153
|
-
$
|
|
153
|
+
$ commercelayer adyen_payment:details ID
|
|
154
154
|
|
|
155
155
|
ARGUMENTS
|
|
156
156
|
ID the unique id of the order
|
|
@@ -159,15 +159,15 @@ OPTIONS
|
|
|
159
159
|
-o, --organization=organization (required) the slug of your organization
|
|
160
160
|
```
|
|
161
161
|
|
|
162
|
-
_See code: [src/commands/adyen_payment/details.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
162
|
+
_See code: [src/commands/adyen_payment/details.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/adyen_payment/details.ts)_
|
|
163
163
|
|
|
164
|
-
## `
|
|
164
|
+
## `commercelayer authorization ID`
|
|
165
165
|
|
|
166
166
|
execute an action on a resource of type authorizations
|
|
167
167
|
|
|
168
168
|
```
|
|
169
169
|
USAGE
|
|
170
|
-
$
|
|
170
|
+
$ commercelayer authorization ID
|
|
171
171
|
|
|
172
172
|
ARGUMENTS
|
|
173
173
|
ID the unique id of the order
|
|
@@ -176,15 +176,15 @@ OPTIONS
|
|
|
176
176
|
-o, --organization=organization (required) the slug of your organization
|
|
177
177
|
```
|
|
178
178
|
|
|
179
|
-
_See code: [src/commands/authorization/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
179
|
+
_See code: [src/commands/authorization/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/authorization/index.ts)_
|
|
180
180
|
|
|
181
|
-
## `
|
|
181
|
+
## `commercelayer authorization:capture ID`
|
|
182
182
|
|
|
183
183
|
Send this attribute if you want to create a capture for this authorization.
|
|
184
184
|
|
|
185
185
|
```
|
|
186
186
|
USAGE
|
|
187
|
-
$
|
|
187
|
+
$ commercelayer authorization:capture ID
|
|
188
188
|
|
|
189
189
|
ARGUMENTS
|
|
190
190
|
ID the unique id of the order
|
|
@@ -193,15 +193,15 @@ OPTIONS
|
|
|
193
193
|
-o, --organization=organization (required) the slug of your organization
|
|
194
194
|
```
|
|
195
195
|
|
|
196
|
-
_See code: [src/commands/authorization/capture.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
196
|
+
_See code: [src/commands/authorization/capture.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/authorization/capture.ts)_
|
|
197
197
|
|
|
198
|
-
## `
|
|
198
|
+
## `commercelayer authorization:capture_amount_cents ID`
|
|
199
199
|
|
|
200
200
|
The associated capture amount, in cents.
|
|
201
201
|
|
|
202
202
|
```
|
|
203
203
|
USAGE
|
|
204
|
-
$
|
|
204
|
+
$ commercelayer authorization:capture_amount_cents ID
|
|
205
205
|
|
|
206
206
|
ARGUMENTS
|
|
207
207
|
ID the unique id of the order
|
|
@@ -210,15 +210,15 @@ OPTIONS
|
|
|
210
210
|
-o, --organization=organization (required) the slug of your organization
|
|
211
211
|
```
|
|
212
212
|
|
|
213
|
-
_See code: [src/commands/authorization/capture_amount_cents.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
213
|
+
_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)_
|
|
214
214
|
|
|
215
|
-
## `
|
|
215
|
+
## `commercelayer authorization:void ID`
|
|
216
216
|
|
|
217
217
|
Send this attribute if you want to create a void for this authorization.
|
|
218
218
|
|
|
219
219
|
```
|
|
220
220
|
USAGE
|
|
221
|
-
$
|
|
221
|
+
$ commercelayer authorization:void ID
|
|
222
222
|
|
|
223
223
|
ARGUMENTS
|
|
224
224
|
ID the unique id of the order
|
|
@@ -227,15 +227,15 @@ OPTIONS
|
|
|
227
227
|
-o, --organization=organization (required) the slug of your organization
|
|
228
228
|
```
|
|
229
229
|
|
|
230
|
-
_See code: [src/commands/authorization/void.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
230
|
+
_See code: [src/commands/authorization/void.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/authorization/void.ts)_
|
|
231
231
|
|
|
232
|
-
## `
|
|
232
|
+
## `commercelayer bundle ID`
|
|
233
233
|
|
|
234
234
|
execute an action on a resource of type bundles
|
|
235
235
|
|
|
236
236
|
```
|
|
237
237
|
USAGE
|
|
238
|
-
$
|
|
238
|
+
$ commercelayer bundle ID
|
|
239
239
|
|
|
240
240
|
ARGUMENTS
|
|
241
241
|
ID the unique id of the order
|
|
@@ -244,15 +244,15 @@ OPTIONS
|
|
|
244
244
|
-o, --organization=organization (required) the slug of your organization
|
|
245
245
|
```
|
|
246
246
|
|
|
247
|
-
_See code: [src/commands/bundle/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
247
|
+
_See code: [src/commands/bundle/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/bundle/index.ts)_
|
|
248
248
|
|
|
249
|
-
## `
|
|
249
|
+
## `commercelayer bundle:compute_compare_at_amount ID`
|
|
250
250
|
|
|
251
251
|
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.
|
|
252
252
|
|
|
253
253
|
```
|
|
254
254
|
USAGE
|
|
255
|
-
$
|
|
255
|
+
$ commercelayer bundle:compute_compare_at_amount ID
|
|
256
256
|
|
|
257
257
|
ARGUMENTS
|
|
258
258
|
ID the unique id of the order
|
|
@@ -261,15 +261,15 @@ OPTIONS
|
|
|
261
261
|
-o, --organization=organization (required) the slug of your organization
|
|
262
262
|
```
|
|
263
263
|
|
|
264
|
-
_See code: [src/commands/bundle/compute_compare_at_amount.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
264
|
+
_See code: [src/commands/bundle/compute_compare_at_amount.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/bundle/compute_compare_at_amount.ts)_
|
|
265
265
|
|
|
266
|
-
## `
|
|
266
|
+
## `commercelayer capture ID`
|
|
267
267
|
|
|
268
268
|
execute an action on a resource of type captures
|
|
269
269
|
|
|
270
270
|
```
|
|
271
271
|
USAGE
|
|
272
|
-
$
|
|
272
|
+
$ commercelayer capture ID
|
|
273
273
|
|
|
274
274
|
ARGUMENTS
|
|
275
275
|
ID the unique id of the order
|
|
@@ -278,15 +278,15 @@ OPTIONS
|
|
|
278
278
|
-o, --organization=organization (required) the slug of your organization
|
|
279
279
|
```
|
|
280
280
|
|
|
281
|
-
_See code: [src/commands/capture/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
281
|
+
_See code: [src/commands/capture/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/capture/index.ts)_
|
|
282
282
|
|
|
283
|
-
## `
|
|
283
|
+
## `commercelayer capture:refund ID`
|
|
284
284
|
|
|
285
285
|
Send this attribute if you want to create a refund for this capture.
|
|
286
286
|
|
|
287
287
|
```
|
|
288
288
|
USAGE
|
|
289
|
-
$
|
|
289
|
+
$ commercelayer capture:refund ID
|
|
290
290
|
|
|
291
291
|
ARGUMENTS
|
|
292
292
|
ID the unique id of the order
|
|
@@ -295,15 +295,15 @@ OPTIONS
|
|
|
295
295
|
-o, --organization=organization (required) the slug of your organization
|
|
296
296
|
```
|
|
297
297
|
|
|
298
|
-
_See code: [src/commands/capture/refund.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
298
|
+
_See code: [src/commands/capture/refund.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/capture/refund.ts)_
|
|
299
299
|
|
|
300
|
-
## `
|
|
300
|
+
## `commercelayer capture:refund_amount_cents ID`
|
|
301
301
|
|
|
302
302
|
The associated refund amount, in cents.
|
|
303
303
|
|
|
304
304
|
```
|
|
305
305
|
USAGE
|
|
306
|
-
$
|
|
306
|
+
$ commercelayer capture:refund_amount_cents ID
|
|
307
307
|
|
|
308
308
|
ARGUMENTS
|
|
309
309
|
ID the unique id of the order
|
|
@@ -312,15 +312,15 @@ OPTIONS
|
|
|
312
312
|
-o, --organization=organization (required) the slug of your organization
|
|
313
313
|
```
|
|
314
314
|
|
|
315
|
-
_See code: [src/commands/capture/refund_amount_cents.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
315
|
+
_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)_
|
|
316
316
|
|
|
317
|
-
## `
|
|
317
|
+
## `commercelayer checkout_com_payment ID`
|
|
318
318
|
|
|
319
319
|
execute an action on a resource of type checkout_com_payments
|
|
320
320
|
|
|
321
321
|
```
|
|
322
322
|
USAGE
|
|
323
|
-
$
|
|
323
|
+
$ commercelayer checkout_com_payment ID
|
|
324
324
|
|
|
325
325
|
ARGUMENTS
|
|
326
326
|
ID the unique id of the order
|
|
@@ -329,15 +329,15 @@ OPTIONS
|
|
|
329
329
|
-o, --organization=organization (required) the slug of your organization
|
|
330
330
|
```
|
|
331
331
|
|
|
332
|
-
_See code: [src/commands/checkout_com_payment/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
332
|
+
_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)_
|
|
333
333
|
|
|
334
|
-
## `
|
|
334
|
+
## `commercelayer checkout_com_payment:authorize ID`
|
|
335
335
|
|
|
336
336
|
Send this attribute if you want to authorize the payment.
|
|
337
337
|
|
|
338
338
|
```
|
|
339
339
|
USAGE
|
|
340
|
-
$
|
|
340
|
+
$ commercelayer checkout_com_payment:authorize ID
|
|
341
341
|
|
|
342
342
|
ARGUMENTS
|
|
343
343
|
ID the unique id of the order
|
|
@@ -346,15 +346,15 @@ OPTIONS
|
|
|
346
346
|
-o, --organization=organization (required) the slug of your organization
|
|
347
347
|
```
|
|
348
348
|
|
|
349
|
-
_See code: [src/commands/checkout_com_payment/authorize.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
349
|
+
_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)_
|
|
350
350
|
|
|
351
|
-
## `
|
|
351
|
+
## `commercelayer checkout_com_payment:details ID`
|
|
352
352
|
|
|
353
353
|
Send this attribute if you want to send additional details the payment request (i.e. upon 3DS check).
|
|
354
354
|
|
|
355
355
|
```
|
|
356
356
|
USAGE
|
|
357
|
-
$
|
|
357
|
+
$ commercelayer checkout_com_payment:details ID
|
|
358
358
|
|
|
359
359
|
ARGUMENTS
|
|
360
360
|
ID the unique id of the order
|
|
@@ -363,15 +363,15 @@ OPTIONS
|
|
|
363
363
|
-o, --organization=organization (required) the slug of your organization
|
|
364
364
|
```
|
|
365
365
|
|
|
366
|
-
_See code: [src/commands/checkout_com_payment/details.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
366
|
+
_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)_
|
|
367
367
|
|
|
368
|
-
## `
|
|
368
|
+
## `commercelayer checkout_com_payment:refresh ID`
|
|
369
369
|
|
|
370
370
|
Send this attribute if you want to refresh all the pending transactions, can be used as webhooks fallback logic.
|
|
371
371
|
|
|
372
372
|
```
|
|
373
373
|
USAGE
|
|
374
|
-
$
|
|
374
|
+
$ commercelayer checkout_com_payment:refresh ID
|
|
375
375
|
|
|
376
376
|
ARGUMENTS
|
|
377
377
|
ID the unique id of the order
|
|
@@ -380,15 +380,15 @@ OPTIONS
|
|
|
380
380
|
-o, --organization=organization (required) the slug of your organization
|
|
381
381
|
```
|
|
382
382
|
|
|
383
|
-
_See code: [src/commands/checkout_com_payment/refresh.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
383
|
+
_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)_
|
|
384
384
|
|
|
385
|
-
## `
|
|
385
|
+
## `commercelayer customer_password_reset ID`
|
|
386
386
|
|
|
387
387
|
execute an action on a resource of type customer_password_resets
|
|
388
388
|
|
|
389
389
|
```
|
|
390
390
|
USAGE
|
|
391
|
-
$
|
|
391
|
+
$ commercelayer customer_password_reset ID
|
|
392
392
|
|
|
393
393
|
ARGUMENTS
|
|
394
394
|
ID the unique id of the order
|
|
@@ -397,15 +397,15 @@ OPTIONS
|
|
|
397
397
|
-o, --organization=organization (required) the slug of your organization
|
|
398
398
|
```
|
|
399
399
|
|
|
400
|
-
_See code: [src/commands/customer_password_reset/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
400
|
+
_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)_
|
|
401
401
|
|
|
402
|
-
## `
|
|
402
|
+
## `commercelayer customer_password_reset:reset_password_token ID`
|
|
403
403
|
|
|
404
404
|
Send the 'reset_password_token' that you got on create when updating the customer password.
|
|
405
405
|
|
|
406
406
|
```
|
|
407
407
|
USAGE
|
|
408
|
-
$
|
|
408
|
+
$ commercelayer customer_password_reset:reset_password_token ID
|
|
409
409
|
|
|
410
410
|
ARGUMENTS
|
|
411
411
|
ID the unique id of the order
|
|
@@ -414,15 +414,15 @@ OPTIONS
|
|
|
414
414
|
-o, --organization=organization (required) the slug of your organization
|
|
415
415
|
```
|
|
416
416
|
|
|
417
|
-
_See code: [src/commands/customer_password_reset/reset_password_token.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
417
|
+
_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)_
|
|
418
418
|
|
|
419
|
-
## `
|
|
419
|
+
## `commercelayer gift_card ID`
|
|
420
420
|
|
|
421
421
|
execute an action on a resource of type gift_cards
|
|
422
422
|
|
|
423
423
|
```
|
|
424
424
|
USAGE
|
|
425
|
-
$
|
|
425
|
+
$ commercelayer gift_card ID
|
|
426
426
|
|
|
427
427
|
ARGUMENTS
|
|
428
428
|
ID the unique id of the order
|
|
@@ -431,15 +431,15 @@ OPTIONS
|
|
|
431
431
|
-o, --organization=organization (required) the slug of your organization
|
|
432
432
|
```
|
|
433
433
|
|
|
434
|
-
_See code: [src/commands/gift_card/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
434
|
+
_See code: [src/commands/gift_card/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/gift_card/index.ts)_
|
|
435
435
|
|
|
436
|
-
## `
|
|
436
|
+
## `commercelayer gift_card:activate ID`
|
|
437
437
|
|
|
438
438
|
Send this attribute if you want to activate a gift card.
|
|
439
439
|
|
|
440
440
|
```
|
|
441
441
|
USAGE
|
|
442
|
-
$
|
|
442
|
+
$ commercelayer gift_card:activate ID
|
|
443
443
|
|
|
444
444
|
ARGUMENTS
|
|
445
445
|
ID the unique id of the order
|
|
@@ -448,15 +448,15 @@ OPTIONS
|
|
|
448
448
|
-o, --organization=organization (required) the slug of your organization
|
|
449
449
|
```
|
|
450
450
|
|
|
451
|
-
_See code: [src/commands/gift_card/activate.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
451
|
+
_See code: [src/commands/gift_card/activate.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/gift_card/activate.ts)_
|
|
452
452
|
|
|
453
|
-
## `
|
|
453
|
+
## `commercelayer gift_card:balance_change_cents ID`
|
|
454
454
|
|
|
455
455
|
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).
|
|
456
456
|
|
|
457
457
|
```
|
|
458
458
|
USAGE
|
|
459
|
-
$
|
|
459
|
+
$ commercelayer gift_card:balance_change_cents ID
|
|
460
460
|
|
|
461
461
|
ARGUMENTS
|
|
462
462
|
ID the unique id of the order
|
|
@@ -465,15 +465,15 @@ OPTIONS
|
|
|
465
465
|
-o, --organization=organization (required) the slug of your organization
|
|
466
466
|
```
|
|
467
467
|
|
|
468
|
-
_See code: [src/commands/gift_card/balance_change_cents.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
468
|
+
_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)_
|
|
469
469
|
|
|
470
|
-
## `
|
|
470
|
+
## `commercelayer gift_card:deactivate ID`
|
|
471
471
|
|
|
472
472
|
Send this attribute if you want to deactivate a gift card.
|
|
473
473
|
|
|
474
474
|
```
|
|
475
475
|
USAGE
|
|
476
|
-
$
|
|
476
|
+
$ commercelayer gift_card:deactivate ID
|
|
477
477
|
|
|
478
478
|
ARGUMENTS
|
|
479
479
|
ID the unique id of the order
|
|
@@ -482,15 +482,15 @@ OPTIONS
|
|
|
482
482
|
-o, --organization=organization (required) the slug of your organization
|
|
483
483
|
```
|
|
484
484
|
|
|
485
|
-
_See code: [src/commands/gift_card/deactivate.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
485
|
+
_See code: [src/commands/gift_card/deactivate.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/gift_card/deactivate.ts)_
|
|
486
486
|
|
|
487
|
-
## `
|
|
487
|
+
## `commercelayer gift_card:purchase ID`
|
|
488
488
|
|
|
489
489
|
Send this attribute if you want to confirm a draft gift card. The gift card becomes 'inactive', waiting to be activated.
|
|
490
490
|
|
|
491
491
|
```
|
|
492
492
|
USAGE
|
|
493
|
-
$
|
|
493
|
+
$ commercelayer gift_card:purchase ID
|
|
494
494
|
|
|
495
495
|
ARGUMENTS
|
|
496
496
|
ID the unique id of the order
|
|
@@ -499,15 +499,15 @@ OPTIONS
|
|
|
499
499
|
-o, --organization=organization (required) the slug of your organization
|
|
500
500
|
```
|
|
501
501
|
|
|
502
|
-
_See code: [src/commands/gift_card/purchase.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
502
|
+
_See code: [src/commands/gift_card/purchase.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/gift_card/purchase.ts)_
|
|
503
503
|
|
|
504
|
-
## `
|
|
504
|
+
## `commercelayer in_stock_subscription ID`
|
|
505
505
|
|
|
506
506
|
execute an action on a resource of type in_stock_subscriptions
|
|
507
507
|
|
|
508
508
|
```
|
|
509
509
|
USAGE
|
|
510
|
-
$
|
|
510
|
+
$ commercelayer in_stock_subscription ID
|
|
511
511
|
|
|
512
512
|
ARGUMENTS
|
|
513
513
|
ID the unique id of the order
|
|
@@ -516,15 +516,15 @@ OPTIONS
|
|
|
516
516
|
-o, --organization=organization (required) the slug of your organization
|
|
517
517
|
```
|
|
518
518
|
|
|
519
|
-
_See code: [src/commands/in_stock_subscription/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
519
|
+
_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)_
|
|
520
520
|
|
|
521
|
-
## `
|
|
521
|
+
## `commercelayer in_stock_subscription:activate ID`
|
|
522
522
|
|
|
523
523
|
Send this attribute if you want to activate an inactive subscription.
|
|
524
524
|
|
|
525
525
|
```
|
|
526
526
|
USAGE
|
|
527
|
-
$
|
|
527
|
+
$ commercelayer in_stock_subscription:activate ID
|
|
528
528
|
|
|
529
529
|
ARGUMENTS
|
|
530
530
|
ID the unique id of the order
|
|
@@ -533,15 +533,15 @@ OPTIONS
|
|
|
533
533
|
-o, --organization=organization (required) the slug of your organization
|
|
534
534
|
```
|
|
535
535
|
|
|
536
|
-
_See code: [src/commands/in_stock_subscription/activate.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
536
|
+
_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)_
|
|
537
537
|
|
|
538
|
-
## `
|
|
538
|
+
## `commercelayer in_stock_subscription:deactivate ID`
|
|
539
539
|
|
|
540
540
|
Send this attribute if you want to dactivate an active subscription.
|
|
541
541
|
|
|
542
542
|
```
|
|
543
543
|
USAGE
|
|
544
|
-
$
|
|
544
|
+
$ commercelayer in_stock_subscription:deactivate ID
|
|
545
545
|
|
|
546
546
|
ARGUMENTS
|
|
547
547
|
ID the unique id of the order
|
|
@@ -550,15 +550,15 @@ OPTIONS
|
|
|
550
550
|
-o, --organization=organization (required) the slug of your organization
|
|
551
551
|
```
|
|
552
552
|
|
|
553
|
-
_See code: [src/commands/in_stock_subscription/deactivate.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
553
|
+
_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)_
|
|
554
554
|
|
|
555
|
-
## `
|
|
555
|
+
## `commercelayer order ID`
|
|
556
556
|
|
|
557
557
|
execute an action on a resource of type orders
|
|
558
558
|
|
|
559
559
|
```
|
|
560
560
|
USAGE
|
|
561
|
-
$
|
|
561
|
+
$ commercelayer order ID
|
|
562
562
|
|
|
563
563
|
ARGUMENTS
|
|
564
564
|
ID the unique id of the order
|
|
@@ -567,15 +567,15 @@ OPTIONS
|
|
|
567
567
|
-o, --organization=organization (required) the slug of your organization
|
|
568
568
|
```
|
|
569
569
|
|
|
570
|
-
_See code: [src/commands/order/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
570
|
+
_See code: [src/commands/order/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/index.ts)_
|
|
571
571
|
|
|
572
|
-
## `
|
|
572
|
+
## `commercelayer order:approve ID`
|
|
573
573
|
|
|
574
574
|
Send this attribute if you want to approve a placed order.
|
|
575
575
|
|
|
576
576
|
```
|
|
577
577
|
USAGE
|
|
578
|
-
$
|
|
578
|
+
$ commercelayer order:approve ID
|
|
579
579
|
|
|
580
580
|
ARGUMENTS
|
|
581
581
|
ID the unique id of the order
|
|
@@ -584,15 +584,15 @@ OPTIONS
|
|
|
584
584
|
-o, --organization=organization (required) the slug of your organization
|
|
585
585
|
```
|
|
586
586
|
|
|
587
|
-
_See code: [src/commands/order/approve.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
587
|
+
_See code: [src/commands/order/approve.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/approve.ts)_
|
|
588
588
|
|
|
589
|
-
## `
|
|
589
|
+
## `commercelayer order:approve_and_capture ID`
|
|
590
590
|
|
|
591
591
|
Send this attribute if you want to approve and capture a placed order.
|
|
592
592
|
|
|
593
593
|
```
|
|
594
594
|
USAGE
|
|
595
|
-
$
|
|
595
|
+
$ commercelayer order:approve_and_capture ID
|
|
596
596
|
|
|
597
597
|
ARGUMENTS
|
|
598
598
|
ID the unique id of the order
|
|
@@ -601,15 +601,15 @@ OPTIONS
|
|
|
601
601
|
-o, --organization=organization (required) the slug of your organization
|
|
602
602
|
```
|
|
603
603
|
|
|
604
|
-
_See code: [src/commands/order/approve_and_capture.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
604
|
+
_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)_
|
|
605
605
|
|
|
606
|
-
## `
|
|
606
|
+
## `commercelayer order:archive ID`
|
|
607
607
|
|
|
608
608
|
Send this attribute if you want to archive the order.
|
|
609
609
|
|
|
610
610
|
```
|
|
611
611
|
USAGE
|
|
612
|
-
$
|
|
612
|
+
$ commercelayer order:archive ID
|
|
613
613
|
|
|
614
614
|
ARGUMENTS
|
|
615
615
|
ID the unique id of the order
|
|
@@ -618,15 +618,15 @@ OPTIONS
|
|
|
618
618
|
-o, --organization=organization (required) the slug of your organization
|
|
619
619
|
```
|
|
620
620
|
|
|
621
|
-
_See code: [src/commands/order/archive.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
621
|
+
_See code: [src/commands/order/archive.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/archive.ts)_
|
|
622
622
|
|
|
623
|
-
## `
|
|
623
|
+
## `commercelayer order:authorization_amount_cents ID`
|
|
624
624
|
|
|
625
625
|
The authorization amount, in cents.
|
|
626
626
|
|
|
627
627
|
```
|
|
628
628
|
USAGE
|
|
629
|
-
$
|
|
629
|
+
$ commercelayer order:authorization_amount_cents ID
|
|
630
630
|
|
|
631
631
|
ARGUMENTS
|
|
632
632
|
ID the unique id of the order
|
|
@@ -635,15 +635,15 @@ OPTIONS
|
|
|
635
635
|
-o, --organization=organization (required) the slug of your organization
|
|
636
636
|
```
|
|
637
637
|
|
|
638
|
-
_See code: [src/commands/order/authorization_amount_cents.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
638
|
+
_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)_
|
|
639
639
|
|
|
640
|
-
## `
|
|
640
|
+
## `commercelayer order:authorize ID`
|
|
641
641
|
|
|
642
642
|
Send this attribute if you want to authorize the order's payment source.
|
|
643
643
|
|
|
644
644
|
```
|
|
645
645
|
USAGE
|
|
646
|
-
$
|
|
646
|
+
$ commercelayer order:authorize ID
|
|
647
647
|
|
|
648
648
|
ARGUMENTS
|
|
649
649
|
ID the unique id of the order
|
|
@@ -652,15 +652,15 @@ OPTIONS
|
|
|
652
652
|
-o, --organization=organization (required) the slug of your organization
|
|
653
653
|
```
|
|
654
654
|
|
|
655
|
-
_See code: [src/commands/order/authorize.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
655
|
+
_See code: [src/commands/order/authorize.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/authorize.ts)_
|
|
656
656
|
|
|
657
|
-
## `
|
|
657
|
+
## `commercelayer order:billing_address_clone_id ID`
|
|
658
658
|
|
|
659
659
|
The id of the address that you want to clone to create the order's billing address.
|
|
660
660
|
|
|
661
661
|
```
|
|
662
662
|
USAGE
|
|
663
|
-
$
|
|
663
|
+
$ commercelayer order:billing_address_clone_id ID
|
|
664
664
|
|
|
665
665
|
ARGUMENTS
|
|
666
666
|
ID the unique id of the order
|
|
@@ -670,15 +670,15 @@ OPTIONS
|
|
|
670
670
|
-v, --value=value (required) the trigger attribute value
|
|
671
671
|
```
|
|
672
672
|
|
|
673
|
-
_See code: [src/commands/order/billing_address_clone_id.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
673
|
+
_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)_
|
|
674
674
|
|
|
675
|
-
## `
|
|
675
|
+
## `commercelayer order:billing_address_same_as_shipping ID`
|
|
676
676
|
|
|
677
677
|
Send this attribute if you want the billing address to be cloned from the order's shipping address.
|
|
678
678
|
|
|
679
679
|
```
|
|
680
680
|
USAGE
|
|
681
|
-
$
|
|
681
|
+
$ commercelayer order:billing_address_same_as_shipping ID
|
|
682
682
|
|
|
683
683
|
ARGUMENTS
|
|
684
684
|
ID the unique id of the order
|
|
@@ -687,15 +687,15 @@ OPTIONS
|
|
|
687
687
|
-o, --organization=organization (required) the slug of your organization
|
|
688
688
|
```
|
|
689
689
|
|
|
690
|
-
_See code: [src/commands/order/billing_address_same_as_shipping.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
690
|
+
_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)_
|
|
691
691
|
|
|
692
|
-
## `
|
|
692
|
+
## `commercelayer order:cancel ID`
|
|
693
693
|
|
|
694
694
|
Send this attribute if you want to cancel a placed order. The order's authorization will be automatically voided.
|
|
695
695
|
|
|
696
696
|
```
|
|
697
697
|
USAGE
|
|
698
|
-
$
|
|
698
|
+
$ commercelayer order:cancel ID
|
|
699
699
|
|
|
700
700
|
ARGUMENTS
|
|
701
701
|
ID the unique id of the order
|
|
@@ -704,15 +704,15 @@ OPTIONS
|
|
|
704
704
|
-o, --organization=organization (required) the slug of your organization
|
|
705
705
|
```
|
|
706
706
|
|
|
707
|
-
_See code: [src/commands/order/cancel.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
707
|
+
_See code: [src/commands/order/cancel.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/cancel.ts)_
|
|
708
708
|
|
|
709
|
-
## `
|
|
709
|
+
## `commercelayer order:capture ID`
|
|
710
710
|
|
|
711
711
|
Send this attribute if you want to capture an approved order.
|
|
712
712
|
|
|
713
713
|
```
|
|
714
714
|
USAGE
|
|
715
|
-
$
|
|
715
|
+
$ commercelayer order:capture ID
|
|
716
716
|
|
|
717
717
|
ARGUMENTS
|
|
718
718
|
ID the unique id of the order
|
|
@@ -721,15 +721,15 @@ OPTIONS
|
|
|
721
721
|
-o, --organization=organization (required) the slug of your organization
|
|
722
722
|
```
|
|
723
723
|
|
|
724
|
-
_See code: [src/commands/order/capture.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
724
|
+
_See code: [src/commands/order/capture.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/capture.ts)_
|
|
725
725
|
|
|
726
|
-
## `
|
|
726
|
+
## `commercelayer order:customer_payment_source_id ID`
|
|
727
727
|
|
|
728
728
|
The id of the customer payment source (i.e. credit card) that you want to use as the order's payment source.
|
|
729
729
|
|
|
730
730
|
```
|
|
731
731
|
USAGE
|
|
732
|
-
$
|
|
732
|
+
$ commercelayer order:customer_payment_source_id ID
|
|
733
733
|
|
|
734
734
|
ARGUMENTS
|
|
735
735
|
ID the unique id of the order
|
|
@@ -739,15 +739,15 @@ OPTIONS
|
|
|
739
739
|
-v, --value=value (required) the trigger attribute value
|
|
740
740
|
```
|
|
741
741
|
|
|
742
|
-
_See code: [src/commands/order/customer_payment_source_id.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
742
|
+
_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)_
|
|
743
743
|
|
|
744
|
-
## `
|
|
744
|
+
## `commercelayer order:place ID`
|
|
745
745
|
|
|
746
746
|
Send this attribute if you want to place the order.
|
|
747
747
|
|
|
748
748
|
```
|
|
749
749
|
USAGE
|
|
750
|
-
$
|
|
750
|
+
$ commercelayer order:place ID
|
|
751
751
|
|
|
752
752
|
ARGUMENTS
|
|
753
753
|
ID the unique id of the order
|
|
@@ -756,15 +756,15 @@ OPTIONS
|
|
|
756
756
|
-o, --organization=organization (required) the slug of your organization
|
|
757
757
|
```
|
|
758
758
|
|
|
759
|
-
_See code: [src/commands/order/place.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
759
|
+
_See code: [src/commands/order/place.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/place.ts)_
|
|
760
760
|
|
|
761
|
-
## `
|
|
761
|
+
## `commercelayer order:refresh ID`
|
|
762
762
|
|
|
763
763
|
Send this attribute if you want to manually refresh the order.
|
|
764
764
|
|
|
765
765
|
```
|
|
766
766
|
USAGE
|
|
767
|
-
$
|
|
767
|
+
$ commercelayer order:refresh ID
|
|
768
768
|
|
|
769
769
|
ARGUMENTS
|
|
770
770
|
ID the unique id of the order
|
|
@@ -773,15 +773,15 @@ OPTIONS
|
|
|
773
773
|
-o, --organization=organization (required) the slug of your organization
|
|
774
774
|
```
|
|
775
775
|
|
|
776
|
-
_See code: [src/commands/order/refresh.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
776
|
+
_See code: [src/commands/order/refresh.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/refresh.ts)_
|
|
777
777
|
|
|
778
|
-
## `
|
|
778
|
+
## `commercelayer order:refund ID`
|
|
779
779
|
|
|
780
780
|
Send this attribute if you want to refund a captured order.
|
|
781
781
|
|
|
782
782
|
```
|
|
783
783
|
USAGE
|
|
784
|
-
$
|
|
784
|
+
$ commercelayer order:refund ID
|
|
785
785
|
|
|
786
786
|
ARGUMENTS
|
|
787
787
|
ID the unique id of the order
|
|
@@ -790,15 +790,15 @@ OPTIONS
|
|
|
790
790
|
-o, --organization=organization (required) the slug of your organization
|
|
791
791
|
```
|
|
792
792
|
|
|
793
|
-
_See code: [src/commands/order/refund.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
793
|
+
_See code: [src/commands/order/refund.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/refund.ts)_
|
|
794
794
|
|
|
795
|
-
## `
|
|
795
|
+
## `commercelayer order:save_billing_address_to_customer_address_book ID`
|
|
796
796
|
|
|
797
797
|
Send this attribute if you want the order's billing address to be saved in the customer's address book as a customer address.
|
|
798
798
|
|
|
799
799
|
```
|
|
800
800
|
USAGE
|
|
801
|
-
$
|
|
801
|
+
$ commercelayer order:save_billing_address_to_customer_address_book ID
|
|
802
802
|
|
|
803
803
|
ARGUMENTS
|
|
804
804
|
ID the unique id of the order
|
|
@@ -807,15 +807,15 @@ OPTIONS
|
|
|
807
807
|
-o, --organization=organization (required) the slug of your organization
|
|
808
808
|
```
|
|
809
809
|
|
|
810
|
-
_See code: [src/commands/order/save_billing_address_to_customer_address_book.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
810
|
+
_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)_
|
|
811
811
|
|
|
812
|
-
## `
|
|
812
|
+
## `commercelayer order:save_payment_source_to_customer_wallet ID`
|
|
813
813
|
|
|
814
814
|
Send this attribute if you want the order's payment source to be saved in the customer's wallet as a customer payment source.
|
|
815
815
|
|
|
816
816
|
```
|
|
817
817
|
USAGE
|
|
818
|
-
$
|
|
818
|
+
$ commercelayer order:save_payment_source_to_customer_wallet ID
|
|
819
819
|
|
|
820
820
|
ARGUMENTS
|
|
821
821
|
ID the unique id of the order
|
|
@@ -824,15 +824,15 @@ OPTIONS
|
|
|
824
824
|
-o, --organization=organization (required) the slug of your organization
|
|
825
825
|
```
|
|
826
826
|
|
|
827
|
-
_See code: [src/commands/order/save_payment_source_to_customer_wallet.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
827
|
+
_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)_
|
|
828
828
|
|
|
829
|
-
## `
|
|
829
|
+
## `commercelayer order:save_shipping_address_to_customer_address_book ID`
|
|
830
830
|
|
|
831
831
|
Send this attribute if you want the order's shipping address to be saved in the customer's address book as a customer address.
|
|
832
832
|
|
|
833
833
|
```
|
|
834
834
|
USAGE
|
|
835
|
-
$
|
|
835
|
+
$ commercelayer order:save_shipping_address_to_customer_address_book ID
|
|
836
836
|
|
|
837
837
|
ARGUMENTS
|
|
838
838
|
ID the unique id of the order
|
|
@@ -841,15 +841,15 @@ OPTIONS
|
|
|
841
841
|
-o, --organization=organization (required) the slug of your organization
|
|
842
842
|
```
|
|
843
843
|
|
|
844
|
-
_See code: [src/commands/order/save_shipping_address_to_customer_address_book.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
844
|
+
_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)_
|
|
845
845
|
|
|
846
|
-
## `
|
|
846
|
+
## `commercelayer order:shipping_address_clone_id ID`
|
|
847
847
|
|
|
848
848
|
The id of the address that you want to clone to create the order's shipping address.
|
|
849
849
|
|
|
850
850
|
```
|
|
851
851
|
USAGE
|
|
852
|
-
$
|
|
852
|
+
$ commercelayer order:shipping_address_clone_id ID
|
|
853
853
|
|
|
854
854
|
ARGUMENTS
|
|
855
855
|
ID the unique id of the order
|
|
@@ -859,15 +859,15 @@ OPTIONS
|
|
|
859
859
|
-v, --value=value (required) the trigger attribute value
|
|
860
860
|
```
|
|
861
861
|
|
|
862
|
-
_See code: [src/commands/order/shipping_address_clone_id.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
862
|
+
_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)_
|
|
863
863
|
|
|
864
|
-
## `
|
|
864
|
+
## `commercelayer order:shipping_address_same_as_billing ID`
|
|
865
865
|
|
|
866
866
|
Send this attribute if you want the shipping address to be cloned from the order's billing address.
|
|
867
867
|
|
|
868
868
|
```
|
|
869
869
|
USAGE
|
|
870
|
-
$
|
|
870
|
+
$ commercelayer order:shipping_address_same_as_billing ID
|
|
871
871
|
|
|
872
872
|
ARGUMENTS
|
|
873
873
|
ID the unique id of the order
|
|
@@ -876,15 +876,15 @@ OPTIONS
|
|
|
876
876
|
-o, --organization=organization (required) the slug of your organization
|
|
877
877
|
```
|
|
878
878
|
|
|
879
|
-
_See code: [src/commands/order/shipping_address_same_as_billing.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
879
|
+
_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)_
|
|
880
880
|
|
|
881
|
-
## `
|
|
881
|
+
## `commercelayer order:unarchive ID`
|
|
882
882
|
|
|
883
883
|
Send this attribute if you want to unarchive the order.
|
|
884
884
|
|
|
885
885
|
```
|
|
886
886
|
USAGE
|
|
887
|
-
$
|
|
887
|
+
$ commercelayer order:unarchive ID
|
|
888
888
|
|
|
889
889
|
ARGUMENTS
|
|
890
890
|
ID the unique id of the order
|
|
@@ -893,15 +893,15 @@ OPTIONS
|
|
|
893
893
|
-o, --organization=organization (required) the slug of your organization
|
|
894
894
|
```
|
|
895
895
|
|
|
896
|
-
_See code: [src/commands/order/unarchive.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
896
|
+
_See code: [src/commands/order/unarchive.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/unarchive.ts)_
|
|
897
897
|
|
|
898
|
-
## `
|
|
898
|
+
## `commercelayer order:update_taxes ID`
|
|
899
899
|
|
|
900
900
|
Send this attribute if you want to force tax calculation for this order (a tax calculator must be associated to the order's market).
|
|
901
901
|
|
|
902
902
|
```
|
|
903
903
|
USAGE
|
|
904
|
-
$
|
|
904
|
+
$ commercelayer order:update_taxes ID
|
|
905
905
|
|
|
906
906
|
ARGUMENTS
|
|
907
907
|
ID the unique id of the order
|
|
@@ -910,15 +910,15 @@ OPTIONS
|
|
|
910
910
|
-o, --organization=organization (required) the slug of your organization
|
|
911
911
|
```
|
|
912
912
|
|
|
913
|
-
_See code: [src/commands/order/update_taxes.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
913
|
+
_See code: [src/commands/order/update_taxes.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/update_taxes.ts)_
|
|
914
914
|
|
|
915
|
-
## `
|
|
915
|
+
## `commercelayer order_subscription ID`
|
|
916
916
|
|
|
917
917
|
execute an action on a resource of type order_subscriptions
|
|
918
918
|
|
|
919
919
|
```
|
|
920
920
|
USAGE
|
|
921
|
-
$
|
|
921
|
+
$ commercelayer order_subscription ID
|
|
922
922
|
|
|
923
923
|
ARGUMENTS
|
|
924
924
|
ID the unique id of the order
|
|
@@ -927,15 +927,15 @@ OPTIONS
|
|
|
927
927
|
-o, --organization=organization (required) the slug of your organization
|
|
928
928
|
```
|
|
929
929
|
|
|
930
|
-
_See code: [src/commands/order_subscription/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
930
|
+
_See code: [src/commands/order_subscription/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order_subscription/index.ts)_
|
|
931
931
|
|
|
932
|
-
## `
|
|
932
|
+
## `commercelayer order_subscription:activate ID`
|
|
933
933
|
|
|
934
934
|
Send this attribute if you want to mark this subscription as active.
|
|
935
935
|
|
|
936
936
|
```
|
|
937
937
|
USAGE
|
|
938
|
-
$
|
|
938
|
+
$ commercelayer order_subscription:activate ID
|
|
939
939
|
|
|
940
940
|
ARGUMENTS
|
|
941
941
|
ID the unique id of the order
|
|
@@ -944,15 +944,15 @@ OPTIONS
|
|
|
944
944
|
-o, --organization=organization (required) the slug of your organization
|
|
945
945
|
```
|
|
946
946
|
|
|
947
|
-
_See code: [src/commands/order_subscription/activate.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
947
|
+
_See code: [src/commands/order_subscription/activate.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order_subscription/activate.ts)_
|
|
948
948
|
|
|
949
|
-
## `
|
|
949
|
+
## `commercelayer order_subscription:cancel ID`
|
|
950
950
|
|
|
951
951
|
Send this attribute if you want to mark this subscription as cancelled.
|
|
952
952
|
|
|
953
953
|
```
|
|
954
954
|
USAGE
|
|
955
|
-
$
|
|
955
|
+
$ commercelayer order_subscription:cancel ID
|
|
956
956
|
|
|
957
957
|
ARGUMENTS
|
|
958
958
|
ID the unique id of the order
|
|
@@ -961,15 +961,15 @@ OPTIONS
|
|
|
961
961
|
-o, --organization=organization (required) the slug of your organization
|
|
962
962
|
```
|
|
963
963
|
|
|
964
|
-
_See code: [src/commands/order_subscription/cancel.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
964
|
+
_See code: [src/commands/order_subscription/cancel.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order_subscription/cancel.ts)_
|
|
965
965
|
|
|
966
|
-
## `
|
|
966
|
+
## `commercelayer order_subscription:deactivate ID`
|
|
967
967
|
|
|
968
968
|
Send this attribute if you want to mark this subscription as inactive.
|
|
969
969
|
|
|
970
970
|
```
|
|
971
971
|
USAGE
|
|
972
|
-
$
|
|
972
|
+
$ commercelayer order_subscription:deactivate ID
|
|
973
973
|
|
|
974
974
|
ARGUMENTS
|
|
975
975
|
ID the unique id of the order
|
|
@@ -978,15 +978,15 @@ OPTIONS
|
|
|
978
978
|
-o, --organization=organization (required) the slug of your organization
|
|
979
979
|
```
|
|
980
980
|
|
|
981
|
-
_See code: [src/commands/order_subscription/deactivate.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
981
|
+
_See code: [src/commands/order_subscription/deactivate.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order_subscription/deactivate.ts)_
|
|
982
982
|
|
|
983
|
-
## `
|
|
983
|
+
## `commercelayer return ID`
|
|
984
984
|
|
|
985
985
|
execute an action on a resource of type returns
|
|
986
986
|
|
|
987
987
|
```
|
|
988
988
|
USAGE
|
|
989
|
-
$
|
|
989
|
+
$ commercelayer return ID
|
|
990
990
|
|
|
991
991
|
ARGUMENTS
|
|
992
992
|
ID the unique id of the order
|
|
@@ -995,15 +995,15 @@ OPTIONS
|
|
|
995
995
|
-o, --organization=organization (required) the slug of your organization
|
|
996
996
|
```
|
|
997
997
|
|
|
998
|
-
_See code: [src/commands/return/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
998
|
+
_See code: [src/commands/return/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/index.ts)_
|
|
999
999
|
|
|
1000
|
-
## `
|
|
1000
|
+
## `commercelayer return:approve ID`
|
|
1001
1001
|
|
|
1002
1002
|
Send this attribute if you want to mark this return as approved.
|
|
1003
1003
|
|
|
1004
1004
|
```
|
|
1005
1005
|
USAGE
|
|
1006
|
-
$
|
|
1006
|
+
$ commercelayer return:approve ID
|
|
1007
1007
|
|
|
1008
1008
|
ARGUMENTS
|
|
1009
1009
|
ID the unique id of the order
|
|
@@ -1012,15 +1012,15 @@ OPTIONS
|
|
|
1012
1012
|
-o, --organization=organization (required) the slug of your organization
|
|
1013
1013
|
```
|
|
1014
1014
|
|
|
1015
|
-
_See code: [src/commands/return/approve.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
1015
|
+
_See code: [src/commands/return/approve.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/approve.ts)_
|
|
1016
1016
|
|
|
1017
|
-
## `
|
|
1017
|
+
## `commercelayer return:archive ID`
|
|
1018
1018
|
|
|
1019
1019
|
Send this attribute if you want to archive the return.
|
|
1020
1020
|
|
|
1021
1021
|
```
|
|
1022
1022
|
USAGE
|
|
1023
|
-
$
|
|
1023
|
+
$ commercelayer return:archive ID
|
|
1024
1024
|
|
|
1025
1025
|
ARGUMENTS
|
|
1026
1026
|
ID the unique id of the order
|
|
@@ -1029,15 +1029,15 @@ OPTIONS
|
|
|
1029
1029
|
-o, --organization=organization (required) the slug of your organization
|
|
1030
1030
|
```
|
|
1031
1031
|
|
|
1032
|
-
_See code: [src/commands/return/archive.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
1032
|
+
_See code: [src/commands/return/archive.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/archive.ts)_
|
|
1033
1033
|
|
|
1034
|
-
## `
|
|
1034
|
+
## `commercelayer return:cancel ID`
|
|
1035
1035
|
|
|
1036
1036
|
Send this attribute if you want to mark this return as cancelled.
|
|
1037
1037
|
|
|
1038
1038
|
```
|
|
1039
1039
|
USAGE
|
|
1040
|
-
$
|
|
1040
|
+
$ commercelayer return:cancel ID
|
|
1041
1041
|
|
|
1042
1042
|
ARGUMENTS
|
|
1043
1043
|
ID the unique id of the order
|
|
@@ -1046,15 +1046,15 @@ OPTIONS
|
|
|
1046
1046
|
-o, --organization=organization (required) the slug of your organization
|
|
1047
1047
|
```
|
|
1048
1048
|
|
|
1049
|
-
_See code: [src/commands/return/cancel.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
1049
|
+
_See code: [src/commands/return/cancel.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/cancel.ts)_
|
|
1050
1050
|
|
|
1051
|
-
## `
|
|
1051
|
+
## `commercelayer return:receive ID`
|
|
1052
1052
|
|
|
1053
1053
|
Send this attribute if you want to mark this return as received.
|
|
1054
1054
|
|
|
1055
1055
|
```
|
|
1056
1056
|
USAGE
|
|
1057
|
-
$
|
|
1057
|
+
$ commercelayer return:receive ID
|
|
1058
1058
|
|
|
1059
1059
|
ARGUMENTS
|
|
1060
1060
|
ID the unique id of the order
|
|
@@ -1063,15 +1063,15 @@ OPTIONS
|
|
|
1063
1063
|
-o, --organization=organization (required) the slug of your organization
|
|
1064
1064
|
```
|
|
1065
1065
|
|
|
1066
|
-
_See code: [src/commands/return/receive.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
1066
|
+
_See code: [src/commands/return/receive.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/receive.ts)_
|
|
1067
1067
|
|
|
1068
|
-
## `
|
|
1068
|
+
## `commercelayer return:reject ID`
|
|
1069
1069
|
|
|
1070
1070
|
Send this attribute if you want to mark this return as rejected.
|
|
1071
1071
|
|
|
1072
1072
|
```
|
|
1073
1073
|
USAGE
|
|
1074
|
-
$
|
|
1074
|
+
$ commercelayer return:reject ID
|
|
1075
1075
|
|
|
1076
1076
|
ARGUMENTS
|
|
1077
1077
|
ID the unique id of the order
|
|
@@ -1080,15 +1080,15 @@ OPTIONS
|
|
|
1080
1080
|
-o, --organization=organization (required) the slug of your organization
|
|
1081
1081
|
```
|
|
1082
1082
|
|
|
1083
|
-
_See code: [src/commands/return/reject.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
1083
|
+
_See code: [src/commands/return/reject.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/reject.ts)_
|
|
1084
1084
|
|
|
1085
|
-
## `
|
|
1085
|
+
## `commercelayer return:request ID`
|
|
1086
1086
|
|
|
1087
1087
|
Send this attribute if you want to activate this return.
|
|
1088
1088
|
|
|
1089
1089
|
```
|
|
1090
1090
|
USAGE
|
|
1091
|
-
$
|
|
1091
|
+
$ commercelayer return:request ID
|
|
1092
1092
|
|
|
1093
1093
|
ARGUMENTS
|
|
1094
1094
|
ID the unique id of the order
|
|
@@ -1097,15 +1097,15 @@ OPTIONS
|
|
|
1097
1097
|
-o, --organization=organization (required) the slug of your organization
|
|
1098
1098
|
```
|
|
1099
1099
|
|
|
1100
|
-
_See code: [src/commands/return/request.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
1100
|
+
_See code: [src/commands/return/request.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/request.ts)_
|
|
1101
1101
|
|
|
1102
|
-
## `
|
|
1102
|
+
## `commercelayer return:restock ID`
|
|
1103
1103
|
|
|
1104
1104
|
Send this attribute if you want to restock all of the return line items.
|
|
1105
1105
|
|
|
1106
1106
|
```
|
|
1107
1107
|
USAGE
|
|
1108
|
-
$
|
|
1108
|
+
$ commercelayer return:restock ID
|
|
1109
1109
|
|
|
1110
1110
|
ARGUMENTS
|
|
1111
1111
|
ID the unique id of the order
|
|
@@ -1114,15 +1114,15 @@ OPTIONS
|
|
|
1114
1114
|
-o, --organization=organization (required) the slug of your organization
|
|
1115
1115
|
```
|
|
1116
1116
|
|
|
1117
|
-
_See code: [src/commands/return/restock.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
1117
|
+
_See code: [src/commands/return/restock.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/restock.ts)_
|
|
1118
1118
|
|
|
1119
|
-
## `
|
|
1119
|
+
## `commercelayer return:ship ID`
|
|
1120
1120
|
|
|
1121
1121
|
Send this attribute if you want to mark this return as shipped.
|
|
1122
1122
|
|
|
1123
1123
|
```
|
|
1124
1124
|
USAGE
|
|
1125
|
-
$
|
|
1125
|
+
$ commercelayer return:ship ID
|
|
1126
1126
|
|
|
1127
1127
|
ARGUMENTS
|
|
1128
1128
|
ID the unique id of the order
|
|
@@ -1131,15 +1131,15 @@ OPTIONS
|
|
|
1131
1131
|
-o, --organization=organization (required) the slug of your organization
|
|
1132
1132
|
```
|
|
1133
1133
|
|
|
1134
|
-
_See code: [src/commands/return/ship.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
1134
|
+
_See code: [src/commands/return/ship.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/ship.ts)_
|
|
1135
1135
|
|
|
1136
|
-
## `
|
|
1136
|
+
## `commercelayer return:unarchive ID`
|
|
1137
1137
|
|
|
1138
1138
|
Send this attribute if you want to unarchive the return.
|
|
1139
1139
|
|
|
1140
1140
|
```
|
|
1141
1141
|
USAGE
|
|
1142
|
-
$
|
|
1142
|
+
$ commercelayer return:unarchive ID
|
|
1143
1143
|
|
|
1144
1144
|
ARGUMENTS
|
|
1145
1145
|
ID the unique id of the order
|
|
@@ -1148,15 +1148,15 @@ OPTIONS
|
|
|
1148
1148
|
-o, --organization=organization (required) the slug of your organization
|
|
1149
1149
|
```
|
|
1150
1150
|
|
|
1151
|
-
_See code: [src/commands/return/unarchive.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
1151
|
+
_See code: [src/commands/return/unarchive.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/unarchive.ts)_
|
|
1152
1152
|
|
|
1153
|
-
## `
|
|
1153
|
+
## `commercelayer return_line_item ID`
|
|
1154
1154
|
|
|
1155
1155
|
execute an action on a resource of type return_line_items
|
|
1156
1156
|
|
|
1157
1157
|
```
|
|
1158
1158
|
USAGE
|
|
1159
|
-
$
|
|
1159
|
+
$ commercelayer return_line_item ID
|
|
1160
1160
|
|
|
1161
1161
|
ARGUMENTS
|
|
1162
1162
|
ID the unique id of the order
|
|
@@ -1165,15 +1165,15 @@ OPTIONS
|
|
|
1165
1165
|
-o, --organization=organization (required) the slug of your organization
|
|
1166
1166
|
```
|
|
1167
1167
|
|
|
1168
|
-
_See code: [src/commands/return_line_item/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
1168
|
+
_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)_
|
|
1169
1169
|
|
|
1170
|
-
## `
|
|
1170
|
+
## `commercelayer return_line_item:restock ID`
|
|
1171
1171
|
|
|
1172
1172
|
Send this attribute if you want to restock the line item.
|
|
1173
1173
|
|
|
1174
1174
|
```
|
|
1175
1175
|
USAGE
|
|
1176
|
-
$
|
|
1176
|
+
$ commercelayer return_line_item:restock ID
|
|
1177
1177
|
|
|
1178
1178
|
ARGUMENTS
|
|
1179
1179
|
ID the unique id of the order
|
|
@@ -1182,15 +1182,15 @@ OPTIONS
|
|
|
1182
1182
|
-o, --organization=organization (required) the slug of your organization
|
|
1183
1183
|
```
|
|
1184
1184
|
|
|
1185
|
-
_See code: [src/commands/return_line_item/restock.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
1185
|
+
_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)_
|
|
1186
1186
|
|
|
1187
|
-
## `
|
|
1187
|
+
## `commercelayer shipment ID`
|
|
1188
1188
|
|
|
1189
1189
|
execute an action on a resource of type shipments
|
|
1190
1190
|
|
|
1191
1191
|
```
|
|
1192
1192
|
USAGE
|
|
1193
|
-
$
|
|
1193
|
+
$ commercelayer shipment ID
|
|
1194
1194
|
|
|
1195
1195
|
ARGUMENTS
|
|
1196
1196
|
ID the unique id of the order
|
|
@@ -1199,15 +1199,15 @@ OPTIONS
|
|
|
1199
1199
|
-o, --organization=organization (required) the slug of your organization
|
|
1200
1200
|
```
|
|
1201
1201
|
|
|
1202
|
-
_See code: [src/commands/shipment/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
1202
|
+
_See code: [src/commands/shipment/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipment/index.ts)_
|
|
1203
1203
|
|
|
1204
|
-
## `
|
|
1204
|
+
## `commercelayer shipment:get_rates ID`
|
|
1205
1205
|
|
|
1206
1206
|
Send this attribute if you want get the shipping rates from the associated carrier accounts.
|
|
1207
1207
|
|
|
1208
1208
|
```
|
|
1209
1209
|
USAGE
|
|
1210
|
-
$
|
|
1210
|
+
$ commercelayer shipment:get_rates ID
|
|
1211
1211
|
|
|
1212
1212
|
ARGUMENTS
|
|
1213
1213
|
ID the unique id of the order
|
|
@@ -1216,15 +1216,15 @@ OPTIONS
|
|
|
1216
1216
|
-o, --organization=organization (required) the slug of your organization
|
|
1217
1217
|
```
|
|
1218
1218
|
|
|
1219
|
-
_See code: [src/commands/shipment/get_rates.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
1219
|
+
_See code: [src/commands/shipment/get_rates.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipment/get_rates.ts)_
|
|
1220
1220
|
|
|
1221
|
-
## `
|
|
1221
|
+
## `commercelayer shipment:on_hold ID`
|
|
1222
1222
|
|
|
1223
1223
|
Send this attribute if you want to put this shipment on hold.
|
|
1224
1224
|
|
|
1225
1225
|
```
|
|
1226
1226
|
USAGE
|
|
1227
|
-
$
|
|
1227
|
+
$ commercelayer shipment:on_hold ID
|
|
1228
1228
|
|
|
1229
1229
|
ARGUMENTS
|
|
1230
1230
|
ID the unique id of the order
|
|
@@ -1233,15 +1233,15 @@ OPTIONS
|
|
|
1233
1233
|
-o, --organization=organization (required) the slug of your organization
|
|
1234
1234
|
```
|
|
1235
1235
|
|
|
1236
|
-
_See code: [src/commands/shipment/on_hold.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
1236
|
+
_See code: [src/commands/shipment/on_hold.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipment/on_hold.ts)_
|
|
1237
1237
|
|
|
1238
|
-
## `
|
|
1238
|
+
## `commercelayer shipment:packing ID`
|
|
1239
1239
|
|
|
1240
1240
|
Send this attribute if you want to start packing this shipment.
|
|
1241
1241
|
|
|
1242
1242
|
```
|
|
1243
1243
|
USAGE
|
|
1244
|
-
$
|
|
1244
|
+
$ commercelayer shipment:packing ID
|
|
1245
1245
|
|
|
1246
1246
|
ARGUMENTS
|
|
1247
1247
|
ID the unique id of the order
|
|
@@ -1250,15 +1250,15 @@ OPTIONS
|
|
|
1250
1250
|
-o, --organization=organization (required) the slug of your organization
|
|
1251
1251
|
```
|
|
1252
1252
|
|
|
1253
|
-
_See code: [src/commands/shipment/packing.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
1253
|
+
_See code: [src/commands/shipment/packing.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipment/packing.ts)_
|
|
1254
1254
|
|
|
1255
|
-
## `
|
|
1255
|
+
## `commercelayer shipment:picking ID`
|
|
1256
1256
|
|
|
1257
1257
|
Send this attribute if you want to start picking this shipment.
|
|
1258
1258
|
|
|
1259
1259
|
```
|
|
1260
1260
|
USAGE
|
|
1261
|
-
$
|
|
1261
|
+
$ commercelayer shipment:picking ID
|
|
1262
1262
|
|
|
1263
1263
|
ARGUMENTS
|
|
1264
1264
|
ID the unique id of the order
|
|
@@ -1267,15 +1267,15 @@ OPTIONS
|
|
|
1267
1267
|
-o, --organization=organization (required) the slug of your organization
|
|
1268
1268
|
```
|
|
1269
1269
|
|
|
1270
|
-
_See code: [src/commands/shipment/picking.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
1270
|
+
_See code: [src/commands/shipment/picking.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipment/picking.ts)_
|
|
1271
1271
|
|
|
1272
|
-
## `
|
|
1272
|
+
## `commercelayer shipment:purchase ID`
|
|
1273
1273
|
|
|
1274
1274
|
Send this attribute if you want to purchase this shipment with the selected rate.
|
|
1275
1275
|
|
|
1276
1276
|
```
|
|
1277
1277
|
USAGE
|
|
1278
|
-
$
|
|
1278
|
+
$ commercelayer shipment:purchase ID
|
|
1279
1279
|
|
|
1280
1280
|
ARGUMENTS
|
|
1281
1281
|
ID the unique id of the order
|
|
@@ -1284,15 +1284,15 @@ OPTIONS
|
|
|
1284
1284
|
-o, --organization=organization (required) the slug of your organization
|
|
1285
1285
|
```
|
|
1286
1286
|
|
|
1287
|
-
_See code: [src/commands/shipment/purchase.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
1287
|
+
_See code: [src/commands/shipment/purchase.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipment/purchase.ts)_
|
|
1288
1288
|
|
|
1289
|
-
## `
|
|
1289
|
+
## `commercelayer shipment:ready_to_ship ID`
|
|
1290
1290
|
|
|
1291
1291
|
Send this attribute if you want to mark this shipment as ready to ship.
|
|
1292
1292
|
|
|
1293
1293
|
```
|
|
1294
1294
|
USAGE
|
|
1295
|
-
$
|
|
1295
|
+
$ commercelayer shipment:ready_to_ship ID
|
|
1296
1296
|
|
|
1297
1297
|
ARGUMENTS
|
|
1298
1298
|
ID the unique id of the order
|
|
@@ -1301,15 +1301,15 @@ OPTIONS
|
|
|
1301
1301
|
-o, --organization=organization (required) the slug of your organization
|
|
1302
1302
|
```
|
|
1303
1303
|
|
|
1304
|
-
_See code: [src/commands/shipment/ready_to_ship.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
1304
|
+
_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)_
|
|
1305
1305
|
|
|
1306
|
-
## `
|
|
1306
|
+
## `commercelayer shipment:ship ID`
|
|
1307
1307
|
|
|
1308
1308
|
Send this attribute if you want to mark this shipment as shipped.
|
|
1309
1309
|
|
|
1310
1310
|
```
|
|
1311
1311
|
USAGE
|
|
1312
|
-
$
|
|
1312
|
+
$ commercelayer shipment:ship ID
|
|
1313
1313
|
|
|
1314
1314
|
ARGUMENTS
|
|
1315
1315
|
ID the unique id of the order
|
|
@@ -1318,15 +1318,15 @@ OPTIONS
|
|
|
1318
1318
|
-o, --organization=organization (required) the slug of your organization
|
|
1319
1319
|
```
|
|
1320
1320
|
|
|
1321
|
-
_See code: [src/commands/shipment/ship.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
1321
|
+
_See code: [src/commands/shipment/ship.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipment/ship.ts)_
|
|
1322
1322
|
|
|
1323
|
-
## `
|
|
1323
|
+
## `commercelayer stock_transfer ID`
|
|
1324
1324
|
|
|
1325
1325
|
execute an action on a resource of type stock_transfers
|
|
1326
1326
|
|
|
1327
1327
|
```
|
|
1328
1328
|
USAGE
|
|
1329
|
-
$
|
|
1329
|
+
$ commercelayer stock_transfer ID
|
|
1330
1330
|
|
|
1331
1331
|
ARGUMENTS
|
|
1332
1332
|
ID the unique id of the order
|
|
@@ -1335,15 +1335,15 @@ OPTIONS
|
|
|
1335
1335
|
-o, --organization=organization (required) the slug of your organization
|
|
1336
1336
|
```
|
|
1337
1337
|
|
|
1338
|
-
_See code: [src/commands/stock_transfer/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
1338
|
+
_See code: [src/commands/stock_transfer/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stock_transfer/index.ts)_
|
|
1339
1339
|
|
|
1340
|
-
## `
|
|
1340
|
+
## `commercelayer stock_transfer:cancel ID`
|
|
1341
1341
|
|
|
1342
1342
|
Send this attribute if you want to cancel this stock transfer.
|
|
1343
1343
|
|
|
1344
1344
|
```
|
|
1345
1345
|
USAGE
|
|
1346
|
-
$
|
|
1346
|
+
$ commercelayer stock_transfer:cancel ID
|
|
1347
1347
|
|
|
1348
1348
|
ARGUMENTS
|
|
1349
1349
|
ID the unique id of the order
|
|
@@ -1352,15 +1352,15 @@ OPTIONS
|
|
|
1352
1352
|
-o, --organization=organization (required) the slug of your organization
|
|
1353
1353
|
```
|
|
1354
1354
|
|
|
1355
|
-
_See code: [src/commands/stock_transfer/cancel.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
1355
|
+
_See code: [src/commands/stock_transfer/cancel.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stock_transfer/cancel.ts)_
|
|
1356
1356
|
|
|
1357
|
-
## `
|
|
1357
|
+
## `commercelayer stock_transfer:complete ID`
|
|
1358
1358
|
|
|
1359
1359
|
Send this attribute if you want to complete this stock transfer.
|
|
1360
1360
|
|
|
1361
1361
|
```
|
|
1362
1362
|
USAGE
|
|
1363
|
-
$
|
|
1363
|
+
$ commercelayer stock_transfer:complete ID
|
|
1364
1364
|
|
|
1365
1365
|
ARGUMENTS
|
|
1366
1366
|
ID the unique id of the order
|
|
@@ -1369,15 +1369,15 @@ OPTIONS
|
|
|
1369
1369
|
-o, --organization=organization (required) the slug of your organization
|
|
1370
1370
|
```
|
|
1371
1371
|
|
|
1372
|
-
_See code: [src/commands/stock_transfer/complete.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
1372
|
+
_See code: [src/commands/stock_transfer/complete.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stock_transfer/complete.ts)_
|
|
1373
1373
|
|
|
1374
|
-
## `
|
|
1374
|
+
## `commercelayer stock_transfer:in_transit ID`
|
|
1375
1375
|
|
|
1376
1376
|
Send this attribute if you want to mark this stock transfer as in transit.
|
|
1377
1377
|
|
|
1378
1378
|
```
|
|
1379
1379
|
USAGE
|
|
1380
|
-
$
|
|
1380
|
+
$ commercelayer stock_transfer:in_transit ID
|
|
1381
1381
|
|
|
1382
1382
|
ARGUMENTS
|
|
1383
1383
|
ID the unique id of the order
|
|
@@ -1386,15 +1386,15 @@ OPTIONS
|
|
|
1386
1386
|
-o, --organization=organization (required) the slug of your organization
|
|
1387
1387
|
```
|
|
1388
1388
|
|
|
1389
|
-
_See code: [src/commands/stock_transfer/in_transit.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
1389
|
+
_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)_
|
|
1390
1390
|
|
|
1391
|
-
## `
|
|
1391
|
+
## `commercelayer stock_transfer:picking ID`
|
|
1392
1392
|
|
|
1393
1393
|
Send this attribute if you want to start picking this stock transfer.
|
|
1394
1394
|
|
|
1395
1395
|
```
|
|
1396
1396
|
USAGE
|
|
1397
|
-
$
|
|
1397
|
+
$ commercelayer stock_transfer:picking ID
|
|
1398
1398
|
|
|
1399
1399
|
ARGUMENTS
|
|
1400
1400
|
ID the unique id of the order
|
|
@@ -1403,15 +1403,15 @@ OPTIONS
|
|
|
1403
1403
|
-o, --organization=organization (required) the slug of your organization
|
|
1404
1404
|
```
|
|
1405
1405
|
|
|
1406
|
-
_See code: [src/commands/stock_transfer/picking.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
1406
|
+
_See code: [src/commands/stock_transfer/picking.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stock_transfer/picking.ts)_
|
|
1407
1407
|
|
|
1408
|
-
## `
|
|
1408
|
+
## `commercelayer stock_transfer:upcoming ID`
|
|
1409
1409
|
|
|
1410
1410
|
Send this attribute if you want to mark this stock transfer as upcoming.
|
|
1411
1411
|
|
|
1412
1412
|
```
|
|
1413
1413
|
USAGE
|
|
1414
|
-
$
|
|
1414
|
+
$ commercelayer stock_transfer:upcoming ID
|
|
1415
1415
|
|
|
1416
1416
|
ARGUMENTS
|
|
1417
1417
|
ID the unique id of the order
|
|
@@ -1420,15 +1420,15 @@ OPTIONS
|
|
|
1420
1420
|
-o, --organization=organization (required) the slug of your organization
|
|
1421
1421
|
```
|
|
1422
1422
|
|
|
1423
|
-
_See code: [src/commands/stock_transfer/upcoming.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
1423
|
+
_See code: [src/commands/stock_transfer/upcoming.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stock_transfer/upcoming.ts)_
|
|
1424
1424
|
|
|
1425
|
-
## `
|
|
1425
|
+
## `commercelayer stripe_payment ID`
|
|
1426
1426
|
|
|
1427
1427
|
execute an action on a resource of type stripe_payments
|
|
1428
1428
|
|
|
1429
1429
|
```
|
|
1430
1430
|
USAGE
|
|
1431
|
-
$
|
|
1431
|
+
$ commercelayer stripe_payment ID
|
|
1432
1432
|
|
|
1433
1433
|
ARGUMENTS
|
|
1434
1434
|
ID the unique id of the order
|
|
@@ -1437,15 +1437,15 @@ OPTIONS
|
|
|
1437
1437
|
-o, --organization=organization (required) the slug of your organization
|
|
1438
1438
|
```
|
|
1439
1439
|
|
|
1440
|
-
_See code: [src/commands/stripe_payment/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
1440
|
+
_See code: [src/commands/stripe_payment/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stripe_payment/index.ts)_
|
|
1441
1441
|
|
|
1442
|
-
## `
|
|
1442
|
+
## `commercelayer stripe_payment:refresh ID`
|
|
1443
1443
|
|
|
1444
1444
|
Send this attribute if you want to refresh the payment status, can be used as webhooks fallback logic.
|
|
1445
1445
|
|
|
1446
1446
|
```
|
|
1447
1447
|
USAGE
|
|
1448
|
-
$
|
|
1448
|
+
$ commercelayer stripe_payment:refresh ID
|
|
1449
1449
|
|
|
1450
1450
|
ARGUMENTS
|
|
1451
1451
|
ID the unique id of the order
|
|
@@ -1454,15 +1454,15 @@ OPTIONS
|
|
|
1454
1454
|
-o, --organization=organization (required) the slug of your organization
|
|
1455
1455
|
```
|
|
1456
1456
|
|
|
1457
|
-
_See code: [src/commands/stripe_payment/refresh.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
1457
|
+
_See code: [src/commands/stripe_payment/refresh.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stripe_payment/refresh.ts)_
|
|
1458
1458
|
|
|
1459
|
-
## `
|
|
1459
|
+
## `commercelayer webhook ID`
|
|
1460
1460
|
|
|
1461
1461
|
execute an action on a resource of type webhooks
|
|
1462
1462
|
|
|
1463
1463
|
```
|
|
1464
1464
|
USAGE
|
|
1465
|
-
$
|
|
1465
|
+
$ commercelayer webhook ID
|
|
1466
1466
|
|
|
1467
1467
|
ARGUMENTS
|
|
1468
1468
|
ID the unique id of the order
|
|
@@ -1471,15 +1471,15 @@ OPTIONS
|
|
|
1471
1471
|
-o, --organization=organization (required) the slug of your organization
|
|
1472
1472
|
```
|
|
1473
1473
|
|
|
1474
|
-
_See code: [src/commands/webhook/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
1474
|
+
_See code: [src/commands/webhook/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/webhook/index.ts)_
|
|
1475
1475
|
|
|
1476
|
-
## `
|
|
1476
|
+
## `commercelayer webhook:reset_circuit ID`
|
|
1477
1477
|
|
|
1478
1478
|
Send this attribute if you want to reset the circuit breaker associated to this webhook to 'closed' state and zero failures count.
|
|
1479
1479
|
|
|
1480
1480
|
```
|
|
1481
1481
|
USAGE
|
|
1482
|
-
$
|
|
1482
|
+
$ commercelayer webhook:reset_circuit ID
|
|
1483
1483
|
|
|
1484
1484
|
ARGUMENTS
|
|
1485
1485
|
ID the unique id of the order
|
|
@@ -1488,5 +1488,5 @@ OPTIONS
|
|
|
1488
1488
|
-o, --organization=organization (required) the slug of your organization
|
|
1489
1489
|
```
|
|
1490
1490
|
|
|
1491
|
-
_See code: [src/commands/webhook/reset_circuit.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/
|
|
1491
|
+
_See code: [src/commands/webhook/reset_circuit.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/webhook/reset_circuit.ts)_
|
|
1492
1492
|
<!-- commandsstop -->
|