@commercelayer/cli-plugin-triggers 1.1.3 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +379 -115
- package/bin/dev +18 -0
- package/bin/dev.cmd +3 -0
- package/bin/run +3 -3
- package/lib/base.d.ts +4 -2
- package/lib/base.js +19 -5
- package/lib/commands/adyen_payment/details.d.ts +3 -0
- package/lib/commands/adyen_payment/details.js +2 -0
- package/lib/commands/adyen_payment/index.d.ts +3 -0
- package/lib/commands/authorization/capture.d.ts +3 -0
- package/lib/commands/authorization/capture.js +2 -0
- package/lib/commands/authorization/capture_amount_cents.d.ts +3 -0
- package/lib/commands/authorization/capture_amount_cents.js +2 -0
- package/lib/commands/authorization/index.d.ts +3 -0
- package/lib/commands/authorization/void.d.ts +3 -0
- package/lib/commands/authorization/void.js +2 -0
- package/lib/commands/bundle/compute_compare_at_amount.d.ts +3 -0
- package/lib/commands/bundle/compute_compare_at_amount.js +2 -0
- package/lib/commands/bundle/compute_price_amount.d.ts +18 -0
- package/lib/commands/bundle/compute_price_amount.js +23 -0
- package/lib/commands/bundle/index.d.ts +3 -0
- package/lib/commands/capture/index.d.ts +3 -0
- package/lib/commands/capture/refund.d.ts +3 -0
- package/lib/commands/capture/refund.js +2 -0
- package/lib/commands/capture/refund_amount_cents.d.ts +3 -0
- package/lib/commands/capture/refund_amount_cents.js +2 -0
- package/lib/commands/checkout_com_payment/details.d.ts +3 -0
- package/lib/commands/checkout_com_payment/details.js +2 -0
- package/lib/commands/checkout_com_payment/index.d.ts +3 -0
- package/lib/commands/checkout_com_payment/refresh.d.ts +3 -0
- package/lib/commands/checkout_com_payment/refresh.js +2 -0
- package/lib/commands/customer_password_reset/index.d.ts +3 -0
- package/lib/commands/customer_password_reset/reset_password_token.d.ts +3 -0
- package/lib/commands/customer_password_reset/reset_password_token.js +2 -0
- package/lib/commands/gift_card/activate.d.ts +3 -0
- package/lib/commands/gift_card/activate.js +2 -0
- package/lib/commands/gift_card/balance_change_cents.d.ts +3 -0
- package/lib/commands/gift_card/balance_change_cents.js +2 -0
- package/lib/commands/gift_card/deactivate.d.ts +3 -0
- package/lib/commands/gift_card/deactivate.js +2 -0
- package/lib/commands/gift_card/index.d.ts +3 -0
- package/lib/commands/gift_card/purchase.d.ts +3 -0
- package/lib/commands/gift_card/purchase.js +2 -0
- package/lib/commands/in_stock_subscription/activate.d.ts +3 -0
- package/lib/commands/in_stock_subscription/activate.js +2 -0
- package/lib/commands/in_stock_subscription/deactivate.d.ts +3 -0
- package/lib/commands/in_stock_subscription/deactivate.js +2 -0
- package/lib/commands/in_stock_subscription/index.d.ts +3 -0
- package/lib/commands/{adyen_payment/authorize.d.ts → klarna_payment/index.d.ts} +4 -1
- package/lib/commands/klarna_payment/index.js +40 -0
- package/lib/commands/{checkout_com_payment/authorize.d.ts → klarna_payment/update.d.ts} +4 -1
- package/lib/commands/klarna_payment/update.js +23 -0
- package/lib/commands/order/approve.d.ts +3 -0
- package/lib/commands/order/approve.js +2 -0
- package/lib/commands/order/approve_and_capture.d.ts +3 -0
- package/lib/commands/order/approve_and_capture.js +2 -0
- package/lib/commands/order/archive.d.ts +3 -0
- package/lib/commands/order/archive.js +2 -0
- package/lib/commands/order/authorization_amount_cents.d.ts +3 -0
- package/lib/commands/order/authorization_amount_cents.js +2 -0
- package/lib/commands/order/authorize.d.ts +3 -0
- package/lib/commands/order/authorize.js +2 -0
- package/lib/commands/order/billing_address_clone_id.d.ts +3 -0
- package/lib/commands/order/billing_address_clone_id.js +2 -0
- package/lib/commands/order/billing_address_same_as_shipping.d.ts +3 -0
- package/lib/commands/order/billing_address_same_as_shipping.js +2 -0
- package/lib/commands/order/cancel.d.ts +3 -0
- package/lib/commands/order/cancel.js +2 -0
- package/lib/commands/order/capture.d.ts +3 -0
- package/lib/commands/order/capture.js +2 -0
- package/lib/commands/order/customer_payment_source_id.d.ts +3 -0
- package/lib/commands/order/customer_payment_source_id.js +2 -0
- package/lib/commands/order/index.d.ts +3 -0
- package/lib/commands/order/place.d.ts +3 -0
- package/lib/commands/order/place.js +2 -0
- package/lib/commands/order/refresh.d.ts +3 -0
- package/lib/commands/order/refresh.js +2 -0
- package/lib/commands/order/refund.d.ts +3 -0
- package/lib/commands/order/refund.js +2 -0
- package/lib/commands/order/save_billing_address_to_customer_address_book.d.ts +3 -0
- package/lib/commands/order/save_billing_address_to_customer_address_book.js +2 -0
- package/lib/commands/order/save_payment_source_to_customer_wallet.d.ts +3 -0
- package/lib/commands/order/save_payment_source_to_customer_wallet.js +2 -0
- package/lib/commands/order/save_shipping_address_to_customer_address_book.d.ts +3 -0
- package/lib/commands/order/save_shipping_address_to_customer_address_book.js +2 -0
- package/lib/commands/order/shipping_address_clone_id.d.ts +3 -0
- package/lib/commands/order/shipping_address_clone_id.js +2 -0
- package/lib/commands/order/shipping_address_same_as_billing.d.ts +3 -0
- package/lib/commands/order/shipping_address_same_as_billing.js +2 -0
- package/lib/commands/order/unarchive.d.ts +3 -0
- package/lib/commands/order/unarchive.js +2 -0
- package/lib/commands/order/update_taxes.d.ts +3 -0
- package/lib/commands/order/update_taxes.js +2 -0
- package/lib/commands/order_subscription/activate.d.ts +3 -0
- package/lib/commands/order_subscription/activate.js +2 -0
- package/lib/commands/order_subscription/cancel.d.ts +3 -0
- package/lib/commands/order_subscription/cancel.js +2 -0
- package/lib/commands/order_subscription/deactivate.d.ts +3 -0
- package/lib/commands/order_subscription/deactivate.js +2 -0
- package/lib/commands/order_subscription/index.d.ts +3 -0
- package/lib/commands/return/approve.d.ts +3 -0
- package/lib/commands/return/approve.js +2 -0
- package/lib/commands/return/archive.d.ts +3 -0
- package/lib/commands/return/archive.js +2 -0
- package/lib/commands/return/cancel.d.ts +3 -0
- package/lib/commands/return/cancel.js +2 -0
- package/lib/commands/return/index.d.ts +3 -0
- package/lib/commands/return/receive.d.ts +3 -0
- package/lib/commands/return/receive.js +2 -0
- package/lib/commands/return/reject.d.ts +3 -0
- package/lib/commands/return/reject.js +2 -0
- package/lib/commands/return/request.d.ts +3 -0
- package/lib/commands/return/request.js +2 -0
- package/lib/commands/return/restock.d.ts +3 -0
- package/lib/commands/return/restock.js +2 -0
- package/lib/commands/return/ship.d.ts +3 -0
- package/lib/commands/return/ship.js +2 -0
- package/lib/commands/return/unarchive.d.ts +3 -0
- package/lib/commands/return/unarchive.js +2 -0
- package/lib/commands/return_line_item/index.d.ts +3 -0
- package/lib/commands/return_line_item/restock.d.ts +3 -0
- package/lib/commands/return_line_item/restock.js +2 -0
- package/lib/commands/shipment/get_rates.d.ts +3 -0
- package/lib/commands/shipment/get_rates.js +2 -0
- package/lib/commands/shipment/index.d.ts +3 -0
- package/lib/commands/shipment/on_hold.d.ts +3 -0
- package/lib/commands/shipment/on_hold.js +2 -0
- package/lib/commands/shipment/packing.d.ts +3 -0
- package/lib/commands/shipment/packing.js +2 -0
- package/lib/commands/shipment/picking.d.ts +3 -0
- package/lib/commands/shipment/picking.js +2 -0
- package/lib/commands/shipment/purchase.d.ts +3 -0
- package/lib/commands/shipment/purchase.js +2 -0
- package/lib/commands/shipment/ready_to_ship.d.ts +3 -0
- package/lib/commands/shipment/ready_to_ship.js +2 -0
- package/lib/commands/shipment/ship.d.ts +3 -0
- package/lib/commands/shipment/ship.js +2 -0
- package/lib/commands/stock_transfer/cancel.d.ts +3 -0
- package/lib/commands/stock_transfer/cancel.js +2 -0
- package/lib/commands/stock_transfer/complete.d.ts +3 -0
- package/lib/commands/stock_transfer/complete.js +2 -0
- package/lib/commands/stock_transfer/in_transit.d.ts +3 -0
- package/lib/commands/stock_transfer/in_transit.js +2 -0
- package/lib/commands/stock_transfer/index.d.ts +3 -0
- package/lib/commands/stock_transfer/picking.d.ts +3 -0
- package/lib/commands/stock_transfer/picking.js +2 -0
- package/lib/commands/stock_transfer/upcoming.d.ts +3 -0
- package/lib/commands/stock_transfer/upcoming.js +2 -0
- package/lib/commands/stripe_payment/index.d.ts +3 -0
- package/lib/commands/stripe_payment/refresh.d.ts +3 -0
- package/lib/commands/stripe_payment/refresh.js +2 -0
- package/lib/commands/webhook/index.d.ts +3 -0
- package/lib/commands/webhook/reset_circuit.d.ts +3 -0
- package/lib/commands/webhook/reset_circuit.js +2 -0
- package/lib/triggers/adyen_payments.d.ts +1 -1
- package/lib/triggers/adyen_payments.js +0 -5
- package/lib/triggers/bundles.d.ts +1 -1
- package/lib/triggers/bundles.js +5 -0
- package/lib/triggers/checkout_com_payments.d.ts +1 -1
- package/lib/triggers/checkout_com_payments.js +0 -5
- package/lib/triggers/klarna_payments.d.ts +5 -0
- package/lib/triggers/klarna_payments.js +10 -0
- package/oclif.manifest.json +1 -1
- package/package.json +15 -16
- package/lib/commands/adyen_payment/authorize.js +0 -21
- package/lib/commands/checkout_com_payment/authorize.js +0 -21
package/README.md
CHANGED
|
@@ -21,7 +21,6 @@ Commerce Layer CLI Triggers plugin
|
|
|
21
21
|
<!-- commands -->
|
|
22
22
|
|
|
23
23
|
* [`commercelayer adyen_payment ID`](#commercelayer-adyen_payment-id)
|
|
24
|
-
* [`commercelayer adyen_payment:authorize ID`](#commercelayer-adyen_paymentauthorize-id)
|
|
25
24
|
* [`commercelayer adyen_payment:details ID`](#commercelayer-adyen_paymentdetails-id)
|
|
26
25
|
* [`commercelayer authorization ID`](#commercelayer-authorization-id)
|
|
27
26
|
* [`commercelayer authorization:capture ID`](#commercelayer-authorizationcapture-id)
|
|
@@ -29,11 +28,11 @@ Commerce Layer CLI Triggers plugin
|
|
|
29
28
|
* [`commercelayer authorization:void ID`](#commercelayer-authorizationvoid-id)
|
|
30
29
|
* [`commercelayer bundle ID`](#commercelayer-bundle-id)
|
|
31
30
|
* [`commercelayer bundle:compute_compare_at_amount ID`](#commercelayer-bundlecompute_compare_at_amount-id)
|
|
31
|
+
* [`commercelayer bundle:compute_price_amount ID`](#commercelayer-bundlecompute_price_amount-id)
|
|
32
32
|
* [`commercelayer capture ID`](#commercelayer-capture-id)
|
|
33
33
|
* [`commercelayer capture:refund ID`](#commercelayer-capturerefund-id)
|
|
34
34
|
* [`commercelayer capture:refund_amount_cents ID`](#commercelayer-capturerefund_amount_cents-id)
|
|
35
35
|
* [`commercelayer checkout_com_payment ID`](#commercelayer-checkout_com_payment-id)
|
|
36
|
-
* [`commercelayer checkout_com_payment:authorize ID`](#commercelayer-checkout_com_paymentauthorize-id)
|
|
37
36
|
* [`commercelayer checkout_com_payment:details ID`](#commercelayer-checkout_com_paymentdetails-id)
|
|
38
37
|
* [`commercelayer checkout_com_payment:refresh ID`](#commercelayer-checkout_com_paymentrefresh-id)
|
|
39
38
|
* [`commercelayer customer_password_reset ID`](#commercelayer-customer_password_reset-id)
|
|
@@ -46,6 +45,8 @@ Commerce Layer CLI Triggers plugin
|
|
|
46
45
|
* [`commercelayer in_stock_subscription ID`](#commercelayer-in_stock_subscription-id)
|
|
47
46
|
* [`commercelayer in_stock_subscription:activate ID`](#commercelayer-in_stock_subscriptionactivate-id)
|
|
48
47
|
* [`commercelayer in_stock_subscription:deactivate ID`](#commercelayer-in_stock_subscriptiondeactivate-id)
|
|
48
|
+
* [`commercelayer klarna_payment ID`](#commercelayer-klarna_payment-id)
|
|
49
|
+
* [`commercelayer klarna_payment:update ID`](#commercelayer-klarna_paymentupdate-id)
|
|
49
50
|
* [`commercelayer order ID`](#commercelayer-order-id)
|
|
50
51
|
* [`commercelayer order:approve ID`](#commercelayer-orderapprove-id)
|
|
51
52
|
* [`commercelayer order:approve_and_capture ID`](#commercelayer-orderapprove_and_capture-id)
|
|
@@ -111,31 +112,17 @@ USAGE
|
|
|
111
112
|
$ commercelayer adyen_payment ID
|
|
112
113
|
|
|
113
114
|
ARGUMENTS
|
|
114
|
-
ID the unique id of the
|
|
115
|
+
ID the unique id of the resource
|
|
115
116
|
|
|
116
117
|
OPTIONS
|
|
118
|
+
-j, --json print result in JSON format
|
|
117
119
|
-o, --organization=organization (required) the slug of your organization
|
|
120
|
+
-p, --print print out the modified resource
|
|
121
|
+
-u, --unformatted print JSON output without indentation
|
|
118
122
|
```
|
|
119
123
|
|
|
120
124
|
_See code: [src/commands/adyen_payment/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/adyen_payment/index.ts)_
|
|
121
125
|
|
|
122
|
-
### `commercelayer adyen_payment:authorize ID`
|
|
123
|
-
|
|
124
|
-
Send this attribute if you want to authorize the payment..
|
|
125
|
-
|
|
126
|
-
```
|
|
127
|
-
USAGE
|
|
128
|
-
$ commercelayer adyen_payment:authorize ID
|
|
129
|
-
|
|
130
|
-
ARGUMENTS
|
|
131
|
-
ID the unique id of the order
|
|
132
|
-
|
|
133
|
-
OPTIONS
|
|
134
|
-
-o, --organization=organization (required) the slug of your organization
|
|
135
|
-
```
|
|
136
|
-
|
|
137
|
-
_See code: [src/commands/adyen_payment/authorize.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/adyen_payment/authorize.ts)_
|
|
138
|
-
|
|
139
126
|
### `commercelayer adyen_payment:details ID`
|
|
140
127
|
|
|
141
128
|
Send this attribute if you want to send additional details the payment request..
|
|
@@ -145,10 +132,13 @@ USAGE
|
|
|
145
132
|
$ commercelayer adyen_payment:details ID
|
|
146
133
|
|
|
147
134
|
ARGUMENTS
|
|
148
|
-
ID the unique id of the
|
|
135
|
+
ID the unique id of the resource
|
|
149
136
|
|
|
150
137
|
OPTIONS
|
|
138
|
+
-j, --json print result in JSON format
|
|
151
139
|
-o, --organization=organization (required) the slug of your organization
|
|
140
|
+
-p, --print print out the modified resource
|
|
141
|
+
-u, --unformatted print JSON output without indentation
|
|
152
142
|
```
|
|
153
143
|
|
|
154
144
|
_See code: [src/commands/adyen_payment/details.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/adyen_payment/details.ts)_
|
|
@@ -162,10 +152,13 @@ USAGE
|
|
|
162
152
|
$ commercelayer authorization ID
|
|
163
153
|
|
|
164
154
|
ARGUMENTS
|
|
165
|
-
ID the unique id of the
|
|
155
|
+
ID the unique id of the resource
|
|
166
156
|
|
|
167
157
|
OPTIONS
|
|
158
|
+
-j, --json print result in JSON format
|
|
168
159
|
-o, --organization=organization (required) the slug of your organization
|
|
160
|
+
-p, --print print out the modified resource
|
|
161
|
+
-u, --unformatted print JSON output without indentation
|
|
169
162
|
```
|
|
170
163
|
|
|
171
164
|
_See code: [src/commands/authorization/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/authorization/index.ts)_
|
|
@@ -179,10 +172,13 @@ USAGE
|
|
|
179
172
|
$ commercelayer authorization:capture ID
|
|
180
173
|
|
|
181
174
|
ARGUMENTS
|
|
182
|
-
ID the unique id of the
|
|
175
|
+
ID the unique id of the resource
|
|
183
176
|
|
|
184
177
|
OPTIONS
|
|
178
|
+
-j, --json print result in JSON format
|
|
185
179
|
-o, --organization=organization (required) the slug of your organization
|
|
180
|
+
-p, --print print out the modified resource
|
|
181
|
+
-u, --unformatted print JSON output without indentation
|
|
186
182
|
```
|
|
187
183
|
|
|
188
184
|
_See code: [src/commands/authorization/capture.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/authorization/capture.ts)_
|
|
@@ -196,10 +192,13 @@ USAGE
|
|
|
196
192
|
$ commercelayer authorization:capture_amount_cents ID
|
|
197
193
|
|
|
198
194
|
ARGUMENTS
|
|
199
|
-
ID the unique id of the
|
|
195
|
+
ID the unique id of the resource
|
|
200
196
|
|
|
201
197
|
OPTIONS
|
|
198
|
+
-j, --json print result in JSON format
|
|
202
199
|
-o, --organization=organization (required) the slug of your organization
|
|
200
|
+
-p, --print print out the modified resource
|
|
201
|
+
-u, --unformatted print JSON output without indentation
|
|
203
202
|
```
|
|
204
203
|
|
|
205
204
|
_See code: [src/commands/authorization/capture_amount_cents.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/authorization/capture_amount_cents.ts)_
|
|
@@ -213,10 +212,13 @@ USAGE
|
|
|
213
212
|
$ commercelayer authorization:void ID
|
|
214
213
|
|
|
215
214
|
ARGUMENTS
|
|
216
|
-
ID the unique id of the
|
|
215
|
+
ID the unique id of the resource
|
|
217
216
|
|
|
218
217
|
OPTIONS
|
|
218
|
+
-j, --json print result in JSON format
|
|
219
219
|
-o, --organization=organization (required) the slug of your organization
|
|
220
|
+
-p, --print print out the modified resource
|
|
221
|
+
-u, --unformatted print JSON output without indentation
|
|
220
222
|
```
|
|
221
223
|
|
|
222
224
|
_See code: [src/commands/authorization/void.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/authorization/void.ts)_
|
|
@@ -230,10 +232,13 @@ USAGE
|
|
|
230
232
|
$ commercelayer bundle ID
|
|
231
233
|
|
|
232
234
|
ARGUMENTS
|
|
233
|
-
ID the unique id of the
|
|
235
|
+
ID the unique id of the resource
|
|
234
236
|
|
|
235
237
|
OPTIONS
|
|
238
|
+
-j, --json print result in JSON format
|
|
236
239
|
-o, --organization=organization (required) the slug of your organization
|
|
240
|
+
-p, --print print out the modified resource
|
|
241
|
+
-u, --unformatted print JSON output without indentation
|
|
237
242
|
```
|
|
238
243
|
|
|
239
244
|
_See code: [src/commands/bundle/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/bundle/index.ts)_
|
|
@@ -247,14 +252,37 @@ USAGE
|
|
|
247
252
|
$ commercelayer bundle:compute_compare_at_amount ID
|
|
248
253
|
|
|
249
254
|
ARGUMENTS
|
|
250
|
-
ID the unique id of the
|
|
255
|
+
ID the unique id of the resource
|
|
251
256
|
|
|
252
257
|
OPTIONS
|
|
258
|
+
-j, --json print result in JSON format
|
|
253
259
|
-o, --organization=organization (required) the slug of your organization
|
|
260
|
+
-p, --print print out the modified resource
|
|
261
|
+
-u, --unformatted print JSON output without indentation
|
|
254
262
|
```
|
|
255
263
|
|
|
256
264
|
_See code: [src/commands/bundle/compute_compare_at_amount.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/bundle/compute_compare_at_amount.ts)_
|
|
257
265
|
|
|
266
|
+
### `commercelayer bundle:compute_price_amount ID`
|
|
267
|
+
|
|
268
|
+
Send this attribute if you want to compute the price_amount_cents as the sum of the prices of the bundle SKUs for the market..
|
|
269
|
+
|
|
270
|
+
```
|
|
271
|
+
USAGE
|
|
272
|
+
$ commercelayer bundle:compute_price_amount ID
|
|
273
|
+
|
|
274
|
+
ARGUMENTS
|
|
275
|
+
ID the unique id of the resource
|
|
276
|
+
|
|
277
|
+
OPTIONS
|
|
278
|
+
-j, --json print result in JSON format
|
|
279
|
+
-o, --organization=organization (required) the slug of your organization
|
|
280
|
+
-p, --print print out the modified resource
|
|
281
|
+
-u, --unformatted print JSON output without indentation
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
_See code: [src/commands/bundle/compute_price_amount.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/bundle/compute_price_amount.ts)_
|
|
285
|
+
|
|
258
286
|
### `commercelayer capture ID`
|
|
259
287
|
|
|
260
288
|
Execute an action on a resource of type captures.
|
|
@@ -264,10 +292,13 @@ USAGE
|
|
|
264
292
|
$ commercelayer capture ID
|
|
265
293
|
|
|
266
294
|
ARGUMENTS
|
|
267
|
-
ID the unique id of the
|
|
295
|
+
ID the unique id of the resource
|
|
268
296
|
|
|
269
297
|
OPTIONS
|
|
298
|
+
-j, --json print result in JSON format
|
|
270
299
|
-o, --organization=organization (required) the slug of your organization
|
|
300
|
+
-p, --print print out the modified resource
|
|
301
|
+
-u, --unformatted print JSON output without indentation
|
|
271
302
|
```
|
|
272
303
|
|
|
273
304
|
_See code: [src/commands/capture/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/capture/index.ts)_
|
|
@@ -281,10 +312,13 @@ USAGE
|
|
|
281
312
|
$ commercelayer capture:refund ID
|
|
282
313
|
|
|
283
314
|
ARGUMENTS
|
|
284
|
-
ID the unique id of the
|
|
315
|
+
ID the unique id of the resource
|
|
285
316
|
|
|
286
317
|
OPTIONS
|
|
318
|
+
-j, --json print result in JSON format
|
|
287
319
|
-o, --organization=organization (required) the slug of your organization
|
|
320
|
+
-p, --print print out the modified resource
|
|
321
|
+
-u, --unformatted print JSON output without indentation
|
|
288
322
|
```
|
|
289
323
|
|
|
290
324
|
_See code: [src/commands/capture/refund.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/capture/refund.ts)_
|
|
@@ -298,10 +332,13 @@ USAGE
|
|
|
298
332
|
$ commercelayer capture:refund_amount_cents ID
|
|
299
333
|
|
|
300
334
|
ARGUMENTS
|
|
301
|
-
ID the unique id of the
|
|
335
|
+
ID the unique id of the resource
|
|
302
336
|
|
|
303
337
|
OPTIONS
|
|
338
|
+
-j, --json print result in JSON format
|
|
304
339
|
-o, --organization=organization (required) the slug of your organization
|
|
340
|
+
-p, --print print out the modified resource
|
|
341
|
+
-u, --unformatted print JSON output without indentation
|
|
305
342
|
```
|
|
306
343
|
|
|
307
344
|
_See code: [src/commands/capture/refund_amount_cents.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/capture/refund_amount_cents.ts)_
|
|
@@ -315,31 +352,17 @@ USAGE
|
|
|
315
352
|
$ commercelayer checkout_com_payment ID
|
|
316
353
|
|
|
317
354
|
ARGUMENTS
|
|
318
|
-
ID the unique id of the
|
|
355
|
+
ID the unique id of the resource
|
|
319
356
|
|
|
320
357
|
OPTIONS
|
|
358
|
+
-j, --json print result in JSON format
|
|
321
359
|
-o, --organization=organization (required) the slug of your organization
|
|
360
|
+
-p, --print print out the modified resource
|
|
361
|
+
-u, --unformatted print JSON output without indentation
|
|
322
362
|
```
|
|
323
363
|
|
|
324
364
|
_See code: [src/commands/checkout_com_payment/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/checkout_com_payment/index.ts)_
|
|
325
365
|
|
|
326
|
-
### `commercelayer checkout_com_payment:authorize ID`
|
|
327
|
-
|
|
328
|
-
Send this attribute if you want to authorize the payment..
|
|
329
|
-
|
|
330
|
-
```
|
|
331
|
-
USAGE
|
|
332
|
-
$ commercelayer checkout_com_payment:authorize ID
|
|
333
|
-
|
|
334
|
-
ARGUMENTS
|
|
335
|
-
ID the unique id of the order
|
|
336
|
-
|
|
337
|
-
OPTIONS
|
|
338
|
-
-o, --organization=organization (required) the slug of your organization
|
|
339
|
-
```
|
|
340
|
-
|
|
341
|
-
_See code: [src/commands/checkout_com_payment/authorize.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/checkout_com_payment/authorize.ts)_
|
|
342
|
-
|
|
343
366
|
### `commercelayer checkout_com_payment:details ID`
|
|
344
367
|
|
|
345
368
|
Send this attribute if you want to send additional details the payment request (i.e. upon 3DS check)..
|
|
@@ -349,10 +372,13 @@ USAGE
|
|
|
349
372
|
$ commercelayer checkout_com_payment:details ID
|
|
350
373
|
|
|
351
374
|
ARGUMENTS
|
|
352
|
-
ID the unique id of the
|
|
375
|
+
ID the unique id of the resource
|
|
353
376
|
|
|
354
377
|
OPTIONS
|
|
378
|
+
-j, --json print result in JSON format
|
|
355
379
|
-o, --organization=organization (required) the slug of your organization
|
|
380
|
+
-p, --print print out the modified resource
|
|
381
|
+
-u, --unformatted print JSON output without indentation
|
|
356
382
|
```
|
|
357
383
|
|
|
358
384
|
_See code: [src/commands/checkout_com_payment/details.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/checkout_com_payment/details.ts)_
|
|
@@ -366,10 +392,13 @@ USAGE
|
|
|
366
392
|
$ commercelayer checkout_com_payment:refresh ID
|
|
367
393
|
|
|
368
394
|
ARGUMENTS
|
|
369
|
-
ID the unique id of the
|
|
395
|
+
ID the unique id of the resource
|
|
370
396
|
|
|
371
397
|
OPTIONS
|
|
398
|
+
-j, --json print result in JSON format
|
|
372
399
|
-o, --organization=organization (required) the slug of your organization
|
|
400
|
+
-p, --print print out the modified resource
|
|
401
|
+
-u, --unformatted print JSON output without indentation
|
|
373
402
|
```
|
|
374
403
|
|
|
375
404
|
_See code: [src/commands/checkout_com_payment/refresh.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/checkout_com_payment/refresh.ts)_
|
|
@@ -383,10 +412,13 @@ USAGE
|
|
|
383
412
|
$ commercelayer customer_password_reset ID
|
|
384
413
|
|
|
385
414
|
ARGUMENTS
|
|
386
|
-
ID the unique id of the
|
|
415
|
+
ID the unique id of the resource
|
|
387
416
|
|
|
388
417
|
OPTIONS
|
|
418
|
+
-j, --json print result in JSON format
|
|
389
419
|
-o, --organization=organization (required) the slug of your organization
|
|
420
|
+
-p, --print print out the modified resource
|
|
421
|
+
-u, --unformatted print JSON output without indentation
|
|
390
422
|
```
|
|
391
423
|
|
|
392
424
|
_See code: [src/commands/customer_password_reset/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/customer_password_reset/index.ts)_
|
|
@@ -400,10 +432,13 @@ USAGE
|
|
|
400
432
|
$ commercelayer customer_password_reset:reset_password_token ID
|
|
401
433
|
|
|
402
434
|
ARGUMENTS
|
|
403
|
-
ID the unique id of the
|
|
435
|
+
ID the unique id of the resource
|
|
404
436
|
|
|
405
437
|
OPTIONS
|
|
438
|
+
-j, --json print result in JSON format
|
|
406
439
|
-o, --organization=organization (required) the slug of your organization
|
|
440
|
+
-p, --print print out the modified resource
|
|
441
|
+
-u, --unformatted print JSON output without indentation
|
|
407
442
|
```
|
|
408
443
|
|
|
409
444
|
_See code: [src/commands/customer_password_reset/reset_password_token.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/customer_password_reset/reset_password_token.ts)_
|
|
@@ -417,10 +452,13 @@ USAGE
|
|
|
417
452
|
$ commercelayer gift_card ID
|
|
418
453
|
|
|
419
454
|
ARGUMENTS
|
|
420
|
-
ID the unique id of the
|
|
455
|
+
ID the unique id of the resource
|
|
421
456
|
|
|
422
457
|
OPTIONS
|
|
458
|
+
-j, --json print result in JSON format
|
|
423
459
|
-o, --organization=organization (required) the slug of your organization
|
|
460
|
+
-p, --print print out the modified resource
|
|
461
|
+
-u, --unformatted print JSON output without indentation
|
|
424
462
|
```
|
|
425
463
|
|
|
426
464
|
_See code: [src/commands/gift_card/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/gift_card/index.ts)_
|
|
@@ -434,10 +472,13 @@ USAGE
|
|
|
434
472
|
$ commercelayer gift_card:activate ID
|
|
435
473
|
|
|
436
474
|
ARGUMENTS
|
|
437
|
-
ID the unique id of the
|
|
475
|
+
ID the unique id of the resource
|
|
438
476
|
|
|
439
477
|
OPTIONS
|
|
478
|
+
-j, --json print result in JSON format
|
|
440
479
|
-o, --organization=organization (required) the slug of your organization
|
|
480
|
+
-p, --print print out the modified resource
|
|
481
|
+
-u, --unformatted print JSON output without indentation
|
|
441
482
|
```
|
|
442
483
|
|
|
443
484
|
_See code: [src/commands/gift_card/activate.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/gift_card/activate.ts)_
|
|
@@ -451,10 +492,13 @@ USAGE
|
|
|
451
492
|
$ commercelayer gift_card:balance_change_cents ID
|
|
452
493
|
|
|
453
494
|
ARGUMENTS
|
|
454
|
-
ID the unique id of the
|
|
495
|
+
ID the unique id of the resource
|
|
455
496
|
|
|
456
497
|
OPTIONS
|
|
498
|
+
-j, --json print result in JSON format
|
|
457
499
|
-o, --organization=organization (required) the slug of your organization
|
|
500
|
+
-p, --print print out the modified resource
|
|
501
|
+
-u, --unformatted print JSON output without indentation
|
|
458
502
|
```
|
|
459
503
|
|
|
460
504
|
_See code: [src/commands/gift_card/balance_change_cents.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/gift_card/balance_change_cents.ts)_
|
|
@@ -468,10 +512,13 @@ USAGE
|
|
|
468
512
|
$ commercelayer gift_card:deactivate ID
|
|
469
513
|
|
|
470
514
|
ARGUMENTS
|
|
471
|
-
ID the unique id of the
|
|
515
|
+
ID the unique id of the resource
|
|
472
516
|
|
|
473
517
|
OPTIONS
|
|
518
|
+
-j, --json print result in JSON format
|
|
474
519
|
-o, --organization=organization (required) the slug of your organization
|
|
520
|
+
-p, --print print out the modified resource
|
|
521
|
+
-u, --unformatted print JSON output without indentation
|
|
475
522
|
```
|
|
476
523
|
|
|
477
524
|
_See code: [src/commands/gift_card/deactivate.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/gift_card/deactivate.ts)_
|
|
@@ -485,10 +532,13 @@ USAGE
|
|
|
485
532
|
$ commercelayer gift_card:purchase ID
|
|
486
533
|
|
|
487
534
|
ARGUMENTS
|
|
488
|
-
ID the unique id of the
|
|
535
|
+
ID the unique id of the resource
|
|
489
536
|
|
|
490
537
|
OPTIONS
|
|
538
|
+
-j, --json print result in JSON format
|
|
491
539
|
-o, --organization=organization (required) the slug of your organization
|
|
540
|
+
-p, --print print out the modified resource
|
|
541
|
+
-u, --unformatted print JSON output without indentation
|
|
492
542
|
```
|
|
493
543
|
|
|
494
544
|
_See code: [src/commands/gift_card/purchase.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/gift_card/purchase.ts)_
|
|
@@ -502,10 +552,13 @@ USAGE
|
|
|
502
552
|
$ commercelayer in_stock_subscription ID
|
|
503
553
|
|
|
504
554
|
ARGUMENTS
|
|
505
|
-
ID the unique id of the
|
|
555
|
+
ID the unique id of the resource
|
|
506
556
|
|
|
507
557
|
OPTIONS
|
|
558
|
+
-j, --json print result in JSON format
|
|
508
559
|
-o, --organization=organization (required) the slug of your organization
|
|
560
|
+
-p, --print print out the modified resource
|
|
561
|
+
-u, --unformatted print JSON output without indentation
|
|
509
562
|
```
|
|
510
563
|
|
|
511
564
|
_See code: [src/commands/in_stock_subscription/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/in_stock_subscription/index.ts)_
|
|
@@ -519,10 +572,13 @@ USAGE
|
|
|
519
572
|
$ commercelayer in_stock_subscription:activate ID
|
|
520
573
|
|
|
521
574
|
ARGUMENTS
|
|
522
|
-
ID the unique id of the
|
|
575
|
+
ID the unique id of the resource
|
|
523
576
|
|
|
524
577
|
OPTIONS
|
|
578
|
+
-j, --json print result in JSON format
|
|
525
579
|
-o, --organization=organization (required) the slug of your organization
|
|
580
|
+
-p, --print print out the modified resource
|
|
581
|
+
-u, --unformatted print JSON output without indentation
|
|
526
582
|
```
|
|
527
583
|
|
|
528
584
|
_See code: [src/commands/in_stock_subscription/activate.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/in_stock_subscription/activate.ts)_
|
|
@@ -536,14 +592,57 @@ USAGE
|
|
|
536
592
|
$ commercelayer in_stock_subscription:deactivate ID
|
|
537
593
|
|
|
538
594
|
ARGUMENTS
|
|
539
|
-
ID the unique id of the
|
|
595
|
+
ID the unique id of the resource
|
|
540
596
|
|
|
541
597
|
OPTIONS
|
|
598
|
+
-j, --json print result in JSON format
|
|
542
599
|
-o, --organization=organization (required) the slug of your organization
|
|
600
|
+
-p, --print print out the modified resource
|
|
601
|
+
-u, --unformatted print JSON output without indentation
|
|
543
602
|
```
|
|
544
603
|
|
|
545
604
|
_See code: [src/commands/in_stock_subscription/deactivate.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/in_stock_subscription/deactivate.ts)_
|
|
546
605
|
|
|
606
|
+
### `commercelayer klarna_payment ID`
|
|
607
|
+
|
|
608
|
+
Execute an action on a resource of type klarna_payments.
|
|
609
|
+
|
|
610
|
+
```
|
|
611
|
+
USAGE
|
|
612
|
+
$ commercelayer klarna_payment ID
|
|
613
|
+
|
|
614
|
+
ARGUMENTS
|
|
615
|
+
ID the unique id of the resource
|
|
616
|
+
|
|
617
|
+
OPTIONS
|
|
618
|
+
-j, --json print result in JSON format
|
|
619
|
+
-o, --organization=organization (required) the slug of your organization
|
|
620
|
+
-p, --print print out the modified resource
|
|
621
|
+
-u, --unformatted print JSON output without indentation
|
|
622
|
+
```
|
|
623
|
+
|
|
624
|
+
_See code: [src/commands/klarna_payment/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/klarna_payment/index.ts)_
|
|
625
|
+
|
|
626
|
+
### `commercelayer klarna_payment:update ID`
|
|
627
|
+
|
|
628
|
+
Send this attribute if you want to update the payment session with fresh order data..
|
|
629
|
+
|
|
630
|
+
```
|
|
631
|
+
USAGE
|
|
632
|
+
$ commercelayer klarna_payment:update ID
|
|
633
|
+
|
|
634
|
+
ARGUMENTS
|
|
635
|
+
ID the unique id of the resource
|
|
636
|
+
|
|
637
|
+
OPTIONS
|
|
638
|
+
-j, --json print result in JSON format
|
|
639
|
+
-o, --organization=organization (required) the slug of your organization
|
|
640
|
+
-p, --print print out the modified resource
|
|
641
|
+
-u, --unformatted print JSON output without indentation
|
|
642
|
+
```
|
|
643
|
+
|
|
644
|
+
_See code: [src/commands/klarna_payment/update.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/klarna_payment/update.ts)_
|
|
645
|
+
|
|
547
646
|
### `commercelayer order ID`
|
|
548
647
|
|
|
549
648
|
Execute an action on a resource of type orders.
|
|
@@ -553,10 +652,13 @@ USAGE
|
|
|
553
652
|
$ commercelayer order ID
|
|
554
653
|
|
|
555
654
|
ARGUMENTS
|
|
556
|
-
ID the unique id of the
|
|
655
|
+
ID the unique id of the resource
|
|
557
656
|
|
|
558
657
|
OPTIONS
|
|
658
|
+
-j, --json print result in JSON format
|
|
559
659
|
-o, --organization=organization (required) the slug of your organization
|
|
660
|
+
-p, --print print out the modified resource
|
|
661
|
+
-u, --unformatted print JSON output without indentation
|
|
560
662
|
```
|
|
561
663
|
|
|
562
664
|
_See code: [src/commands/order/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/index.ts)_
|
|
@@ -570,10 +672,13 @@ USAGE
|
|
|
570
672
|
$ commercelayer order:approve ID
|
|
571
673
|
|
|
572
674
|
ARGUMENTS
|
|
573
|
-
ID the unique id of the
|
|
675
|
+
ID the unique id of the resource
|
|
574
676
|
|
|
575
677
|
OPTIONS
|
|
678
|
+
-j, --json print result in JSON format
|
|
576
679
|
-o, --organization=organization (required) the slug of your organization
|
|
680
|
+
-p, --print print out the modified resource
|
|
681
|
+
-u, --unformatted print JSON output without indentation
|
|
577
682
|
```
|
|
578
683
|
|
|
579
684
|
_See code: [src/commands/order/approve.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/approve.ts)_
|
|
@@ -587,10 +692,13 @@ USAGE
|
|
|
587
692
|
$ commercelayer order:approve_and_capture ID
|
|
588
693
|
|
|
589
694
|
ARGUMENTS
|
|
590
|
-
ID the unique id of the
|
|
695
|
+
ID the unique id of the resource
|
|
591
696
|
|
|
592
697
|
OPTIONS
|
|
698
|
+
-j, --json print result in JSON format
|
|
593
699
|
-o, --organization=organization (required) the slug of your organization
|
|
700
|
+
-p, --print print out the modified resource
|
|
701
|
+
-u, --unformatted print JSON output without indentation
|
|
594
702
|
```
|
|
595
703
|
|
|
596
704
|
_See code: [src/commands/order/approve_and_capture.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/approve_and_capture.ts)_
|
|
@@ -604,10 +712,13 @@ USAGE
|
|
|
604
712
|
$ commercelayer order:archive ID
|
|
605
713
|
|
|
606
714
|
ARGUMENTS
|
|
607
|
-
ID the unique id of the
|
|
715
|
+
ID the unique id of the resource
|
|
608
716
|
|
|
609
717
|
OPTIONS
|
|
718
|
+
-j, --json print result in JSON format
|
|
610
719
|
-o, --organization=organization (required) the slug of your organization
|
|
720
|
+
-p, --print print out the modified resource
|
|
721
|
+
-u, --unformatted print JSON output without indentation
|
|
611
722
|
```
|
|
612
723
|
|
|
613
724
|
_See code: [src/commands/order/archive.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/archive.ts)_
|
|
@@ -621,10 +732,13 @@ USAGE
|
|
|
621
732
|
$ commercelayer order:authorization_amount_cents ID
|
|
622
733
|
|
|
623
734
|
ARGUMENTS
|
|
624
|
-
ID the unique id of the
|
|
735
|
+
ID the unique id of the resource
|
|
625
736
|
|
|
626
737
|
OPTIONS
|
|
738
|
+
-j, --json print result in JSON format
|
|
627
739
|
-o, --organization=organization (required) the slug of your organization
|
|
740
|
+
-p, --print print out the modified resource
|
|
741
|
+
-u, --unformatted print JSON output without indentation
|
|
628
742
|
```
|
|
629
743
|
|
|
630
744
|
_See code: [src/commands/order/authorization_amount_cents.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/authorization_amount_cents.ts)_
|
|
@@ -638,10 +752,13 @@ USAGE
|
|
|
638
752
|
$ commercelayer order:authorize ID
|
|
639
753
|
|
|
640
754
|
ARGUMENTS
|
|
641
|
-
ID the unique id of the
|
|
755
|
+
ID the unique id of the resource
|
|
642
756
|
|
|
643
757
|
OPTIONS
|
|
758
|
+
-j, --json print result in JSON format
|
|
644
759
|
-o, --organization=organization (required) the slug of your organization
|
|
760
|
+
-p, --print print out the modified resource
|
|
761
|
+
-u, --unformatted print JSON output without indentation
|
|
645
762
|
```
|
|
646
763
|
|
|
647
764
|
_See code: [src/commands/order/authorize.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/authorize.ts)_
|
|
@@ -655,10 +772,13 @@ USAGE
|
|
|
655
772
|
$ commercelayer order:billing_address_clone_id ID
|
|
656
773
|
|
|
657
774
|
ARGUMENTS
|
|
658
|
-
ID the unique id of the
|
|
775
|
+
ID the unique id of the resource
|
|
659
776
|
|
|
660
777
|
OPTIONS
|
|
778
|
+
-j, --json print result in JSON format
|
|
661
779
|
-o, --organization=organization (required) the slug of your organization
|
|
780
|
+
-p, --print print out the modified resource
|
|
781
|
+
-u, --unformatted print JSON output without indentation
|
|
662
782
|
-v, --value=value (required) the trigger attribute value
|
|
663
783
|
```
|
|
664
784
|
|
|
@@ -673,10 +793,13 @@ USAGE
|
|
|
673
793
|
$ commercelayer order:billing_address_same_as_shipping ID
|
|
674
794
|
|
|
675
795
|
ARGUMENTS
|
|
676
|
-
ID the unique id of the
|
|
796
|
+
ID the unique id of the resource
|
|
677
797
|
|
|
678
798
|
OPTIONS
|
|
799
|
+
-j, --json print result in JSON format
|
|
679
800
|
-o, --organization=organization (required) the slug of your organization
|
|
801
|
+
-p, --print print out the modified resource
|
|
802
|
+
-u, --unformatted print JSON output without indentation
|
|
680
803
|
```
|
|
681
804
|
|
|
682
805
|
_See code: [src/commands/order/billing_address_same_as_shipping.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/billing_address_same_as_shipping.ts)_
|
|
@@ -690,10 +813,13 @@ USAGE
|
|
|
690
813
|
$ commercelayer order:cancel ID
|
|
691
814
|
|
|
692
815
|
ARGUMENTS
|
|
693
|
-
ID the unique id of the
|
|
816
|
+
ID the unique id of the resource
|
|
694
817
|
|
|
695
818
|
OPTIONS
|
|
819
|
+
-j, --json print result in JSON format
|
|
696
820
|
-o, --organization=organization (required) the slug of your organization
|
|
821
|
+
-p, --print print out the modified resource
|
|
822
|
+
-u, --unformatted print JSON output without indentation
|
|
697
823
|
```
|
|
698
824
|
|
|
699
825
|
_See code: [src/commands/order/cancel.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/cancel.ts)_
|
|
@@ -707,10 +833,13 @@ USAGE
|
|
|
707
833
|
$ commercelayer order:capture ID
|
|
708
834
|
|
|
709
835
|
ARGUMENTS
|
|
710
|
-
ID the unique id of the
|
|
836
|
+
ID the unique id of the resource
|
|
711
837
|
|
|
712
838
|
OPTIONS
|
|
839
|
+
-j, --json print result in JSON format
|
|
713
840
|
-o, --organization=organization (required) the slug of your organization
|
|
841
|
+
-p, --print print out the modified resource
|
|
842
|
+
-u, --unformatted print JSON output without indentation
|
|
714
843
|
```
|
|
715
844
|
|
|
716
845
|
_See code: [src/commands/order/capture.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/capture.ts)_
|
|
@@ -724,10 +853,13 @@ USAGE
|
|
|
724
853
|
$ commercelayer order:customer_payment_source_id ID
|
|
725
854
|
|
|
726
855
|
ARGUMENTS
|
|
727
|
-
ID the unique id of the
|
|
856
|
+
ID the unique id of the resource
|
|
728
857
|
|
|
729
858
|
OPTIONS
|
|
859
|
+
-j, --json print result in JSON format
|
|
730
860
|
-o, --organization=organization (required) the slug of your organization
|
|
861
|
+
-p, --print print out the modified resource
|
|
862
|
+
-u, --unformatted print JSON output without indentation
|
|
731
863
|
-v, --value=value (required) the trigger attribute value
|
|
732
864
|
```
|
|
733
865
|
|
|
@@ -742,10 +874,13 @@ USAGE
|
|
|
742
874
|
$ commercelayer order:place ID
|
|
743
875
|
|
|
744
876
|
ARGUMENTS
|
|
745
|
-
ID the unique id of the
|
|
877
|
+
ID the unique id of the resource
|
|
746
878
|
|
|
747
879
|
OPTIONS
|
|
880
|
+
-j, --json print result in JSON format
|
|
748
881
|
-o, --organization=organization (required) the slug of your organization
|
|
882
|
+
-p, --print print out the modified resource
|
|
883
|
+
-u, --unformatted print JSON output without indentation
|
|
749
884
|
```
|
|
750
885
|
|
|
751
886
|
_See code: [src/commands/order/place.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/place.ts)_
|
|
@@ -759,10 +894,13 @@ USAGE
|
|
|
759
894
|
$ commercelayer order:refresh ID
|
|
760
895
|
|
|
761
896
|
ARGUMENTS
|
|
762
|
-
ID the unique id of the
|
|
897
|
+
ID the unique id of the resource
|
|
763
898
|
|
|
764
899
|
OPTIONS
|
|
900
|
+
-j, --json print result in JSON format
|
|
765
901
|
-o, --organization=organization (required) the slug of your organization
|
|
902
|
+
-p, --print print out the modified resource
|
|
903
|
+
-u, --unformatted print JSON output without indentation
|
|
766
904
|
```
|
|
767
905
|
|
|
768
906
|
_See code: [src/commands/order/refresh.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/refresh.ts)_
|
|
@@ -776,10 +914,13 @@ USAGE
|
|
|
776
914
|
$ commercelayer order:refund ID
|
|
777
915
|
|
|
778
916
|
ARGUMENTS
|
|
779
|
-
ID the unique id of the
|
|
917
|
+
ID the unique id of the resource
|
|
780
918
|
|
|
781
919
|
OPTIONS
|
|
920
|
+
-j, --json print result in JSON format
|
|
782
921
|
-o, --organization=organization (required) the slug of your organization
|
|
922
|
+
-p, --print print out the modified resource
|
|
923
|
+
-u, --unformatted print JSON output without indentation
|
|
783
924
|
```
|
|
784
925
|
|
|
785
926
|
_See code: [src/commands/order/refund.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/refund.ts)_
|
|
@@ -793,10 +934,13 @@ USAGE
|
|
|
793
934
|
$ commercelayer order:save_billing_address_to_customer_address_book ID
|
|
794
935
|
|
|
795
936
|
ARGUMENTS
|
|
796
|
-
ID the unique id of the
|
|
937
|
+
ID the unique id of the resource
|
|
797
938
|
|
|
798
939
|
OPTIONS
|
|
940
|
+
-j, --json print result in JSON format
|
|
799
941
|
-o, --organization=organization (required) the slug of your organization
|
|
942
|
+
-p, --print print out the modified resource
|
|
943
|
+
-u, --unformatted print JSON output without indentation
|
|
800
944
|
```
|
|
801
945
|
|
|
802
946
|
_See code: [src/commands/order/save_billing_address_to_customer_address_book.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/save_billing_address_to_customer_address_book.ts)_
|
|
@@ -810,10 +954,13 @@ USAGE
|
|
|
810
954
|
$ commercelayer order:save_payment_source_to_customer_wallet ID
|
|
811
955
|
|
|
812
956
|
ARGUMENTS
|
|
813
|
-
ID the unique id of the
|
|
957
|
+
ID the unique id of the resource
|
|
814
958
|
|
|
815
959
|
OPTIONS
|
|
960
|
+
-j, --json print result in JSON format
|
|
816
961
|
-o, --organization=organization (required) the slug of your organization
|
|
962
|
+
-p, --print print out the modified resource
|
|
963
|
+
-u, --unformatted print JSON output without indentation
|
|
817
964
|
```
|
|
818
965
|
|
|
819
966
|
_See code: [src/commands/order/save_payment_source_to_customer_wallet.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/save_payment_source_to_customer_wallet.ts)_
|
|
@@ -827,10 +974,13 @@ USAGE
|
|
|
827
974
|
$ commercelayer order:save_shipping_address_to_customer_address_book ID
|
|
828
975
|
|
|
829
976
|
ARGUMENTS
|
|
830
|
-
ID the unique id of the
|
|
977
|
+
ID the unique id of the resource
|
|
831
978
|
|
|
832
979
|
OPTIONS
|
|
980
|
+
-j, --json print result in JSON format
|
|
833
981
|
-o, --organization=organization (required) the slug of your organization
|
|
982
|
+
-p, --print print out the modified resource
|
|
983
|
+
-u, --unformatted print JSON output without indentation
|
|
834
984
|
```
|
|
835
985
|
|
|
836
986
|
_See code: [src/commands/order/save_shipping_address_to_customer_address_book.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/save_shipping_address_to_customer_address_book.ts)_
|
|
@@ -844,10 +994,13 @@ USAGE
|
|
|
844
994
|
$ commercelayer order:shipping_address_clone_id ID
|
|
845
995
|
|
|
846
996
|
ARGUMENTS
|
|
847
|
-
ID the unique id of the
|
|
997
|
+
ID the unique id of the resource
|
|
848
998
|
|
|
849
999
|
OPTIONS
|
|
1000
|
+
-j, --json print result in JSON format
|
|
850
1001
|
-o, --organization=organization (required) the slug of your organization
|
|
1002
|
+
-p, --print print out the modified resource
|
|
1003
|
+
-u, --unformatted print JSON output without indentation
|
|
851
1004
|
-v, --value=value (required) the trigger attribute value
|
|
852
1005
|
```
|
|
853
1006
|
|
|
@@ -862,10 +1015,13 @@ USAGE
|
|
|
862
1015
|
$ commercelayer order:shipping_address_same_as_billing ID
|
|
863
1016
|
|
|
864
1017
|
ARGUMENTS
|
|
865
|
-
ID the unique id of the
|
|
1018
|
+
ID the unique id of the resource
|
|
866
1019
|
|
|
867
1020
|
OPTIONS
|
|
1021
|
+
-j, --json print result in JSON format
|
|
868
1022
|
-o, --organization=organization (required) the slug of your organization
|
|
1023
|
+
-p, --print print out the modified resource
|
|
1024
|
+
-u, --unformatted print JSON output without indentation
|
|
869
1025
|
```
|
|
870
1026
|
|
|
871
1027
|
_See code: [src/commands/order/shipping_address_same_as_billing.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/shipping_address_same_as_billing.ts)_
|
|
@@ -879,10 +1035,13 @@ USAGE
|
|
|
879
1035
|
$ commercelayer order:unarchive ID
|
|
880
1036
|
|
|
881
1037
|
ARGUMENTS
|
|
882
|
-
ID the unique id of the
|
|
1038
|
+
ID the unique id of the resource
|
|
883
1039
|
|
|
884
1040
|
OPTIONS
|
|
1041
|
+
-j, --json print result in JSON format
|
|
885
1042
|
-o, --organization=organization (required) the slug of your organization
|
|
1043
|
+
-p, --print print out the modified resource
|
|
1044
|
+
-u, --unformatted print JSON output without indentation
|
|
886
1045
|
```
|
|
887
1046
|
|
|
888
1047
|
_See code: [src/commands/order/unarchive.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/unarchive.ts)_
|
|
@@ -896,10 +1055,13 @@ USAGE
|
|
|
896
1055
|
$ commercelayer order:update_taxes ID
|
|
897
1056
|
|
|
898
1057
|
ARGUMENTS
|
|
899
|
-
ID the unique id of the
|
|
1058
|
+
ID the unique id of the resource
|
|
900
1059
|
|
|
901
1060
|
OPTIONS
|
|
1061
|
+
-j, --json print result in JSON format
|
|
902
1062
|
-o, --organization=organization (required) the slug of your organization
|
|
1063
|
+
-p, --print print out the modified resource
|
|
1064
|
+
-u, --unformatted print JSON output without indentation
|
|
903
1065
|
```
|
|
904
1066
|
|
|
905
1067
|
_See code: [src/commands/order/update_taxes.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/update_taxes.ts)_
|
|
@@ -913,10 +1075,13 @@ USAGE
|
|
|
913
1075
|
$ commercelayer order_subscription ID
|
|
914
1076
|
|
|
915
1077
|
ARGUMENTS
|
|
916
|
-
ID the unique id of the
|
|
1078
|
+
ID the unique id of the resource
|
|
917
1079
|
|
|
918
1080
|
OPTIONS
|
|
1081
|
+
-j, --json print result in JSON format
|
|
919
1082
|
-o, --organization=organization (required) the slug of your organization
|
|
1083
|
+
-p, --print print out the modified resource
|
|
1084
|
+
-u, --unformatted print JSON output without indentation
|
|
920
1085
|
```
|
|
921
1086
|
|
|
922
1087
|
_See code: [src/commands/order_subscription/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order_subscription/index.ts)_
|
|
@@ -930,10 +1095,13 @@ USAGE
|
|
|
930
1095
|
$ commercelayer order_subscription:activate ID
|
|
931
1096
|
|
|
932
1097
|
ARGUMENTS
|
|
933
|
-
ID the unique id of the
|
|
1098
|
+
ID the unique id of the resource
|
|
934
1099
|
|
|
935
1100
|
OPTIONS
|
|
1101
|
+
-j, --json print result in JSON format
|
|
936
1102
|
-o, --organization=organization (required) the slug of your organization
|
|
1103
|
+
-p, --print print out the modified resource
|
|
1104
|
+
-u, --unformatted print JSON output without indentation
|
|
937
1105
|
```
|
|
938
1106
|
|
|
939
1107
|
_See code: [src/commands/order_subscription/activate.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order_subscription/activate.ts)_
|
|
@@ -947,10 +1115,13 @@ USAGE
|
|
|
947
1115
|
$ commercelayer order_subscription:cancel ID
|
|
948
1116
|
|
|
949
1117
|
ARGUMENTS
|
|
950
|
-
ID the unique id of the
|
|
1118
|
+
ID the unique id of the resource
|
|
951
1119
|
|
|
952
1120
|
OPTIONS
|
|
1121
|
+
-j, --json print result in JSON format
|
|
953
1122
|
-o, --organization=organization (required) the slug of your organization
|
|
1123
|
+
-p, --print print out the modified resource
|
|
1124
|
+
-u, --unformatted print JSON output without indentation
|
|
954
1125
|
```
|
|
955
1126
|
|
|
956
1127
|
_See code: [src/commands/order_subscription/cancel.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order_subscription/cancel.ts)_
|
|
@@ -964,10 +1135,13 @@ USAGE
|
|
|
964
1135
|
$ commercelayer order_subscription:deactivate ID
|
|
965
1136
|
|
|
966
1137
|
ARGUMENTS
|
|
967
|
-
ID the unique id of the
|
|
1138
|
+
ID the unique id of the resource
|
|
968
1139
|
|
|
969
1140
|
OPTIONS
|
|
1141
|
+
-j, --json print result in JSON format
|
|
970
1142
|
-o, --organization=organization (required) the slug of your organization
|
|
1143
|
+
-p, --print print out the modified resource
|
|
1144
|
+
-u, --unformatted print JSON output without indentation
|
|
971
1145
|
```
|
|
972
1146
|
|
|
973
1147
|
_See code: [src/commands/order_subscription/deactivate.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order_subscription/deactivate.ts)_
|
|
@@ -981,10 +1155,13 @@ USAGE
|
|
|
981
1155
|
$ commercelayer return ID
|
|
982
1156
|
|
|
983
1157
|
ARGUMENTS
|
|
984
|
-
ID the unique id of the
|
|
1158
|
+
ID the unique id of the resource
|
|
985
1159
|
|
|
986
1160
|
OPTIONS
|
|
1161
|
+
-j, --json print result in JSON format
|
|
987
1162
|
-o, --organization=organization (required) the slug of your organization
|
|
1163
|
+
-p, --print print out the modified resource
|
|
1164
|
+
-u, --unformatted print JSON output without indentation
|
|
988
1165
|
```
|
|
989
1166
|
|
|
990
1167
|
_See code: [src/commands/return/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/index.ts)_
|
|
@@ -998,10 +1175,13 @@ USAGE
|
|
|
998
1175
|
$ commercelayer return:approve ID
|
|
999
1176
|
|
|
1000
1177
|
ARGUMENTS
|
|
1001
|
-
ID the unique id of the
|
|
1178
|
+
ID the unique id of the resource
|
|
1002
1179
|
|
|
1003
1180
|
OPTIONS
|
|
1181
|
+
-j, --json print result in JSON format
|
|
1004
1182
|
-o, --organization=organization (required) the slug of your organization
|
|
1183
|
+
-p, --print print out the modified resource
|
|
1184
|
+
-u, --unformatted print JSON output without indentation
|
|
1005
1185
|
```
|
|
1006
1186
|
|
|
1007
1187
|
_See code: [src/commands/return/approve.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/approve.ts)_
|
|
@@ -1015,10 +1195,13 @@ USAGE
|
|
|
1015
1195
|
$ commercelayer return:archive ID
|
|
1016
1196
|
|
|
1017
1197
|
ARGUMENTS
|
|
1018
|
-
ID the unique id of the
|
|
1198
|
+
ID the unique id of the resource
|
|
1019
1199
|
|
|
1020
1200
|
OPTIONS
|
|
1201
|
+
-j, --json print result in JSON format
|
|
1021
1202
|
-o, --organization=organization (required) the slug of your organization
|
|
1203
|
+
-p, --print print out the modified resource
|
|
1204
|
+
-u, --unformatted print JSON output without indentation
|
|
1022
1205
|
```
|
|
1023
1206
|
|
|
1024
1207
|
_See code: [src/commands/return/archive.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/archive.ts)_
|
|
@@ -1032,10 +1215,13 @@ USAGE
|
|
|
1032
1215
|
$ commercelayer return:cancel ID
|
|
1033
1216
|
|
|
1034
1217
|
ARGUMENTS
|
|
1035
|
-
ID the unique id of the
|
|
1218
|
+
ID the unique id of the resource
|
|
1036
1219
|
|
|
1037
1220
|
OPTIONS
|
|
1221
|
+
-j, --json print result in JSON format
|
|
1038
1222
|
-o, --organization=organization (required) the slug of your organization
|
|
1223
|
+
-p, --print print out the modified resource
|
|
1224
|
+
-u, --unformatted print JSON output without indentation
|
|
1039
1225
|
```
|
|
1040
1226
|
|
|
1041
1227
|
_See code: [src/commands/return/cancel.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/cancel.ts)_
|
|
@@ -1049,10 +1235,13 @@ USAGE
|
|
|
1049
1235
|
$ commercelayer return:receive ID
|
|
1050
1236
|
|
|
1051
1237
|
ARGUMENTS
|
|
1052
|
-
ID the unique id of the
|
|
1238
|
+
ID the unique id of the resource
|
|
1053
1239
|
|
|
1054
1240
|
OPTIONS
|
|
1241
|
+
-j, --json print result in JSON format
|
|
1055
1242
|
-o, --organization=organization (required) the slug of your organization
|
|
1243
|
+
-p, --print print out the modified resource
|
|
1244
|
+
-u, --unformatted print JSON output without indentation
|
|
1056
1245
|
```
|
|
1057
1246
|
|
|
1058
1247
|
_See code: [src/commands/return/receive.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/receive.ts)_
|
|
@@ -1066,10 +1255,13 @@ USAGE
|
|
|
1066
1255
|
$ commercelayer return:reject ID
|
|
1067
1256
|
|
|
1068
1257
|
ARGUMENTS
|
|
1069
|
-
ID the unique id of the
|
|
1258
|
+
ID the unique id of the resource
|
|
1070
1259
|
|
|
1071
1260
|
OPTIONS
|
|
1261
|
+
-j, --json print result in JSON format
|
|
1072
1262
|
-o, --organization=organization (required) the slug of your organization
|
|
1263
|
+
-p, --print print out the modified resource
|
|
1264
|
+
-u, --unformatted print JSON output without indentation
|
|
1073
1265
|
```
|
|
1074
1266
|
|
|
1075
1267
|
_See code: [src/commands/return/reject.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/reject.ts)_
|
|
@@ -1083,10 +1275,13 @@ USAGE
|
|
|
1083
1275
|
$ commercelayer return:request ID
|
|
1084
1276
|
|
|
1085
1277
|
ARGUMENTS
|
|
1086
|
-
ID the unique id of the
|
|
1278
|
+
ID the unique id of the resource
|
|
1087
1279
|
|
|
1088
1280
|
OPTIONS
|
|
1281
|
+
-j, --json print result in JSON format
|
|
1089
1282
|
-o, --organization=organization (required) the slug of your organization
|
|
1283
|
+
-p, --print print out the modified resource
|
|
1284
|
+
-u, --unformatted print JSON output without indentation
|
|
1090
1285
|
```
|
|
1091
1286
|
|
|
1092
1287
|
_See code: [src/commands/return/request.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/request.ts)_
|
|
@@ -1100,10 +1295,13 @@ USAGE
|
|
|
1100
1295
|
$ commercelayer return:restock ID
|
|
1101
1296
|
|
|
1102
1297
|
ARGUMENTS
|
|
1103
|
-
ID the unique id of the
|
|
1298
|
+
ID the unique id of the resource
|
|
1104
1299
|
|
|
1105
1300
|
OPTIONS
|
|
1301
|
+
-j, --json print result in JSON format
|
|
1106
1302
|
-o, --organization=organization (required) the slug of your organization
|
|
1303
|
+
-p, --print print out the modified resource
|
|
1304
|
+
-u, --unformatted print JSON output without indentation
|
|
1107
1305
|
```
|
|
1108
1306
|
|
|
1109
1307
|
_See code: [src/commands/return/restock.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/restock.ts)_
|
|
@@ -1117,10 +1315,13 @@ USAGE
|
|
|
1117
1315
|
$ commercelayer return:ship ID
|
|
1118
1316
|
|
|
1119
1317
|
ARGUMENTS
|
|
1120
|
-
ID the unique id of the
|
|
1318
|
+
ID the unique id of the resource
|
|
1121
1319
|
|
|
1122
1320
|
OPTIONS
|
|
1321
|
+
-j, --json print result in JSON format
|
|
1123
1322
|
-o, --organization=organization (required) the slug of your organization
|
|
1323
|
+
-p, --print print out the modified resource
|
|
1324
|
+
-u, --unformatted print JSON output without indentation
|
|
1124
1325
|
```
|
|
1125
1326
|
|
|
1126
1327
|
_See code: [src/commands/return/ship.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/ship.ts)_
|
|
@@ -1134,10 +1335,13 @@ USAGE
|
|
|
1134
1335
|
$ commercelayer return:unarchive ID
|
|
1135
1336
|
|
|
1136
1337
|
ARGUMENTS
|
|
1137
|
-
ID the unique id of the
|
|
1338
|
+
ID the unique id of the resource
|
|
1138
1339
|
|
|
1139
1340
|
OPTIONS
|
|
1341
|
+
-j, --json print result in JSON format
|
|
1140
1342
|
-o, --organization=organization (required) the slug of your organization
|
|
1343
|
+
-p, --print print out the modified resource
|
|
1344
|
+
-u, --unformatted print JSON output without indentation
|
|
1141
1345
|
```
|
|
1142
1346
|
|
|
1143
1347
|
_See code: [src/commands/return/unarchive.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/unarchive.ts)_
|
|
@@ -1151,10 +1355,13 @@ USAGE
|
|
|
1151
1355
|
$ commercelayer return_line_item ID
|
|
1152
1356
|
|
|
1153
1357
|
ARGUMENTS
|
|
1154
|
-
ID the unique id of the
|
|
1358
|
+
ID the unique id of the resource
|
|
1155
1359
|
|
|
1156
1360
|
OPTIONS
|
|
1361
|
+
-j, --json print result in JSON format
|
|
1157
1362
|
-o, --organization=organization (required) the slug of your organization
|
|
1363
|
+
-p, --print print out the modified resource
|
|
1364
|
+
-u, --unformatted print JSON output without indentation
|
|
1158
1365
|
```
|
|
1159
1366
|
|
|
1160
1367
|
_See code: [src/commands/return_line_item/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return_line_item/index.ts)_
|
|
@@ -1168,10 +1375,13 @@ USAGE
|
|
|
1168
1375
|
$ commercelayer return_line_item:restock ID
|
|
1169
1376
|
|
|
1170
1377
|
ARGUMENTS
|
|
1171
|
-
ID the unique id of the
|
|
1378
|
+
ID the unique id of the resource
|
|
1172
1379
|
|
|
1173
1380
|
OPTIONS
|
|
1381
|
+
-j, --json print result in JSON format
|
|
1174
1382
|
-o, --organization=organization (required) the slug of your organization
|
|
1383
|
+
-p, --print print out the modified resource
|
|
1384
|
+
-u, --unformatted print JSON output without indentation
|
|
1175
1385
|
```
|
|
1176
1386
|
|
|
1177
1387
|
_See code: [src/commands/return_line_item/restock.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return_line_item/restock.ts)_
|
|
@@ -1185,10 +1395,13 @@ USAGE
|
|
|
1185
1395
|
$ commercelayer shipment ID
|
|
1186
1396
|
|
|
1187
1397
|
ARGUMENTS
|
|
1188
|
-
ID the unique id of the
|
|
1398
|
+
ID the unique id of the resource
|
|
1189
1399
|
|
|
1190
1400
|
OPTIONS
|
|
1401
|
+
-j, --json print result in JSON format
|
|
1191
1402
|
-o, --organization=organization (required) the slug of your organization
|
|
1403
|
+
-p, --print print out the modified resource
|
|
1404
|
+
-u, --unformatted print JSON output without indentation
|
|
1192
1405
|
```
|
|
1193
1406
|
|
|
1194
1407
|
_See code: [src/commands/shipment/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipment/index.ts)_
|
|
@@ -1202,10 +1415,13 @@ USAGE
|
|
|
1202
1415
|
$ commercelayer shipment:get_rates ID
|
|
1203
1416
|
|
|
1204
1417
|
ARGUMENTS
|
|
1205
|
-
ID the unique id of the
|
|
1418
|
+
ID the unique id of the resource
|
|
1206
1419
|
|
|
1207
1420
|
OPTIONS
|
|
1421
|
+
-j, --json print result in JSON format
|
|
1208
1422
|
-o, --organization=organization (required) the slug of your organization
|
|
1423
|
+
-p, --print print out the modified resource
|
|
1424
|
+
-u, --unformatted print JSON output without indentation
|
|
1209
1425
|
```
|
|
1210
1426
|
|
|
1211
1427
|
_See code: [src/commands/shipment/get_rates.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipment/get_rates.ts)_
|
|
@@ -1219,10 +1435,13 @@ USAGE
|
|
|
1219
1435
|
$ commercelayer shipment:on_hold ID
|
|
1220
1436
|
|
|
1221
1437
|
ARGUMENTS
|
|
1222
|
-
ID the unique id of the
|
|
1438
|
+
ID the unique id of the resource
|
|
1223
1439
|
|
|
1224
1440
|
OPTIONS
|
|
1441
|
+
-j, --json print result in JSON format
|
|
1225
1442
|
-o, --organization=organization (required) the slug of your organization
|
|
1443
|
+
-p, --print print out the modified resource
|
|
1444
|
+
-u, --unformatted print JSON output without indentation
|
|
1226
1445
|
```
|
|
1227
1446
|
|
|
1228
1447
|
_See code: [src/commands/shipment/on_hold.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipment/on_hold.ts)_
|
|
@@ -1236,10 +1455,13 @@ USAGE
|
|
|
1236
1455
|
$ commercelayer shipment:packing ID
|
|
1237
1456
|
|
|
1238
1457
|
ARGUMENTS
|
|
1239
|
-
ID the unique id of the
|
|
1458
|
+
ID the unique id of the resource
|
|
1240
1459
|
|
|
1241
1460
|
OPTIONS
|
|
1461
|
+
-j, --json print result in JSON format
|
|
1242
1462
|
-o, --organization=organization (required) the slug of your organization
|
|
1463
|
+
-p, --print print out the modified resource
|
|
1464
|
+
-u, --unformatted print JSON output without indentation
|
|
1243
1465
|
```
|
|
1244
1466
|
|
|
1245
1467
|
_See code: [src/commands/shipment/packing.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipment/packing.ts)_
|
|
@@ -1253,10 +1475,13 @@ USAGE
|
|
|
1253
1475
|
$ commercelayer shipment:picking ID
|
|
1254
1476
|
|
|
1255
1477
|
ARGUMENTS
|
|
1256
|
-
ID the unique id of the
|
|
1478
|
+
ID the unique id of the resource
|
|
1257
1479
|
|
|
1258
1480
|
OPTIONS
|
|
1481
|
+
-j, --json print result in JSON format
|
|
1259
1482
|
-o, --organization=organization (required) the slug of your organization
|
|
1483
|
+
-p, --print print out the modified resource
|
|
1484
|
+
-u, --unformatted print JSON output without indentation
|
|
1260
1485
|
```
|
|
1261
1486
|
|
|
1262
1487
|
_See code: [src/commands/shipment/picking.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipment/picking.ts)_
|
|
@@ -1270,10 +1495,13 @@ USAGE
|
|
|
1270
1495
|
$ commercelayer shipment:purchase ID
|
|
1271
1496
|
|
|
1272
1497
|
ARGUMENTS
|
|
1273
|
-
ID the unique id of the
|
|
1498
|
+
ID the unique id of the resource
|
|
1274
1499
|
|
|
1275
1500
|
OPTIONS
|
|
1501
|
+
-j, --json print result in JSON format
|
|
1276
1502
|
-o, --organization=organization (required) the slug of your organization
|
|
1503
|
+
-p, --print print out the modified resource
|
|
1504
|
+
-u, --unformatted print JSON output without indentation
|
|
1277
1505
|
```
|
|
1278
1506
|
|
|
1279
1507
|
_See code: [src/commands/shipment/purchase.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipment/purchase.ts)_
|
|
@@ -1287,10 +1515,13 @@ USAGE
|
|
|
1287
1515
|
$ commercelayer shipment:ready_to_ship ID
|
|
1288
1516
|
|
|
1289
1517
|
ARGUMENTS
|
|
1290
|
-
ID the unique id of the
|
|
1518
|
+
ID the unique id of the resource
|
|
1291
1519
|
|
|
1292
1520
|
OPTIONS
|
|
1521
|
+
-j, --json print result in JSON format
|
|
1293
1522
|
-o, --organization=organization (required) the slug of your organization
|
|
1523
|
+
-p, --print print out the modified resource
|
|
1524
|
+
-u, --unformatted print JSON output without indentation
|
|
1294
1525
|
```
|
|
1295
1526
|
|
|
1296
1527
|
_See code: [src/commands/shipment/ready_to_ship.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipment/ready_to_ship.ts)_
|
|
@@ -1304,10 +1535,13 @@ USAGE
|
|
|
1304
1535
|
$ commercelayer shipment:ship ID
|
|
1305
1536
|
|
|
1306
1537
|
ARGUMENTS
|
|
1307
|
-
ID the unique id of the
|
|
1538
|
+
ID the unique id of the resource
|
|
1308
1539
|
|
|
1309
1540
|
OPTIONS
|
|
1541
|
+
-j, --json print result in JSON format
|
|
1310
1542
|
-o, --organization=organization (required) the slug of your organization
|
|
1543
|
+
-p, --print print out the modified resource
|
|
1544
|
+
-u, --unformatted print JSON output without indentation
|
|
1311
1545
|
```
|
|
1312
1546
|
|
|
1313
1547
|
_See code: [src/commands/shipment/ship.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipment/ship.ts)_
|
|
@@ -1321,10 +1555,13 @@ USAGE
|
|
|
1321
1555
|
$ commercelayer stock_transfer ID
|
|
1322
1556
|
|
|
1323
1557
|
ARGUMENTS
|
|
1324
|
-
ID the unique id of the
|
|
1558
|
+
ID the unique id of the resource
|
|
1325
1559
|
|
|
1326
1560
|
OPTIONS
|
|
1561
|
+
-j, --json print result in JSON format
|
|
1327
1562
|
-o, --organization=organization (required) the slug of your organization
|
|
1563
|
+
-p, --print print out the modified resource
|
|
1564
|
+
-u, --unformatted print JSON output without indentation
|
|
1328
1565
|
```
|
|
1329
1566
|
|
|
1330
1567
|
_See code: [src/commands/stock_transfer/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stock_transfer/index.ts)_
|
|
@@ -1338,10 +1575,13 @@ USAGE
|
|
|
1338
1575
|
$ commercelayer stock_transfer:cancel ID
|
|
1339
1576
|
|
|
1340
1577
|
ARGUMENTS
|
|
1341
|
-
ID the unique id of the
|
|
1578
|
+
ID the unique id of the resource
|
|
1342
1579
|
|
|
1343
1580
|
OPTIONS
|
|
1581
|
+
-j, --json print result in JSON format
|
|
1344
1582
|
-o, --organization=organization (required) the slug of your organization
|
|
1583
|
+
-p, --print print out the modified resource
|
|
1584
|
+
-u, --unformatted print JSON output without indentation
|
|
1345
1585
|
```
|
|
1346
1586
|
|
|
1347
1587
|
_See code: [src/commands/stock_transfer/cancel.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stock_transfer/cancel.ts)_
|
|
@@ -1355,10 +1595,13 @@ USAGE
|
|
|
1355
1595
|
$ commercelayer stock_transfer:complete ID
|
|
1356
1596
|
|
|
1357
1597
|
ARGUMENTS
|
|
1358
|
-
ID the unique id of the
|
|
1598
|
+
ID the unique id of the resource
|
|
1359
1599
|
|
|
1360
1600
|
OPTIONS
|
|
1601
|
+
-j, --json print result in JSON format
|
|
1361
1602
|
-o, --organization=organization (required) the slug of your organization
|
|
1603
|
+
-p, --print print out the modified resource
|
|
1604
|
+
-u, --unformatted print JSON output without indentation
|
|
1362
1605
|
```
|
|
1363
1606
|
|
|
1364
1607
|
_See code: [src/commands/stock_transfer/complete.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stock_transfer/complete.ts)_
|
|
@@ -1372,10 +1615,13 @@ USAGE
|
|
|
1372
1615
|
$ commercelayer stock_transfer:in_transit ID
|
|
1373
1616
|
|
|
1374
1617
|
ARGUMENTS
|
|
1375
|
-
ID the unique id of the
|
|
1618
|
+
ID the unique id of the resource
|
|
1376
1619
|
|
|
1377
1620
|
OPTIONS
|
|
1621
|
+
-j, --json print result in JSON format
|
|
1378
1622
|
-o, --organization=organization (required) the slug of your organization
|
|
1623
|
+
-p, --print print out the modified resource
|
|
1624
|
+
-u, --unformatted print JSON output without indentation
|
|
1379
1625
|
```
|
|
1380
1626
|
|
|
1381
1627
|
_See code: [src/commands/stock_transfer/in_transit.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stock_transfer/in_transit.ts)_
|
|
@@ -1389,10 +1635,13 @@ USAGE
|
|
|
1389
1635
|
$ commercelayer stock_transfer:picking ID
|
|
1390
1636
|
|
|
1391
1637
|
ARGUMENTS
|
|
1392
|
-
ID the unique id of the
|
|
1638
|
+
ID the unique id of the resource
|
|
1393
1639
|
|
|
1394
1640
|
OPTIONS
|
|
1641
|
+
-j, --json print result in JSON format
|
|
1395
1642
|
-o, --organization=organization (required) the slug of your organization
|
|
1643
|
+
-p, --print print out the modified resource
|
|
1644
|
+
-u, --unformatted print JSON output without indentation
|
|
1396
1645
|
```
|
|
1397
1646
|
|
|
1398
1647
|
_See code: [src/commands/stock_transfer/picking.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stock_transfer/picking.ts)_
|
|
@@ -1406,10 +1655,13 @@ USAGE
|
|
|
1406
1655
|
$ commercelayer stock_transfer:upcoming ID
|
|
1407
1656
|
|
|
1408
1657
|
ARGUMENTS
|
|
1409
|
-
ID the unique id of the
|
|
1658
|
+
ID the unique id of the resource
|
|
1410
1659
|
|
|
1411
1660
|
OPTIONS
|
|
1661
|
+
-j, --json print result in JSON format
|
|
1412
1662
|
-o, --organization=organization (required) the slug of your organization
|
|
1663
|
+
-p, --print print out the modified resource
|
|
1664
|
+
-u, --unformatted print JSON output without indentation
|
|
1413
1665
|
```
|
|
1414
1666
|
|
|
1415
1667
|
_See code: [src/commands/stock_transfer/upcoming.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stock_transfer/upcoming.ts)_
|
|
@@ -1423,10 +1675,13 @@ USAGE
|
|
|
1423
1675
|
$ commercelayer stripe_payment ID
|
|
1424
1676
|
|
|
1425
1677
|
ARGUMENTS
|
|
1426
|
-
ID the unique id of the
|
|
1678
|
+
ID the unique id of the resource
|
|
1427
1679
|
|
|
1428
1680
|
OPTIONS
|
|
1681
|
+
-j, --json print result in JSON format
|
|
1429
1682
|
-o, --organization=organization (required) the slug of your organization
|
|
1683
|
+
-p, --print print out the modified resource
|
|
1684
|
+
-u, --unformatted print JSON output without indentation
|
|
1430
1685
|
```
|
|
1431
1686
|
|
|
1432
1687
|
_See code: [src/commands/stripe_payment/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stripe_payment/index.ts)_
|
|
@@ -1440,10 +1695,13 @@ USAGE
|
|
|
1440
1695
|
$ commercelayer stripe_payment:refresh ID
|
|
1441
1696
|
|
|
1442
1697
|
ARGUMENTS
|
|
1443
|
-
ID the unique id of the
|
|
1698
|
+
ID the unique id of the resource
|
|
1444
1699
|
|
|
1445
1700
|
OPTIONS
|
|
1701
|
+
-j, --json print result in JSON format
|
|
1446
1702
|
-o, --organization=organization (required) the slug of your organization
|
|
1703
|
+
-p, --print print out the modified resource
|
|
1704
|
+
-u, --unformatted print JSON output without indentation
|
|
1447
1705
|
```
|
|
1448
1706
|
|
|
1449
1707
|
_See code: [src/commands/stripe_payment/refresh.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stripe_payment/refresh.ts)_
|
|
@@ -1457,10 +1715,13 @@ USAGE
|
|
|
1457
1715
|
$ commercelayer webhook ID
|
|
1458
1716
|
|
|
1459
1717
|
ARGUMENTS
|
|
1460
|
-
ID the unique id of the
|
|
1718
|
+
ID the unique id of the resource
|
|
1461
1719
|
|
|
1462
1720
|
OPTIONS
|
|
1721
|
+
-j, --json print result in JSON format
|
|
1463
1722
|
-o, --organization=organization (required) the slug of your organization
|
|
1723
|
+
-p, --print print out the modified resource
|
|
1724
|
+
-u, --unformatted print JSON output without indentation
|
|
1464
1725
|
```
|
|
1465
1726
|
|
|
1466
1727
|
_See code: [src/commands/webhook/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/webhook/index.ts)_
|
|
@@ -1474,10 +1735,13 @@ USAGE
|
|
|
1474
1735
|
$ commercelayer webhook:reset_circuit ID
|
|
1475
1736
|
|
|
1476
1737
|
ARGUMENTS
|
|
1477
|
-
ID the unique id of the
|
|
1738
|
+
ID the unique id of the resource
|
|
1478
1739
|
|
|
1479
1740
|
OPTIONS
|
|
1741
|
+
-j, --json print result in JSON format
|
|
1480
1742
|
-o, --organization=organization (required) the slug of your organization
|
|
1743
|
+
-p, --print print out the modified resource
|
|
1744
|
+
-u, --unformatted print JSON output without indentation
|
|
1481
1745
|
```
|
|
1482
1746
|
|
|
1483
1747
|
_See code: [src/commands/webhook/reset_circuit.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/webhook/reset_circuit.ts)_
|