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