@commercelayer/cli-plugin-triggers 1.0.4 → 1.0.5
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 +249 -249
- package/oclif.manifest.json +1 -1
- package/package.json +5 -2
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
|
+
$ cl-triggers COMMAND
|
|
20
20
|
running command...
|
|
21
|
-
$
|
|
22
|
-
@commercelayer/cli-plugin-triggers/1.0.
|
|
23
|
-
$
|
|
21
|
+
$ cl-triggers (-v|--version|version)
|
|
22
|
+
@commercelayer/cli-plugin-triggers/1.0.5 darwin-x64 node-v15.14.0
|
|
23
|
+
$ cl-triggers --help [COMMAND]
|
|
24
24
|
USAGE
|
|
25
|
-
$
|
|
25
|
+
$ cl-triggers 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
|
+
* [`cl-triggers adyen_payment ID`](#cl-triggers-adyen_payment-id)
|
|
32
|
+
* [`cl-triggers adyen_payment:authorize ID`](#cl-triggers-adyen_paymentauthorize-id)
|
|
33
|
+
* [`cl-triggers adyen_payment:details ID`](#cl-triggers-adyen_paymentdetails-id)
|
|
34
|
+
* [`cl-triggers authorization ID`](#cl-triggers-authorization-id)
|
|
35
|
+
* [`cl-triggers authorization:capture ID`](#cl-triggers-authorizationcapture-id)
|
|
36
|
+
* [`cl-triggers authorization:capture_amount_cents ID`](#cl-triggers-authorizationcapture_amount_cents-id)
|
|
37
|
+
* [`cl-triggers authorization:void ID`](#cl-triggers-authorizationvoid-id)
|
|
38
|
+
* [`cl-triggers bundle ID`](#cl-triggers-bundle-id)
|
|
39
|
+
* [`cl-triggers bundle:compute_compare_at_amount ID`](#cl-triggers-bundlecompute_compare_at_amount-id)
|
|
40
|
+
* [`cl-triggers capture ID`](#cl-triggers-capture-id)
|
|
41
|
+
* [`cl-triggers capture:refund ID`](#cl-triggers-capturerefund-id)
|
|
42
|
+
* [`cl-triggers capture:refund_amount_cents ID`](#cl-triggers-capturerefund_amount_cents-id)
|
|
43
|
+
* [`cl-triggers checkout_com_payment ID`](#cl-triggers-checkout_com_payment-id)
|
|
44
|
+
* [`cl-triggers checkout_com_payment:authorize ID`](#cl-triggers-checkout_com_paymentauthorize-id)
|
|
45
|
+
* [`cl-triggers checkout_com_payment:details ID`](#cl-triggers-checkout_com_paymentdetails-id)
|
|
46
|
+
* [`cl-triggers checkout_com_payment:refresh ID`](#cl-triggers-checkout_com_paymentrefresh-id)
|
|
47
|
+
* [`cl-triggers customer_password_reset ID`](#cl-triggers-customer_password_reset-id)
|
|
48
|
+
* [`cl-triggers customer_password_reset:reset_password_token ID`](#cl-triggers-customer_password_resetreset_password_token-id)
|
|
49
|
+
* [`cl-triggers gift_card ID`](#cl-triggers-gift_card-id)
|
|
50
|
+
* [`cl-triggers gift_card:activate ID`](#cl-triggers-gift_cardactivate-id)
|
|
51
|
+
* [`cl-triggers gift_card:balance_change_cents ID`](#cl-triggers-gift_cardbalance_change_cents-id)
|
|
52
|
+
* [`cl-triggers gift_card:deactivate ID`](#cl-triggers-gift_carddeactivate-id)
|
|
53
|
+
* [`cl-triggers gift_card:purchase ID`](#cl-triggers-gift_cardpurchase-id)
|
|
54
|
+
* [`cl-triggers in_stock_subscription ID`](#cl-triggers-in_stock_subscription-id)
|
|
55
|
+
* [`cl-triggers in_stock_subscription:activate ID`](#cl-triggers-in_stock_subscriptionactivate-id)
|
|
56
|
+
* [`cl-triggers in_stock_subscription:deactivate ID`](#cl-triggers-in_stock_subscriptiondeactivate-id)
|
|
57
|
+
* [`cl-triggers order ID`](#cl-triggers-order-id)
|
|
58
|
+
* [`cl-triggers order:approve ID`](#cl-triggers-orderapprove-id)
|
|
59
|
+
* [`cl-triggers order:approve_and_capture ID`](#cl-triggers-orderapprove_and_capture-id)
|
|
60
|
+
* [`cl-triggers order:archive ID`](#cl-triggers-orderarchive-id)
|
|
61
|
+
* [`cl-triggers order:authorization_amount_cents ID`](#cl-triggers-orderauthorization_amount_cents-id)
|
|
62
|
+
* [`cl-triggers order:authorize ID`](#cl-triggers-orderauthorize-id)
|
|
63
|
+
* [`cl-triggers order:billing_address_clone_id ID`](#cl-triggers-orderbilling_address_clone_id-id)
|
|
64
|
+
* [`cl-triggers order:billing_address_same_as_shipping ID`](#cl-triggers-orderbilling_address_same_as_shipping-id)
|
|
65
|
+
* [`cl-triggers order:cancel ID`](#cl-triggers-ordercancel-id)
|
|
66
|
+
* [`cl-triggers order:capture ID`](#cl-triggers-ordercapture-id)
|
|
67
|
+
* [`cl-triggers order:customer_payment_source_id ID`](#cl-triggers-ordercustomer_payment_source_id-id)
|
|
68
|
+
* [`cl-triggers order:place ID`](#cl-triggers-orderplace-id)
|
|
69
|
+
* [`cl-triggers order:refresh ID`](#cl-triggers-orderrefresh-id)
|
|
70
|
+
* [`cl-triggers order:refund ID`](#cl-triggers-orderrefund-id)
|
|
71
|
+
* [`cl-triggers order:save_billing_address_to_customer_address_book ID`](#cl-triggers-ordersave_billing_address_to_customer_address_book-id)
|
|
72
|
+
* [`cl-triggers order:save_payment_source_to_customer_wallet ID`](#cl-triggers-ordersave_payment_source_to_customer_wallet-id)
|
|
73
|
+
* [`cl-triggers order:save_shipping_address_to_customer_address_book ID`](#cl-triggers-ordersave_shipping_address_to_customer_address_book-id)
|
|
74
|
+
* [`cl-triggers order:shipping_address_clone_id ID`](#cl-triggers-ordershipping_address_clone_id-id)
|
|
75
|
+
* [`cl-triggers order:shipping_address_same_as_billing ID`](#cl-triggers-ordershipping_address_same_as_billing-id)
|
|
76
|
+
* [`cl-triggers order:unarchive ID`](#cl-triggers-orderunarchive-id)
|
|
77
|
+
* [`cl-triggers order:update_taxes ID`](#cl-triggers-orderupdate_taxes-id)
|
|
78
|
+
* [`cl-triggers order_subscription ID`](#cl-triggers-order_subscription-id)
|
|
79
|
+
* [`cl-triggers order_subscription:activate ID`](#cl-triggers-order_subscriptionactivate-id)
|
|
80
|
+
* [`cl-triggers order_subscription:cancel ID`](#cl-triggers-order_subscriptioncancel-id)
|
|
81
|
+
* [`cl-triggers order_subscription:deactivate ID`](#cl-triggers-order_subscriptiondeactivate-id)
|
|
82
|
+
* [`cl-triggers return ID`](#cl-triggers-return-id)
|
|
83
|
+
* [`cl-triggers return:approve ID`](#cl-triggers-returnapprove-id)
|
|
84
|
+
* [`cl-triggers return:archive ID`](#cl-triggers-returnarchive-id)
|
|
85
|
+
* [`cl-triggers return:cancel ID`](#cl-triggers-returncancel-id)
|
|
86
|
+
* [`cl-triggers return:receive ID`](#cl-triggers-returnreceive-id)
|
|
87
|
+
* [`cl-triggers return:reject ID`](#cl-triggers-returnreject-id)
|
|
88
|
+
* [`cl-triggers return:request ID`](#cl-triggers-returnrequest-id)
|
|
89
|
+
* [`cl-triggers return:restock ID`](#cl-triggers-returnrestock-id)
|
|
90
|
+
* [`cl-triggers return:ship ID`](#cl-triggers-returnship-id)
|
|
91
|
+
* [`cl-triggers return:unarchive ID`](#cl-triggers-returnunarchive-id)
|
|
92
|
+
* [`cl-triggers return_line_item ID`](#cl-triggers-return_line_item-id)
|
|
93
|
+
* [`cl-triggers return_line_item:restock ID`](#cl-triggers-return_line_itemrestock-id)
|
|
94
|
+
* [`cl-triggers shipment ID`](#cl-triggers-shipment-id)
|
|
95
|
+
* [`cl-triggers shipment:get_rates ID`](#cl-triggers-shipmentget_rates-id)
|
|
96
|
+
* [`cl-triggers shipment:on_hold ID`](#cl-triggers-shipmenton_hold-id)
|
|
97
|
+
* [`cl-triggers shipment:packing ID`](#cl-triggers-shipmentpacking-id)
|
|
98
|
+
* [`cl-triggers shipment:picking ID`](#cl-triggers-shipmentpicking-id)
|
|
99
|
+
* [`cl-triggers shipment:purchase ID`](#cl-triggers-shipmentpurchase-id)
|
|
100
|
+
* [`cl-triggers shipment:ready_to_ship ID`](#cl-triggers-shipmentready_to_ship-id)
|
|
101
|
+
* [`cl-triggers shipment:ship ID`](#cl-triggers-shipmentship-id)
|
|
102
|
+
* [`cl-triggers stock_transfer ID`](#cl-triggers-stock_transfer-id)
|
|
103
|
+
* [`cl-triggers stock_transfer:cancel ID`](#cl-triggers-stock_transfercancel-id)
|
|
104
|
+
* [`cl-triggers stock_transfer:complete ID`](#cl-triggers-stock_transfercomplete-id)
|
|
105
|
+
* [`cl-triggers stock_transfer:in_transit ID`](#cl-triggers-stock_transferin_transit-id)
|
|
106
|
+
* [`cl-triggers stock_transfer:picking ID`](#cl-triggers-stock_transferpicking-id)
|
|
107
|
+
* [`cl-triggers stock_transfer:upcoming ID`](#cl-triggers-stock_transferupcoming-id)
|
|
108
|
+
* [`cl-triggers stripe_payment ID`](#cl-triggers-stripe_payment-id)
|
|
109
|
+
* [`cl-triggers stripe_payment:refresh ID`](#cl-triggers-stripe_paymentrefresh-id)
|
|
110
|
+
* [`cl-triggers webhook ID`](#cl-triggers-webhook-id)
|
|
111
|
+
* [`cl-triggers webhook:reset_circuit ID`](#cl-triggers-webhookreset_circuit-id)
|
|
112
|
+
|
|
113
|
+
## `cl-triggers 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
|
+
$ cl-triggers adyen_payment ID
|
|
120
120
|
|
|
121
121
|
ARGUMENTS
|
|
122
122
|
ID the unique id of the order
|
|
@@ -127,13 +127,13 @@ OPTIONS
|
|
|
127
127
|
|
|
128
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers adyen_payment:authorize ID
|
|
137
137
|
|
|
138
138
|
ARGUMENTS
|
|
139
139
|
ID the unique id of the order
|
|
@@ -144,13 +144,13 @@ OPTIONS
|
|
|
144
144
|
|
|
145
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers adyen_payment:details ID
|
|
154
154
|
|
|
155
155
|
ARGUMENTS
|
|
156
156
|
ID the unique id of the order
|
|
@@ -161,13 +161,13 @@ OPTIONS
|
|
|
161
161
|
|
|
162
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
|
+
## `cl-triggers authorization ID`
|
|
165
165
|
|
|
166
166
|
execute an action on a resource of type authorizations
|
|
167
167
|
|
|
168
168
|
```
|
|
169
169
|
USAGE
|
|
170
|
-
$
|
|
170
|
+
$ cl-triggers authorization ID
|
|
171
171
|
|
|
172
172
|
ARGUMENTS
|
|
173
173
|
ID the unique id of the order
|
|
@@ -178,13 +178,13 @@ OPTIONS
|
|
|
178
178
|
|
|
179
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers authorization:capture ID
|
|
188
188
|
|
|
189
189
|
ARGUMENTS
|
|
190
190
|
ID the unique id of the order
|
|
@@ -195,13 +195,13 @@ OPTIONS
|
|
|
195
195
|
|
|
196
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
|
+
## `cl-triggers authorization:capture_amount_cents ID`
|
|
199
199
|
|
|
200
200
|
The associated capture amount, in cents.
|
|
201
201
|
|
|
202
202
|
```
|
|
203
203
|
USAGE
|
|
204
|
-
$
|
|
204
|
+
$ cl-triggers authorization:capture_amount_cents ID
|
|
205
205
|
|
|
206
206
|
ARGUMENTS
|
|
207
207
|
ID the unique id of the order
|
|
@@ -212,13 +212,13 @@ OPTIONS
|
|
|
212
212
|
|
|
213
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers authorization:void ID
|
|
222
222
|
|
|
223
223
|
ARGUMENTS
|
|
224
224
|
ID the unique id of the order
|
|
@@ -229,13 +229,13 @@ OPTIONS
|
|
|
229
229
|
|
|
230
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
|
+
## `cl-triggers bundle ID`
|
|
233
233
|
|
|
234
234
|
execute an action on a resource of type bundles
|
|
235
235
|
|
|
236
236
|
```
|
|
237
237
|
USAGE
|
|
238
|
-
$
|
|
238
|
+
$ cl-triggers bundle ID
|
|
239
239
|
|
|
240
240
|
ARGUMENTS
|
|
241
241
|
ID the unique id of the order
|
|
@@ -246,13 +246,13 @@ OPTIONS
|
|
|
246
246
|
|
|
247
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers bundle:compute_compare_at_amount ID
|
|
256
256
|
|
|
257
257
|
ARGUMENTS
|
|
258
258
|
ID the unique id of the order
|
|
@@ -263,13 +263,13 @@ OPTIONS
|
|
|
263
263
|
|
|
264
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
|
+
## `cl-triggers capture ID`
|
|
267
267
|
|
|
268
268
|
execute an action on a resource of type captures
|
|
269
269
|
|
|
270
270
|
```
|
|
271
271
|
USAGE
|
|
272
|
-
$
|
|
272
|
+
$ cl-triggers capture ID
|
|
273
273
|
|
|
274
274
|
ARGUMENTS
|
|
275
275
|
ID the unique id of the order
|
|
@@ -280,13 +280,13 @@ OPTIONS
|
|
|
280
280
|
|
|
281
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers capture:refund ID
|
|
290
290
|
|
|
291
291
|
ARGUMENTS
|
|
292
292
|
ID the unique id of the order
|
|
@@ -297,13 +297,13 @@ OPTIONS
|
|
|
297
297
|
|
|
298
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
|
+
## `cl-triggers capture:refund_amount_cents ID`
|
|
301
301
|
|
|
302
302
|
The associated refund amount, in cents.
|
|
303
303
|
|
|
304
304
|
```
|
|
305
305
|
USAGE
|
|
306
|
-
$
|
|
306
|
+
$ cl-triggers capture:refund_amount_cents ID
|
|
307
307
|
|
|
308
308
|
ARGUMENTS
|
|
309
309
|
ID the unique id of the order
|
|
@@ -314,13 +314,13 @@ OPTIONS
|
|
|
314
314
|
|
|
315
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers checkout_com_payment ID
|
|
324
324
|
|
|
325
325
|
ARGUMENTS
|
|
326
326
|
ID the unique id of the order
|
|
@@ -331,13 +331,13 @@ OPTIONS
|
|
|
331
331
|
|
|
332
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers checkout_com_payment:authorize ID
|
|
341
341
|
|
|
342
342
|
ARGUMENTS
|
|
343
343
|
ID the unique id of the order
|
|
@@ -348,13 +348,13 @@ OPTIONS
|
|
|
348
348
|
|
|
349
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers checkout_com_payment:details ID
|
|
358
358
|
|
|
359
359
|
ARGUMENTS
|
|
360
360
|
ID the unique id of the order
|
|
@@ -365,13 +365,13 @@ OPTIONS
|
|
|
365
365
|
|
|
366
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers checkout_com_payment:refresh ID
|
|
375
375
|
|
|
376
376
|
ARGUMENTS
|
|
377
377
|
ID the unique id of the order
|
|
@@ -382,13 +382,13 @@ OPTIONS
|
|
|
382
382
|
|
|
383
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers customer_password_reset ID
|
|
392
392
|
|
|
393
393
|
ARGUMENTS
|
|
394
394
|
ID the unique id of the order
|
|
@@ -399,13 +399,13 @@ OPTIONS
|
|
|
399
399
|
|
|
400
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers customer_password_reset:reset_password_token ID
|
|
409
409
|
|
|
410
410
|
ARGUMENTS
|
|
411
411
|
ID the unique id of the order
|
|
@@ -416,13 +416,13 @@ OPTIONS
|
|
|
416
416
|
|
|
417
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers gift_card ID
|
|
426
426
|
|
|
427
427
|
ARGUMENTS
|
|
428
428
|
ID the unique id of the order
|
|
@@ -433,13 +433,13 @@ OPTIONS
|
|
|
433
433
|
|
|
434
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers gift_card:activate ID
|
|
443
443
|
|
|
444
444
|
ARGUMENTS
|
|
445
445
|
ID the unique id of the order
|
|
@@ -450,13 +450,13 @@ OPTIONS
|
|
|
450
450
|
|
|
451
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers gift_card:balance_change_cents ID
|
|
460
460
|
|
|
461
461
|
ARGUMENTS
|
|
462
462
|
ID the unique id of the order
|
|
@@ -467,13 +467,13 @@ OPTIONS
|
|
|
467
467
|
|
|
468
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers gift_card:deactivate ID
|
|
477
477
|
|
|
478
478
|
ARGUMENTS
|
|
479
479
|
ID the unique id of the order
|
|
@@ -484,13 +484,13 @@ OPTIONS
|
|
|
484
484
|
|
|
485
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers gift_card:purchase ID
|
|
494
494
|
|
|
495
495
|
ARGUMENTS
|
|
496
496
|
ID the unique id of the order
|
|
@@ -501,13 +501,13 @@ OPTIONS
|
|
|
501
501
|
|
|
502
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers in_stock_subscription ID
|
|
511
511
|
|
|
512
512
|
ARGUMENTS
|
|
513
513
|
ID the unique id of the order
|
|
@@ -518,13 +518,13 @@ OPTIONS
|
|
|
518
518
|
|
|
519
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers in_stock_subscription:activate ID
|
|
528
528
|
|
|
529
529
|
ARGUMENTS
|
|
530
530
|
ID the unique id of the order
|
|
@@ -535,13 +535,13 @@ OPTIONS
|
|
|
535
535
|
|
|
536
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers in_stock_subscription:deactivate ID
|
|
545
545
|
|
|
546
546
|
ARGUMENTS
|
|
547
547
|
ID the unique id of the order
|
|
@@ -552,13 +552,13 @@ OPTIONS
|
|
|
552
552
|
|
|
553
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
|
+
## `cl-triggers order ID`
|
|
556
556
|
|
|
557
557
|
execute an action on a resource of type orders
|
|
558
558
|
|
|
559
559
|
```
|
|
560
560
|
USAGE
|
|
561
|
-
$
|
|
561
|
+
$ cl-triggers order ID
|
|
562
562
|
|
|
563
563
|
ARGUMENTS
|
|
564
564
|
ID the unique id of the order
|
|
@@ -569,13 +569,13 @@ OPTIONS
|
|
|
569
569
|
|
|
570
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers order:approve ID
|
|
579
579
|
|
|
580
580
|
ARGUMENTS
|
|
581
581
|
ID the unique id of the order
|
|
@@ -586,13 +586,13 @@ OPTIONS
|
|
|
586
586
|
|
|
587
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers order:approve_and_capture ID
|
|
596
596
|
|
|
597
597
|
ARGUMENTS
|
|
598
598
|
ID the unique id of the order
|
|
@@ -603,13 +603,13 @@ OPTIONS
|
|
|
603
603
|
|
|
604
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers order:archive ID
|
|
613
613
|
|
|
614
614
|
ARGUMENTS
|
|
615
615
|
ID the unique id of the order
|
|
@@ -620,13 +620,13 @@ OPTIONS
|
|
|
620
620
|
|
|
621
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
|
+
## `cl-triggers order:authorization_amount_cents ID`
|
|
624
624
|
|
|
625
625
|
The authorization amount, in cents.
|
|
626
626
|
|
|
627
627
|
```
|
|
628
628
|
USAGE
|
|
629
|
-
$
|
|
629
|
+
$ cl-triggers order:authorization_amount_cents ID
|
|
630
630
|
|
|
631
631
|
ARGUMENTS
|
|
632
632
|
ID the unique id of the order
|
|
@@ -637,13 +637,13 @@ OPTIONS
|
|
|
637
637
|
|
|
638
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers order:authorize ID
|
|
647
647
|
|
|
648
648
|
ARGUMENTS
|
|
649
649
|
ID the unique id of the order
|
|
@@ -654,13 +654,13 @@ OPTIONS
|
|
|
654
654
|
|
|
655
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers order:billing_address_clone_id ID
|
|
664
664
|
|
|
665
665
|
ARGUMENTS
|
|
666
666
|
ID the unique id of the order
|
|
@@ -672,13 +672,13 @@ OPTIONS
|
|
|
672
672
|
|
|
673
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers order:billing_address_same_as_shipping ID
|
|
682
682
|
|
|
683
683
|
ARGUMENTS
|
|
684
684
|
ID the unique id of the order
|
|
@@ -689,13 +689,13 @@ OPTIONS
|
|
|
689
689
|
|
|
690
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers order:cancel ID
|
|
699
699
|
|
|
700
700
|
ARGUMENTS
|
|
701
701
|
ID the unique id of the order
|
|
@@ -706,13 +706,13 @@ OPTIONS
|
|
|
706
706
|
|
|
707
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers order:capture ID
|
|
716
716
|
|
|
717
717
|
ARGUMENTS
|
|
718
718
|
ID the unique id of the order
|
|
@@ -723,13 +723,13 @@ OPTIONS
|
|
|
723
723
|
|
|
724
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers order:customer_payment_source_id ID
|
|
733
733
|
|
|
734
734
|
ARGUMENTS
|
|
735
735
|
ID the unique id of the order
|
|
@@ -741,13 +741,13 @@ OPTIONS
|
|
|
741
741
|
|
|
742
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers order:place ID
|
|
751
751
|
|
|
752
752
|
ARGUMENTS
|
|
753
753
|
ID the unique id of the order
|
|
@@ -758,13 +758,13 @@ OPTIONS
|
|
|
758
758
|
|
|
759
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers order:refresh ID
|
|
768
768
|
|
|
769
769
|
ARGUMENTS
|
|
770
770
|
ID the unique id of the order
|
|
@@ -775,13 +775,13 @@ OPTIONS
|
|
|
775
775
|
|
|
776
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers order:refund ID
|
|
785
785
|
|
|
786
786
|
ARGUMENTS
|
|
787
787
|
ID the unique id of the order
|
|
@@ -792,13 +792,13 @@ OPTIONS
|
|
|
792
792
|
|
|
793
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers order:save_billing_address_to_customer_address_book ID
|
|
802
802
|
|
|
803
803
|
ARGUMENTS
|
|
804
804
|
ID the unique id of the order
|
|
@@ -809,13 +809,13 @@ OPTIONS
|
|
|
809
809
|
|
|
810
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers order:save_payment_source_to_customer_wallet ID
|
|
819
819
|
|
|
820
820
|
ARGUMENTS
|
|
821
821
|
ID the unique id of the order
|
|
@@ -826,13 +826,13 @@ OPTIONS
|
|
|
826
826
|
|
|
827
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers order:save_shipping_address_to_customer_address_book ID
|
|
836
836
|
|
|
837
837
|
ARGUMENTS
|
|
838
838
|
ID the unique id of the order
|
|
@@ -843,13 +843,13 @@ OPTIONS
|
|
|
843
843
|
|
|
844
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers order:shipping_address_clone_id ID
|
|
853
853
|
|
|
854
854
|
ARGUMENTS
|
|
855
855
|
ID the unique id of the order
|
|
@@ -861,13 +861,13 @@ OPTIONS
|
|
|
861
861
|
|
|
862
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers order:shipping_address_same_as_billing ID
|
|
871
871
|
|
|
872
872
|
ARGUMENTS
|
|
873
873
|
ID the unique id of the order
|
|
@@ -878,13 +878,13 @@ OPTIONS
|
|
|
878
878
|
|
|
879
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers order:unarchive ID
|
|
888
888
|
|
|
889
889
|
ARGUMENTS
|
|
890
890
|
ID the unique id of the order
|
|
@@ -895,13 +895,13 @@ OPTIONS
|
|
|
895
895
|
|
|
896
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers order:update_taxes ID
|
|
905
905
|
|
|
906
906
|
ARGUMENTS
|
|
907
907
|
ID the unique id of the order
|
|
@@ -912,13 +912,13 @@ OPTIONS
|
|
|
912
912
|
|
|
913
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers order_subscription ID
|
|
922
922
|
|
|
923
923
|
ARGUMENTS
|
|
924
924
|
ID the unique id of the order
|
|
@@ -929,13 +929,13 @@ OPTIONS
|
|
|
929
929
|
|
|
930
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers order_subscription:activate ID
|
|
939
939
|
|
|
940
940
|
ARGUMENTS
|
|
941
941
|
ID the unique id of the order
|
|
@@ -946,13 +946,13 @@ OPTIONS
|
|
|
946
946
|
|
|
947
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers order_subscription:cancel ID
|
|
956
956
|
|
|
957
957
|
ARGUMENTS
|
|
958
958
|
ID the unique id of the order
|
|
@@ -963,13 +963,13 @@ OPTIONS
|
|
|
963
963
|
|
|
964
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers order_subscription:deactivate ID
|
|
973
973
|
|
|
974
974
|
ARGUMENTS
|
|
975
975
|
ID the unique id of the order
|
|
@@ -980,13 +980,13 @@ OPTIONS
|
|
|
980
980
|
|
|
981
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
|
+
## `cl-triggers return ID`
|
|
984
984
|
|
|
985
985
|
execute an action on a resource of type returns
|
|
986
986
|
|
|
987
987
|
```
|
|
988
988
|
USAGE
|
|
989
|
-
$
|
|
989
|
+
$ cl-triggers return ID
|
|
990
990
|
|
|
991
991
|
ARGUMENTS
|
|
992
992
|
ID the unique id of the order
|
|
@@ -997,13 +997,13 @@ OPTIONS
|
|
|
997
997
|
|
|
998
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers return:approve ID
|
|
1007
1007
|
|
|
1008
1008
|
ARGUMENTS
|
|
1009
1009
|
ID the unique id of the order
|
|
@@ -1014,13 +1014,13 @@ OPTIONS
|
|
|
1014
1014
|
|
|
1015
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers return:archive ID
|
|
1024
1024
|
|
|
1025
1025
|
ARGUMENTS
|
|
1026
1026
|
ID the unique id of the order
|
|
@@ -1031,13 +1031,13 @@ OPTIONS
|
|
|
1031
1031
|
|
|
1032
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers return:cancel ID
|
|
1041
1041
|
|
|
1042
1042
|
ARGUMENTS
|
|
1043
1043
|
ID the unique id of the order
|
|
@@ -1048,13 +1048,13 @@ OPTIONS
|
|
|
1048
1048
|
|
|
1049
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers return:receive ID
|
|
1058
1058
|
|
|
1059
1059
|
ARGUMENTS
|
|
1060
1060
|
ID the unique id of the order
|
|
@@ -1065,13 +1065,13 @@ OPTIONS
|
|
|
1065
1065
|
|
|
1066
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers return:reject ID
|
|
1075
1075
|
|
|
1076
1076
|
ARGUMENTS
|
|
1077
1077
|
ID the unique id of the order
|
|
@@ -1082,13 +1082,13 @@ OPTIONS
|
|
|
1082
1082
|
|
|
1083
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers return:request ID
|
|
1092
1092
|
|
|
1093
1093
|
ARGUMENTS
|
|
1094
1094
|
ID the unique id of the order
|
|
@@ -1099,13 +1099,13 @@ OPTIONS
|
|
|
1099
1099
|
|
|
1100
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers return:restock ID
|
|
1109
1109
|
|
|
1110
1110
|
ARGUMENTS
|
|
1111
1111
|
ID the unique id of the order
|
|
@@ -1116,13 +1116,13 @@ OPTIONS
|
|
|
1116
1116
|
|
|
1117
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers return:ship ID
|
|
1126
1126
|
|
|
1127
1127
|
ARGUMENTS
|
|
1128
1128
|
ID the unique id of the order
|
|
@@ -1133,13 +1133,13 @@ OPTIONS
|
|
|
1133
1133
|
|
|
1134
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers return:unarchive ID
|
|
1143
1143
|
|
|
1144
1144
|
ARGUMENTS
|
|
1145
1145
|
ID the unique id of the order
|
|
@@ -1150,13 +1150,13 @@ OPTIONS
|
|
|
1150
1150
|
|
|
1151
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers return_line_item ID
|
|
1160
1160
|
|
|
1161
1161
|
ARGUMENTS
|
|
1162
1162
|
ID the unique id of the order
|
|
@@ -1167,13 +1167,13 @@ OPTIONS
|
|
|
1167
1167
|
|
|
1168
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers return_line_item:restock ID
|
|
1177
1177
|
|
|
1178
1178
|
ARGUMENTS
|
|
1179
1179
|
ID the unique id of the order
|
|
@@ -1184,13 +1184,13 @@ OPTIONS
|
|
|
1184
1184
|
|
|
1185
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
|
+
## `cl-triggers shipment ID`
|
|
1188
1188
|
|
|
1189
1189
|
execute an action on a resource of type shipments
|
|
1190
1190
|
|
|
1191
1191
|
```
|
|
1192
1192
|
USAGE
|
|
1193
|
-
$
|
|
1193
|
+
$ cl-triggers shipment ID
|
|
1194
1194
|
|
|
1195
1195
|
ARGUMENTS
|
|
1196
1196
|
ID the unique id of the order
|
|
@@ -1201,13 +1201,13 @@ OPTIONS
|
|
|
1201
1201
|
|
|
1202
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers shipment:get_rates ID
|
|
1211
1211
|
|
|
1212
1212
|
ARGUMENTS
|
|
1213
1213
|
ID the unique id of the order
|
|
@@ -1218,13 +1218,13 @@ OPTIONS
|
|
|
1218
1218
|
|
|
1219
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers shipment:on_hold ID
|
|
1228
1228
|
|
|
1229
1229
|
ARGUMENTS
|
|
1230
1230
|
ID the unique id of the order
|
|
@@ -1235,13 +1235,13 @@ OPTIONS
|
|
|
1235
1235
|
|
|
1236
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers shipment:packing ID
|
|
1245
1245
|
|
|
1246
1246
|
ARGUMENTS
|
|
1247
1247
|
ID the unique id of the order
|
|
@@ -1252,13 +1252,13 @@ OPTIONS
|
|
|
1252
1252
|
|
|
1253
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers shipment:picking ID
|
|
1262
1262
|
|
|
1263
1263
|
ARGUMENTS
|
|
1264
1264
|
ID the unique id of the order
|
|
@@ -1269,13 +1269,13 @@ OPTIONS
|
|
|
1269
1269
|
|
|
1270
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers shipment:purchase ID
|
|
1279
1279
|
|
|
1280
1280
|
ARGUMENTS
|
|
1281
1281
|
ID the unique id of the order
|
|
@@ -1286,13 +1286,13 @@ OPTIONS
|
|
|
1286
1286
|
|
|
1287
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers shipment:ready_to_ship ID
|
|
1296
1296
|
|
|
1297
1297
|
ARGUMENTS
|
|
1298
1298
|
ID the unique id of the order
|
|
@@ -1303,13 +1303,13 @@ OPTIONS
|
|
|
1303
1303
|
|
|
1304
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers shipment:ship ID
|
|
1313
1313
|
|
|
1314
1314
|
ARGUMENTS
|
|
1315
1315
|
ID the unique id of the order
|
|
@@ -1320,13 +1320,13 @@ OPTIONS
|
|
|
1320
1320
|
|
|
1321
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers stock_transfer ID
|
|
1330
1330
|
|
|
1331
1331
|
ARGUMENTS
|
|
1332
1332
|
ID the unique id of the order
|
|
@@ -1337,13 +1337,13 @@ OPTIONS
|
|
|
1337
1337
|
|
|
1338
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers stock_transfer:cancel ID
|
|
1347
1347
|
|
|
1348
1348
|
ARGUMENTS
|
|
1349
1349
|
ID the unique id of the order
|
|
@@ -1354,13 +1354,13 @@ OPTIONS
|
|
|
1354
1354
|
|
|
1355
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers stock_transfer:complete ID
|
|
1364
1364
|
|
|
1365
1365
|
ARGUMENTS
|
|
1366
1366
|
ID the unique id of the order
|
|
@@ -1371,13 +1371,13 @@ OPTIONS
|
|
|
1371
1371
|
|
|
1372
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers stock_transfer:in_transit ID
|
|
1381
1381
|
|
|
1382
1382
|
ARGUMENTS
|
|
1383
1383
|
ID the unique id of the order
|
|
@@ -1388,13 +1388,13 @@ OPTIONS
|
|
|
1388
1388
|
|
|
1389
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers stock_transfer:picking ID
|
|
1398
1398
|
|
|
1399
1399
|
ARGUMENTS
|
|
1400
1400
|
ID the unique id of the order
|
|
@@ -1405,13 +1405,13 @@ OPTIONS
|
|
|
1405
1405
|
|
|
1406
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers stock_transfer:upcoming ID
|
|
1415
1415
|
|
|
1416
1416
|
ARGUMENTS
|
|
1417
1417
|
ID the unique id of the order
|
|
@@ -1422,13 +1422,13 @@ OPTIONS
|
|
|
1422
1422
|
|
|
1423
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers stripe_payment ID
|
|
1432
1432
|
|
|
1433
1433
|
ARGUMENTS
|
|
1434
1434
|
ID the unique id of the order
|
|
@@ -1439,13 +1439,13 @@ OPTIONS
|
|
|
1439
1439
|
|
|
1440
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers stripe_payment:refresh ID
|
|
1449
1449
|
|
|
1450
1450
|
ARGUMENTS
|
|
1451
1451
|
ID the unique id of the order
|
|
@@ -1456,13 +1456,13 @@ OPTIONS
|
|
|
1456
1456
|
|
|
1457
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
|
+
## `cl-triggers webhook ID`
|
|
1460
1460
|
|
|
1461
1461
|
execute an action on a resource of type webhooks
|
|
1462
1462
|
|
|
1463
1463
|
```
|
|
1464
1464
|
USAGE
|
|
1465
|
-
$
|
|
1465
|
+
$ cl-triggers webhook ID
|
|
1466
1466
|
|
|
1467
1467
|
ARGUMENTS
|
|
1468
1468
|
ID the unique id of the order
|
|
@@ -1473,13 +1473,13 @@ OPTIONS
|
|
|
1473
1473
|
|
|
1474
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
|
+
## `cl-triggers 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
|
+
$ cl-triggers webhook:reset_circuit ID
|
|
1483
1483
|
|
|
1484
1484
|
ARGUMENTS
|
|
1485
1485
|
ID the unique id of the order
|