@commercelayer/cli-plugin-triggers 1.1.3 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. package/README.md +316 -115
  2. package/lib/base.d.ts +4 -2
  3. package/lib/base.js +17 -3
  4. package/lib/commands/adyen_payment/details.d.ts +3 -0
  5. package/lib/commands/adyen_payment/details.js +2 -0
  6. package/lib/commands/adyen_payment/index.d.ts +3 -0
  7. package/lib/commands/authorization/capture.d.ts +3 -0
  8. package/lib/commands/authorization/capture.js +2 -0
  9. package/lib/commands/authorization/capture_amount_cents.d.ts +3 -0
  10. package/lib/commands/authorization/capture_amount_cents.js +2 -0
  11. package/lib/commands/authorization/index.d.ts +3 -0
  12. package/lib/commands/authorization/void.d.ts +3 -0
  13. package/lib/commands/authorization/void.js +2 -0
  14. package/lib/commands/bundle/compute_compare_at_amount.d.ts +3 -0
  15. package/lib/commands/bundle/compute_compare_at_amount.js +2 -0
  16. package/lib/commands/bundle/index.d.ts +3 -0
  17. package/lib/commands/capture/index.d.ts +3 -0
  18. package/lib/commands/capture/refund.d.ts +3 -0
  19. package/lib/commands/capture/refund.js +2 -0
  20. package/lib/commands/capture/refund_amount_cents.d.ts +3 -0
  21. package/lib/commands/capture/refund_amount_cents.js +2 -0
  22. package/lib/commands/checkout_com_payment/details.d.ts +3 -0
  23. package/lib/commands/checkout_com_payment/details.js +2 -0
  24. package/lib/commands/checkout_com_payment/index.d.ts +3 -0
  25. package/lib/commands/checkout_com_payment/refresh.d.ts +3 -0
  26. package/lib/commands/checkout_com_payment/refresh.js +2 -0
  27. package/lib/commands/customer_password_reset/index.d.ts +3 -0
  28. package/lib/commands/customer_password_reset/reset_password_token.d.ts +3 -0
  29. package/lib/commands/customer_password_reset/reset_password_token.js +2 -0
  30. package/lib/commands/gift_card/activate.d.ts +3 -0
  31. package/lib/commands/gift_card/activate.js +2 -0
  32. package/lib/commands/gift_card/balance_change_cents.d.ts +3 -0
  33. package/lib/commands/gift_card/balance_change_cents.js +2 -0
  34. package/lib/commands/gift_card/deactivate.d.ts +3 -0
  35. package/lib/commands/gift_card/deactivate.js +2 -0
  36. package/lib/commands/gift_card/index.d.ts +3 -0
  37. package/lib/commands/gift_card/purchase.d.ts +3 -0
  38. package/lib/commands/gift_card/purchase.js +2 -0
  39. package/lib/commands/in_stock_subscription/activate.d.ts +3 -0
  40. package/lib/commands/in_stock_subscription/activate.js +2 -0
  41. package/lib/commands/in_stock_subscription/deactivate.d.ts +3 -0
  42. package/lib/commands/in_stock_subscription/deactivate.js +2 -0
  43. package/lib/commands/in_stock_subscription/index.d.ts +3 -0
  44. package/lib/commands/order/approve.d.ts +3 -0
  45. package/lib/commands/order/approve.js +2 -0
  46. package/lib/commands/order/approve_and_capture.d.ts +3 -0
  47. package/lib/commands/order/approve_and_capture.js +2 -0
  48. package/lib/commands/order/archive.d.ts +3 -0
  49. package/lib/commands/order/archive.js +2 -0
  50. package/lib/commands/order/authorization_amount_cents.d.ts +3 -0
  51. package/lib/commands/order/authorization_amount_cents.js +2 -0
  52. package/lib/commands/order/authorize.d.ts +3 -0
  53. package/lib/commands/order/authorize.js +2 -0
  54. package/lib/commands/order/billing_address_clone_id.d.ts +3 -0
  55. package/lib/commands/order/billing_address_clone_id.js +2 -0
  56. package/lib/commands/order/billing_address_same_as_shipping.d.ts +3 -0
  57. package/lib/commands/order/billing_address_same_as_shipping.js +2 -0
  58. package/lib/commands/order/cancel.d.ts +3 -0
  59. package/lib/commands/order/cancel.js +2 -0
  60. package/lib/commands/order/capture.d.ts +3 -0
  61. package/lib/commands/order/capture.js +2 -0
  62. package/lib/commands/order/customer_payment_source_id.d.ts +3 -0
  63. package/lib/commands/order/customer_payment_source_id.js +2 -0
  64. package/lib/commands/order/index.d.ts +3 -0
  65. package/lib/commands/order/place.d.ts +3 -0
  66. package/lib/commands/order/place.js +2 -0
  67. package/lib/commands/order/refresh.d.ts +3 -0
  68. package/lib/commands/order/refresh.js +2 -0
  69. package/lib/commands/order/refund.d.ts +3 -0
  70. package/lib/commands/order/refund.js +2 -0
  71. package/lib/commands/order/save_billing_address_to_customer_address_book.d.ts +3 -0
  72. package/lib/commands/order/save_billing_address_to_customer_address_book.js +2 -0
  73. package/lib/commands/order/save_payment_source_to_customer_wallet.d.ts +3 -0
  74. package/lib/commands/order/save_payment_source_to_customer_wallet.js +2 -0
  75. package/lib/commands/order/save_shipping_address_to_customer_address_book.d.ts +3 -0
  76. package/lib/commands/order/save_shipping_address_to_customer_address_book.js +2 -0
  77. package/lib/commands/order/shipping_address_clone_id.d.ts +3 -0
  78. package/lib/commands/order/shipping_address_clone_id.js +2 -0
  79. package/lib/commands/order/shipping_address_same_as_billing.d.ts +3 -0
  80. package/lib/commands/order/shipping_address_same_as_billing.js +2 -0
  81. package/lib/commands/order/unarchive.d.ts +3 -0
  82. package/lib/commands/order/unarchive.js +2 -0
  83. package/lib/commands/order/update_taxes.d.ts +3 -0
  84. package/lib/commands/order/update_taxes.js +2 -0
  85. package/lib/commands/order_subscription/activate.d.ts +3 -0
  86. package/lib/commands/order_subscription/activate.js +2 -0
  87. package/lib/commands/order_subscription/cancel.d.ts +3 -0
  88. package/lib/commands/order_subscription/cancel.js +2 -0
  89. package/lib/commands/order_subscription/deactivate.d.ts +3 -0
  90. package/lib/commands/order_subscription/deactivate.js +2 -0
  91. package/lib/commands/order_subscription/index.d.ts +3 -0
  92. package/lib/commands/return/approve.d.ts +3 -0
  93. package/lib/commands/return/approve.js +2 -0
  94. package/lib/commands/return/archive.d.ts +3 -0
  95. package/lib/commands/return/archive.js +2 -0
  96. package/lib/commands/return/cancel.d.ts +3 -0
  97. package/lib/commands/return/cancel.js +2 -0
  98. package/lib/commands/return/index.d.ts +3 -0
  99. package/lib/commands/return/receive.d.ts +3 -0
  100. package/lib/commands/return/receive.js +2 -0
  101. package/lib/commands/return/reject.d.ts +3 -0
  102. package/lib/commands/return/reject.js +2 -0
  103. package/lib/commands/return/request.d.ts +3 -0
  104. package/lib/commands/return/request.js +2 -0
  105. package/lib/commands/return/restock.d.ts +3 -0
  106. package/lib/commands/return/restock.js +2 -0
  107. package/lib/commands/return/ship.d.ts +3 -0
  108. package/lib/commands/return/ship.js +2 -0
  109. package/lib/commands/return/unarchive.d.ts +3 -0
  110. package/lib/commands/return/unarchive.js +2 -0
  111. package/lib/commands/return_line_item/index.d.ts +3 -0
  112. package/lib/commands/return_line_item/restock.d.ts +3 -0
  113. package/lib/commands/return_line_item/restock.js +2 -0
  114. package/lib/commands/shipment/get_rates.d.ts +3 -0
  115. package/lib/commands/shipment/get_rates.js +2 -0
  116. package/lib/commands/shipment/index.d.ts +3 -0
  117. package/lib/commands/shipment/on_hold.d.ts +3 -0
  118. package/lib/commands/shipment/on_hold.js +2 -0
  119. package/lib/commands/shipment/packing.d.ts +3 -0
  120. package/lib/commands/shipment/packing.js +2 -0
  121. package/lib/commands/shipment/picking.d.ts +3 -0
  122. package/lib/commands/shipment/picking.js +2 -0
  123. package/lib/commands/shipment/purchase.d.ts +3 -0
  124. package/lib/commands/shipment/purchase.js +2 -0
  125. package/lib/commands/shipment/ready_to_ship.d.ts +3 -0
  126. package/lib/commands/shipment/ready_to_ship.js +2 -0
  127. package/lib/commands/shipment/ship.d.ts +3 -0
  128. package/lib/commands/shipment/ship.js +2 -0
  129. package/lib/commands/stock_transfer/cancel.d.ts +3 -0
  130. package/lib/commands/stock_transfer/cancel.js +2 -0
  131. package/lib/commands/stock_transfer/complete.d.ts +3 -0
  132. package/lib/commands/stock_transfer/complete.js +2 -0
  133. package/lib/commands/stock_transfer/in_transit.d.ts +3 -0
  134. package/lib/commands/stock_transfer/in_transit.js +2 -0
  135. package/lib/commands/stock_transfer/index.d.ts +3 -0
  136. package/lib/commands/stock_transfer/picking.d.ts +3 -0
  137. package/lib/commands/stock_transfer/picking.js +2 -0
  138. package/lib/commands/stock_transfer/upcoming.d.ts +3 -0
  139. package/lib/commands/stock_transfer/upcoming.js +2 -0
  140. package/lib/commands/stripe_payment/index.d.ts +3 -0
  141. package/lib/commands/stripe_payment/refresh.d.ts +3 -0
  142. package/lib/commands/stripe_payment/refresh.js +2 -0
  143. package/lib/commands/webhook/index.d.ts +3 -0
  144. package/lib/commands/webhook/reset_circuit.d.ts +3 -0
  145. package/lib/commands/webhook/reset_circuit.js +2 -0
  146. package/lib/triggers/adyen_payments.d.ts +1 -1
  147. package/lib/triggers/adyen_payments.js +0 -5
  148. package/lib/triggers/checkout_com_payments.d.ts +1 -1
  149. package/lib/triggers/checkout_com_payments.js +0 -5
  150. package/oclif.manifest.json +1 -1
  151. package/package.json +1 -1
  152. package/lib/commands/adyen_payment/authorize.d.ts +0 -15
  153. package/lib/commands/adyen_payment/authorize.js +0 -21
  154. package/lib/commands/checkout_com_payment/authorize.d.ts +0 -15
  155. 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)
@@ -33,7 +32,6 @@ Commerce Layer CLI Triggers plugin
33
32
  * [`commercelayer capture:refund ID`](#commercelayer-capturerefund-id)
34
33
  * [`commercelayer capture:refund_amount_cents ID`](#commercelayer-capturerefund_amount_cents-id)
35
34
  * [`commercelayer checkout_com_payment ID`](#commercelayer-checkout_com_payment-id)
36
- * [`commercelayer checkout_com_payment:authorize ID`](#commercelayer-checkout_com_paymentauthorize-id)
37
35
  * [`commercelayer checkout_com_payment:details ID`](#commercelayer-checkout_com_paymentdetails-id)
38
36
  * [`commercelayer checkout_com_payment:refresh ID`](#commercelayer-checkout_com_paymentrefresh-id)
39
37
  * [`commercelayer customer_password_reset ID`](#commercelayer-customer_password_reset-id)
@@ -111,31 +109,17 @@ USAGE
111
109
  $ commercelayer adyen_payment ID
112
110
 
113
111
  ARGUMENTS
114
- ID the unique id of the order
112
+ ID the unique id of the resource
115
113
 
116
114
  OPTIONS
115
+ -j, --json print result in JSON format
117
116
  -o, --organization=organization (required) the slug of your organization
117
+ -p, --print print out the modified resource
118
+ -u, --unformatted print JSON output without indentation
118
119
  ```
119
120
 
120
121
  _See code: [src/commands/adyen_payment/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/adyen_payment/index.ts)_
121
122
 
122
- ### `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
123
  ### `commercelayer adyen_payment:details ID`
140
124
 
141
125
  Send this attribute if you want to send additional details the payment request..
@@ -145,10 +129,13 @@ USAGE
145
129
  $ commercelayer adyen_payment:details ID
146
130
 
147
131
  ARGUMENTS
148
- ID the unique id of the order
132
+ ID the unique id of the resource
149
133
 
150
134
  OPTIONS
135
+ -j, --json print result in JSON format
151
136
  -o, --organization=organization (required) the slug of your organization
137
+ -p, --print print out the modified resource
138
+ -u, --unformatted print JSON output without indentation
152
139
  ```
153
140
 
154
141
  _See code: [src/commands/adyen_payment/details.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/adyen_payment/details.ts)_
@@ -162,10 +149,13 @@ USAGE
162
149
  $ commercelayer authorization ID
163
150
 
164
151
  ARGUMENTS
165
- ID the unique id of the order
152
+ ID the unique id of the resource
166
153
 
167
154
  OPTIONS
155
+ -j, --json print result in JSON format
168
156
  -o, --organization=organization (required) the slug of your organization
157
+ -p, --print print out the modified resource
158
+ -u, --unformatted print JSON output without indentation
169
159
  ```
170
160
 
171
161
  _See code: [src/commands/authorization/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/authorization/index.ts)_
@@ -179,10 +169,13 @@ USAGE
179
169
  $ commercelayer authorization:capture ID
180
170
 
181
171
  ARGUMENTS
182
- ID the unique id of the order
172
+ ID the unique id of the resource
183
173
 
184
174
  OPTIONS
175
+ -j, --json print result in JSON format
185
176
  -o, --organization=organization (required) the slug of your organization
177
+ -p, --print print out the modified resource
178
+ -u, --unformatted print JSON output without indentation
186
179
  ```
187
180
 
188
181
  _See code: [src/commands/authorization/capture.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/authorization/capture.ts)_
@@ -196,10 +189,13 @@ USAGE
196
189
  $ commercelayer authorization:capture_amount_cents ID
197
190
 
198
191
  ARGUMENTS
199
- ID the unique id of the order
192
+ ID the unique id of the resource
200
193
 
201
194
  OPTIONS
195
+ -j, --json print result in JSON format
202
196
  -o, --organization=organization (required) the slug of your organization
197
+ -p, --print print out the modified resource
198
+ -u, --unformatted print JSON output without indentation
203
199
  ```
204
200
 
205
201
  _See code: [src/commands/authorization/capture_amount_cents.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/authorization/capture_amount_cents.ts)_
@@ -213,10 +209,13 @@ USAGE
213
209
  $ commercelayer authorization:void ID
214
210
 
215
211
  ARGUMENTS
216
- ID the unique id of the order
212
+ ID the unique id of the resource
217
213
 
218
214
  OPTIONS
215
+ -j, --json print result in JSON format
219
216
  -o, --organization=organization (required) the slug of your organization
217
+ -p, --print print out the modified resource
218
+ -u, --unformatted print JSON output without indentation
220
219
  ```
221
220
 
222
221
  _See code: [src/commands/authorization/void.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/authorization/void.ts)_
@@ -230,10 +229,13 @@ USAGE
230
229
  $ commercelayer bundle ID
231
230
 
232
231
  ARGUMENTS
233
- ID the unique id of the order
232
+ ID the unique id of the resource
234
233
 
235
234
  OPTIONS
235
+ -j, --json print result in JSON format
236
236
  -o, --organization=organization (required) the slug of your organization
237
+ -p, --print print out the modified resource
238
+ -u, --unformatted print JSON output without indentation
237
239
  ```
238
240
 
239
241
  _See code: [src/commands/bundle/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/bundle/index.ts)_
@@ -247,10 +249,13 @@ USAGE
247
249
  $ commercelayer bundle:compute_compare_at_amount ID
248
250
 
249
251
  ARGUMENTS
250
- ID the unique id of the order
252
+ ID the unique id of the resource
251
253
 
252
254
  OPTIONS
255
+ -j, --json print result in JSON format
253
256
  -o, --organization=organization (required) the slug of your organization
257
+ -p, --print print out the modified resource
258
+ -u, --unformatted print JSON output without indentation
254
259
  ```
255
260
 
256
261
  _See code: [src/commands/bundle/compute_compare_at_amount.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/bundle/compute_compare_at_amount.ts)_
@@ -264,10 +269,13 @@ USAGE
264
269
  $ commercelayer capture ID
265
270
 
266
271
  ARGUMENTS
267
- ID the unique id of the order
272
+ ID the unique id of the resource
268
273
 
269
274
  OPTIONS
275
+ -j, --json print result in JSON format
270
276
  -o, --organization=organization (required) the slug of your organization
277
+ -p, --print print out the modified resource
278
+ -u, --unformatted print JSON output without indentation
271
279
  ```
272
280
 
273
281
  _See code: [src/commands/capture/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/capture/index.ts)_
@@ -281,10 +289,13 @@ USAGE
281
289
  $ commercelayer capture:refund ID
282
290
 
283
291
  ARGUMENTS
284
- ID the unique id of the order
292
+ ID the unique id of the resource
285
293
 
286
294
  OPTIONS
295
+ -j, --json print result in JSON format
287
296
  -o, --organization=organization (required) the slug of your organization
297
+ -p, --print print out the modified resource
298
+ -u, --unformatted print JSON output without indentation
288
299
  ```
289
300
 
290
301
  _See code: [src/commands/capture/refund.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/capture/refund.ts)_
@@ -298,10 +309,13 @@ USAGE
298
309
  $ commercelayer capture:refund_amount_cents ID
299
310
 
300
311
  ARGUMENTS
301
- ID the unique id of the order
312
+ ID the unique id of the resource
302
313
 
303
314
  OPTIONS
315
+ -j, --json print result in JSON format
304
316
  -o, --organization=organization (required) the slug of your organization
317
+ -p, --print print out the modified resource
318
+ -u, --unformatted print JSON output without indentation
305
319
  ```
306
320
 
307
321
  _See code: [src/commands/capture/refund_amount_cents.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/capture/refund_amount_cents.ts)_
@@ -315,31 +329,17 @@ USAGE
315
329
  $ commercelayer checkout_com_payment ID
316
330
 
317
331
  ARGUMENTS
318
- ID the unique id of the order
332
+ ID the unique id of the resource
319
333
 
320
334
  OPTIONS
335
+ -j, --json print result in JSON format
321
336
  -o, --organization=organization (required) the slug of your organization
337
+ -p, --print print out the modified resource
338
+ -u, --unformatted print JSON output without indentation
322
339
  ```
323
340
 
324
341
  _See code: [src/commands/checkout_com_payment/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/checkout_com_payment/index.ts)_
325
342
 
326
- ### `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
343
  ### `commercelayer checkout_com_payment:details ID`
344
344
 
345
345
  Send this attribute if you want to send additional details the payment request (i.e. upon 3DS check)..
@@ -349,10 +349,13 @@ USAGE
349
349
  $ commercelayer checkout_com_payment:details ID
350
350
 
351
351
  ARGUMENTS
352
- ID the unique id of the order
352
+ ID the unique id of the resource
353
353
 
354
354
  OPTIONS
355
+ -j, --json print result in JSON format
355
356
  -o, --organization=organization (required) the slug of your organization
357
+ -p, --print print out the modified resource
358
+ -u, --unformatted print JSON output without indentation
356
359
  ```
357
360
 
358
361
  _See code: [src/commands/checkout_com_payment/details.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/checkout_com_payment/details.ts)_
@@ -366,10 +369,13 @@ USAGE
366
369
  $ commercelayer checkout_com_payment:refresh ID
367
370
 
368
371
  ARGUMENTS
369
- ID the unique id of the order
372
+ ID the unique id of the resource
370
373
 
371
374
  OPTIONS
375
+ -j, --json print result in JSON format
372
376
  -o, --organization=organization (required) the slug of your organization
377
+ -p, --print print out the modified resource
378
+ -u, --unformatted print JSON output without indentation
373
379
  ```
374
380
 
375
381
  _See code: [src/commands/checkout_com_payment/refresh.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/checkout_com_payment/refresh.ts)_
@@ -383,10 +389,13 @@ USAGE
383
389
  $ commercelayer customer_password_reset ID
384
390
 
385
391
  ARGUMENTS
386
- ID the unique id of the order
392
+ ID the unique id of the resource
387
393
 
388
394
  OPTIONS
395
+ -j, --json print result in JSON format
389
396
  -o, --organization=organization (required) the slug of your organization
397
+ -p, --print print out the modified resource
398
+ -u, --unformatted print JSON output without indentation
390
399
  ```
391
400
 
392
401
  _See code: [src/commands/customer_password_reset/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/customer_password_reset/index.ts)_
@@ -400,10 +409,13 @@ USAGE
400
409
  $ commercelayer customer_password_reset:reset_password_token ID
401
410
 
402
411
  ARGUMENTS
403
- ID the unique id of the order
412
+ ID the unique id of the resource
404
413
 
405
414
  OPTIONS
415
+ -j, --json print result in JSON format
406
416
  -o, --organization=organization (required) the slug of your organization
417
+ -p, --print print out the modified resource
418
+ -u, --unformatted print JSON output without indentation
407
419
  ```
408
420
 
409
421
  _See code: [src/commands/customer_password_reset/reset_password_token.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/customer_password_reset/reset_password_token.ts)_
@@ -417,10 +429,13 @@ USAGE
417
429
  $ commercelayer gift_card ID
418
430
 
419
431
  ARGUMENTS
420
- ID the unique id of the order
432
+ ID the unique id of the resource
421
433
 
422
434
  OPTIONS
435
+ -j, --json print result in JSON format
423
436
  -o, --organization=organization (required) the slug of your organization
437
+ -p, --print print out the modified resource
438
+ -u, --unformatted print JSON output without indentation
424
439
  ```
425
440
 
426
441
  _See code: [src/commands/gift_card/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/gift_card/index.ts)_
@@ -434,10 +449,13 @@ USAGE
434
449
  $ commercelayer gift_card:activate ID
435
450
 
436
451
  ARGUMENTS
437
- ID the unique id of the order
452
+ ID the unique id of the resource
438
453
 
439
454
  OPTIONS
455
+ -j, --json print result in JSON format
440
456
  -o, --organization=organization (required) the slug of your organization
457
+ -p, --print print out the modified resource
458
+ -u, --unformatted print JSON output without indentation
441
459
  ```
442
460
 
443
461
  _See code: [src/commands/gift_card/activate.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/gift_card/activate.ts)_
@@ -451,10 +469,13 @@ USAGE
451
469
  $ commercelayer gift_card:balance_change_cents ID
452
470
 
453
471
  ARGUMENTS
454
- ID the unique id of the order
472
+ ID the unique id of the resource
455
473
 
456
474
  OPTIONS
475
+ -j, --json print result in JSON format
457
476
  -o, --organization=organization (required) the slug of your organization
477
+ -p, --print print out the modified resource
478
+ -u, --unformatted print JSON output without indentation
458
479
  ```
459
480
 
460
481
  _See code: [src/commands/gift_card/balance_change_cents.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/gift_card/balance_change_cents.ts)_
@@ -468,10 +489,13 @@ USAGE
468
489
  $ commercelayer gift_card:deactivate ID
469
490
 
470
491
  ARGUMENTS
471
- ID the unique id of the order
492
+ ID the unique id of the resource
472
493
 
473
494
  OPTIONS
495
+ -j, --json print result in JSON format
474
496
  -o, --organization=organization (required) the slug of your organization
497
+ -p, --print print out the modified resource
498
+ -u, --unformatted print JSON output without indentation
475
499
  ```
476
500
 
477
501
  _See code: [src/commands/gift_card/deactivate.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/gift_card/deactivate.ts)_
@@ -485,10 +509,13 @@ USAGE
485
509
  $ commercelayer gift_card:purchase ID
486
510
 
487
511
  ARGUMENTS
488
- ID the unique id of the order
512
+ ID the unique id of the resource
489
513
 
490
514
  OPTIONS
515
+ -j, --json print result in JSON format
491
516
  -o, --organization=organization (required) the slug of your organization
517
+ -p, --print print out the modified resource
518
+ -u, --unformatted print JSON output without indentation
492
519
  ```
493
520
 
494
521
  _See code: [src/commands/gift_card/purchase.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/gift_card/purchase.ts)_
@@ -502,10 +529,13 @@ USAGE
502
529
  $ commercelayer in_stock_subscription ID
503
530
 
504
531
  ARGUMENTS
505
- ID the unique id of the order
532
+ ID the unique id of the resource
506
533
 
507
534
  OPTIONS
535
+ -j, --json print result in JSON format
508
536
  -o, --organization=organization (required) the slug of your organization
537
+ -p, --print print out the modified resource
538
+ -u, --unformatted print JSON output without indentation
509
539
  ```
510
540
 
511
541
  _See code: [src/commands/in_stock_subscription/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/in_stock_subscription/index.ts)_
@@ -519,10 +549,13 @@ USAGE
519
549
  $ commercelayer in_stock_subscription:activate ID
520
550
 
521
551
  ARGUMENTS
522
- ID the unique id of the order
552
+ ID the unique id of the resource
523
553
 
524
554
  OPTIONS
555
+ -j, --json print result in JSON format
525
556
  -o, --organization=organization (required) the slug of your organization
557
+ -p, --print print out the modified resource
558
+ -u, --unformatted print JSON output without indentation
526
559
  ```
527
560
 
528
561
  _See code: [src/commands/in_stock_subscription/activate.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/in_stock_subscription/activate.ts)_
@@ -536,10 +569,13 @@ USAGE
536
569
  $ commercelayer in_stock_subscription:deactivate ID
537
570
 
538
571
  ARGUMENTS
539
- ID the unique id of the order
572
+ ID the unique id of the resource
540
573
 
541
574
  OPTIONS
575
+ -j, --json print result in JSON format
542
576
  -o, --organization=organization (required) the slug of your organization
577
+ -p, --print print out the modified resource
578
+ -u, --unformatted print JSON output without indentation
543
579
  ```
544
580
 
545
581
  _See code: [src/commands/in_stock_subscription/deactivate.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/in_stock_subscription/deactivate.ts)_
@@ -553,10 +589,13 @@ USAGE
553
589
  $ commercelayer order ID
554
590
 
555
591
  ARGUMENTS
556
- ID the unique id of the order
592
+ ID the unique id of the resource
557
593
 
558
594
  OPTIONS
595
+ -j, --json print result in JSON format
559
596
  -o, --organization=organization (required) the slug of your organization
597
+ -p, --print print out the modified resource
598
+ -u, --unformatted print JSON output without indentation
560
599
  ```
561
600
 
562
601
  _See code: [src/commands/order/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/index.ts)_
@@ -570,10 +609,13 @@ USAGE
570
609
  $ commercelayer order:approve ID
571
610
 
572
611
  ARGUMENTS
573
- ID the unique id of the order
612
+ ID the unique id of the resource
574
613
 
575
614
  OPTIONS
615
+ -j, --json print result in JSON format
576
616
  -o, --organization=organization (required) the slug of your organization
617
+ -p, --print print out the modified resource
618
+ -u, --unformatted print JSON output without indentation
577
619
  ```
578
620
 
579
621
  _See code: [src/commands/order/approve.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/approve.ts)_
@@ -587,10 +629,13 @@ USAGE
587
629
  $ commercelayer order:approve_and_capture ID
588
630
 
589
631
  ARGUMENTS
590
- ID the unique id of the order
632
+ ID the unique id of the resource
591
633
 
592
634
  OPTIONS
635
+ -j, --json print result in JSON format
593
636
  -o, --organization=organization (required) the slug of your organization
637
+ -p, --print print out the modified resource
638
+ -u, --unformatted print JSON output without indentation
594
639
  ```
595
640
 
596
641
  _See code: [src/commands/order/approve_and_capture.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/approve_and_capture.ts)_
@@ -604,10 +649,13 @@ USAGE
604
649
  $ commercelayer order:archive ID
605
650
 
606
651
  ARGUMENTS
607
- ID the unique id of the order
652
+ ID the unique id of the resource
608
653
 
609
654
  OPTIONS
655
+ -j, --json print result in JSON format
610
656
  -o, --organization=organization (required) the slug of your organization
657
+ -p, --print print out the modified resource
658
+ -u, --unformatted print JSON output without indentation
611
659
  ```
612
660
 
613
661
  _See code: [src/commands/order/archive.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/archive.ts)_
@@ -621,10 +669,13 @@ USAGE
621
669
  $ commercelayer order:authorization_amount_cents ID
622
670
 
623
671
  ARGUMENTS
624
- ID the unique id of the order
672
+ ID the unique id of the resource
625
673
 
626
674
  OPTIONS
675
+ -j, --json print result in JSON format
627
676
  -o, --organization=organization (required) the slug of your organization
677
+ -p, --print print out the modified resource
678
+ -u, --unformatted print JSON output without indentation
628
679
  ```
629
680
 
630
681
  _See code: [src/commands/order/authorization_amount_cents.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/authorization_amount_cents.ts)_
@@ -638,10 +689,13 @@ USAGE
638
689
  $ commercelayer order:authorize ID
639
690
 
640
691
  ARGUMENTS
641
- ID the unique id of the order
692
+ ID the unique id of the resource
642
693
 
643
694
  OPTIONS
695
+ -j, --json print result in JSON format
644
696
  -o, --organization=organization (required) the slug of your organization
697
+ -p, --print print out the modified resource
698
+ -u, --unformatted print JSON output without indentation
645
699
  ```
646
700
 
647
701
  _See code: [src/commands/order/authorize.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/authorize.ts)_
@@ -655,10 +709,13 @@ USAGE
655
709
  $ commercelayer order:billing_address_clone_id ID
656
710
 
657
711
  ARGUMENTS
658
- ID the unique id of the order
712
+ ID the unique id of the resource
659
713
 
660
714
  OPTIONS
715
+ -j, --json print result in JSON format
661
716
  -o, --organization=organization (required) the slug of your organization
717
+ -p, --print print out the modified resource
718
+ -u, --unformatted print JSON output without indentation
662
719
  -v, --value=value (required) the trigger attribute value
663
720
  ```
664
721
 
@@ -673,10 +730,13 @@ USAGE
673
730
  $ commercelayer order:billing_address_same_as_shipping ID
674
731
 
675
732
  ARGUMENTS
676
- ID the unique id of the order
733
+ ID the unique id of the resource
677
734
 
678
735
  OPTIONS
736
+ -j, --json print result in JSON format
679
737
  -o, --organization=organization (required) the slug of your organization
738
+ -p, --print print out the modified resource
739
+ -u, --unformatted print JSON output without indentation
680
740
  ```
681
741
 
682
742
  _See code: [src/commands/order/billing_address_same_as_shipping.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/billing_address_same_as_shipping.ts)_
@@ -690,10 +750,13 @@ USAGE
690
750
  $ commercelayer order:cancel ID
691
751
 
692
752
  ARGUMENTS
693
- ID the unique id of the order
753
+ ID the unique id of the resource
694
754
 
695
755
  OPTIONS
756
+ -j, --json print result in JSON format
696
757
  -o, --organization=organization (required) the slug of your organization
758
+ -p, --print print out the modified resource
759
+ -u, --unformatted print JSON output without indentation
697
760
  ```
698
761
 
699
762
  _See code: [src/commands/order/cancel.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/cancel.ts)_
@@ -707,10 +770,13 @@ USAGE
707
770
  $ commercelayer order:capture ID
708
771
 
709
772
  ARGUMENTS
710
- ID the unique id of the order
773
+ ID the unique id of the resource
711
774
 
712
775
  OPTIONS
776
+ -j, --json print result in JSON format
713
777
  -o, --organization=organization (required) the slug of your organization
778
+ -p, --print print out the modified resource
779
+ -u, --unformatted print JSON output without indentation
714
780
  ```
715
781
 
716
782
  _See code: [src/commands/order/capture.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/capture.ts)_
@@ -724,10 +790,13 @@ USAGE
724
790
  $ commercelayer order:customer_payment_source_id ID
725
791
 
726
792
  ARGUMENTS
727
- ID the unique id of the order
793
+ ID the unique id of the resource
728
794
 
729
795
  OPTIONS
796
+ -j, --json print result in JSON format
730
797
  -o, --organization=organization (required) the slug of your organization
798
+ -p, --print print out the modified resource
799
+ -u, --unformatted print JSON output without indentation
731
800
  -v, --value=value (required) the trigger attribute value
732
801
  ```
733
802
 
@@ -742,10 +811,13 @@ USAGE
742
811
  $ commercelayer order:place ID
743
812
 
744
813
  ARGUMENTS
745
- ID the unique id of the order
814
+ ID the unique id of the resource
746
815
 
747
816
  OPTIONS
817
+ -j, --json print result in JSON format
748
818
  -o, --organization=organization (required) the slug of your organization
819
+ -p, --print print out the modified resource
820
+ -u, --unformatted print JSON output without indentation
749
821
  ```
750
822
 
751
823
  _See code: [src/commands/order/place.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/place.ts)_
@@ -759,10 +831,13 @@ USAGE
759
831
  $ commercelayer order:refresh ID
760
832
 
761
833
  ARGUMENTS
762
- ID the unique id of the order
834
+ ID the unique id of the resource
763
835
 
764
836
  OPTIONS
837
+ -j, --json print result in JSON format
765
838
  -o, --organization=organization (required) the slug of your organization
839
+ -p, --print print out the modified resource
840
+ -u, --unformatted print JSON output without indentation
766
841
  ```
767
842
 
768
843
  _See code: [src/commands/order/refresh.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/refresh.ts)_
@@ -776,10 +851,13 @@ USAGE
776
851
  $ commercelayer order:refund ID
777
852
 
778
853
  ARGUMENTS
779
- ID the unique id of the order
854
+ ID the unique id of the resource
780
855
 
781
856
  OPTIONS
857
+ -j, --json print result in JSON format
782
858
  -o, --organization=organization (required) the slug of your organization
859
+ -p, --print print out the modified resource
860
+ -u, --unformatted print JSON output without indentation
783
861
  ```
784
862
 
785
863
  _See code: [src/commands/order/refund.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/refund.ts)_
@@ -793,10 +871,13 @@ USAGE
793
871
  $ commercelayer order:save_billing_address_to_customer_address_book ID
794
872
 
795
873
  ARGUMENTS
796
- ID the unique id of the order
874
+ ID the unique id of the resource
797
875
 
798
876
  OPTIONS
877
+ -j, --json print result in JSON format
799
878
  -o, --organization=organization (required) the slug of your organization
879
+ -p, --print print out the modified resource
880
+ -u, --unformatted print JSON output without indentation
800
881
  ```
801
882
 
802
883
  _See code: [src/commands/order/save_billing_address_to_customer_address_book.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/save_billing_address_to_customer_address_book.ts)_
@@ -810,10 +891,13 @@ USAGE
810
891
  $ commercelayer order:save_payment_source_to_customer_wallet ID
811
892
 
812
893
  ARGUMENTS
813
- ID the unique id of the order
894
+ ID the unique id of the resource
814
895
 
815
896
  OPTIONS
897
+ -j, --json print result in JSON format
816
898
  -o, --organization=organization (required) the slug of your organization
899
+ -p, --print print out the modified resource
900
+ -u, --unformatted print JSON output without indentation
817
901
  ```
818
902
 
819
903
  _See code: [src/commands/order/save_payment_source_to_customer_wallet.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/save_payment_source_to_customer_wallet.ts)_
@@ -827,10 +911,13 @@ USAGE
827
911
  $ commercelayer order:save_shipping_address_to_customer_address_book ID
828
912
 
829
913
  ARGUMENTS
830
- ID the unique id of the order
914
+ ID the unique id of the resource
831
915
 
832
916
  OPTIONS
917
+ -j, --json print result in JSON format
833
918
  -o, --organization=organization (required) the slug of your organization
919
+ -p, --print print out the modified resource
920
+ -u, --unformatted print JSON output without indentation
834
921
  ```
835
922
 
836
923
  _See code: [src/commands/order/save_shipping_address_to_customer_address_book.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/save_shipping_address_to_customer_address_book.ts)_
@@ -844,10 +931,13 @@ USAGE
844
931
  $ commercelayer order:shipping_address_clone_id ID
845
932
 
846
933
  ARGUMENTS
847
- ID the unique id of the order
934
+ ID the unique id of the resource
848
935
 
849
936
  OPTIONS
937
+ -j, --json print result in JSON format
850
938
  -o, --organization=organization (required) the slug of your organization
939
+ -p, --print print out the modified resource
940
+ -u, --unformatted print JSON output without indentation
851
941
  -v, --value=value (required) the trigger attribute value
852
942
  ```
853
943
 
@@ -862,10 +952,13 @@ USAGE
862
952
  $ commercelayer order:shipping_address_same_as_billing ID
863
953
 
864
954
  ARGUMENTS
865
- ID the unique id of the order
955
+ ID the unique id of the resource
866
956
 
867
957
  OPTIONS
958
+ -j, --json print result in JSON format
868
959
  -o, --organization=organization (required) the slug of your organization
960
+ -p, --print print out the modified resource
961
+ -u, --unformatted print JSON output without indentation
869
962
  ```
870
963
 
871
964
  _See code: [src/commands/order/shipping_address_same_as_billing.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/shipping_address_same_as_billing.ts)_
@@ -879,10 +972,13 @@ USAGE
879
972
  $ commercelayer order:unarchive ID
880
973
 
881
974
  ARGUMENTS
882
- ID the unique id of the order
975
+ ID the unique id of the resource
883
976
 
884
977
  OPTIONS
978
+ -j, --json print result in JSON format
885
979
  -o, --organization=organization (required) the slug of your organization
980
+ -p, --print print out the modified resource
981
+ -u, --unformatted print JSON output without indentation
886
982
  ```
887
983
 
888
984
  _See code: [src/commands/order/unarchive.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/unarchive.ts)_
@@ -896,10 +992,13 @@ USAGE
896
992
  $ commercelayer order:update_taxes ID
897
993
 
898
994
  ARGUMENTS
899
- ID the unique id of the order
995
+ ID the unique id of the resource
900
996
 
901
997
  OPTIONS
998
+ -j, --json print result in JSON format
902
999
  -o, --organization=organization (required) the slug of your organization
1000
+ -p, --print print out the modified resource
1001
+ -u, --unformatted print JSON output without indentation
903
1002
  ```
904
1003
 
905
1004
  _See code: [src/commands/order/update_taxes.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/update_taxes.ts)_
@@ -913,10 +1012,13 @@ USAGE
913
1012
  $ commercelayer order_subscription ID
914
1013
 
915
1014
  ARGUMENTS
916
- ID the unique id of the order
1015
+ ID the unique id of the resource
917
1016
 
918
1017
  OPTIONS
1018
+ -j, --json print result in JSON format
919
1019
  -o, --organization=organization (required) the slug of your organization
1020
+ -p, --print print out the modified resource
1021
+ -u, --unformatted print JSON output without indentation
920
1022
  ```
921
1023
 
922
1024
  _See code: [src/commands/order_subscription/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order_subscription/index.ts)_
@@ -930,10 +1032,13 @@ USAGE
930
1032
  $ commercelayer order_subscription:activate ID
931
1033
 
932
1034
  ARGUMENTS
933
- ID the unique id of the order
1035
+ ID the unique id of the resource
934
1036
 
935
1037
  OPTIONS
1038
+ -j, --json print result in JSON format
936
1039
  -o, --organization=organization (required) the slug of your organization
1040
+ -p, --print print out the modified resource
1041
+ -u, --unformatted print JSON output without indentation
937
1042
  ```
938
1043
 
939
1044
  _See code: [src/commands/order_subscription/activate.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order_subscription/activate.ts)_
@@ -947,10 +1052,13 @@ USAGE
947
1052
  $ commercelayer order_subscription:cancel ID
948
1053
 
949
1054
  ARGUMENTS
950
- ID the unique id of the order
1055
+ ID the unique id of the resource
951
1056
 
952
1057
  OPTIONS
1058
+ -j, --json print result in JSON format
953
1059
  -o, --organization=organization (required) the slug of your organization
1060
+ -p, --print print out the modified resource
1061
+ -u, --unformatted print JSON output without indentation
954
1062
  ```
955
1063
 
956
1064
  _See code: [src/commands/order_subscription/cancel.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order_subscription/cancel.ts)_
@@ -964,10 +1072,13 @@ USAGE
964
1072
  $ commercelayer order_subscription:deactivate ID
965
1073
 
966
1074
  ARGUMENTS
967
- ID the unique id of the order
1075
+ ID the unique id of the resource
968
1076
 
969
1077
  OPTIONS
1078
+ -j, --json print result in JSON format
970
1079
  -o, --organization=organization (required) the slug of your organization
1080
+ -p, --print print out the modified resource
1081
+ -u, --unformatted print JSON output without indentation
971
1082
  ```
972
1083
 
973
1084
  _See code: [src/commands/order_subscription/deactivate.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order_subscription/deactivate.ts)_
@@ -981,10 +1092,13 @@ USAGE
981
1092
  $ commercelayer return ID
982
1093
 
983
1094
  ARGUMENTS
984
- ID the unique id of the order
1095
+ ID the unique id of the resource
985
1096
 
986
1097
  OPTIONS
1098
+ -j, --json print result in JSON format
987
1099
  -o, --organization=organization (required) the slug of your organization
1100
+ -p, --print print out the modified resource
1101
+ -u, --unformatted print JSON output without indentation
988
1102
  ```
989
1103
 
990
1104
  _See code: [src/commands/return/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/index.ts)_
@@ -998,10 +1112,13 @@ USAGE
998
1112
  $ commercelayer return:approve ID
999
1113
 
1000
1114
  ARGUMENTS
1001
- ID the unique id of the order
1115
+ ID the unique id of the resource
1002
1116
 
1003
1117
  OPTIONS
1118
+ -j, --json print result in JSON format
1004
1119
  -o, --organization=organization (required) the slug of your organization
1120
+ -p, --print print out the modified resource
1121
+ -u, --unformatted print JSON output without indentation
1005
1122
  ```
1006
1123
 
1007
1124
  _See code: [src/commands/return/approve.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/approve.ts)_
@@ -1015,10 +1132,13 @@ USAGE
1015
1132
  $ commercelayer return:archive ID
1016
1133
 
1017
1134
  ARGUMENTS
1018
- ID the unique id of the order
1135
+ ID the unique id of the resource
1019
1136
 
1020
1137
  OPTIONS
1138
+ -j, --json print result in JSON format
1021
1139
  -o, --organization=organization (required) the slug of your organization
1140
+ -p, --print print out the modified resource
1141
+ -u, --unformatted print JSON output without indentation
1022
1142
  ```
1023
1143
 
1024
1144
  _See code: [src/commands/return/archive.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/archive.ts)_
@@ -1032,10 +1152,13 @@ USAGE
1032
1152
  $ commercelayer return:cancel ID
1033
1153
 
1034
1154
  ARGUMENTS
1035
- ID the unique id of the order
1155
+ ID the unique id of the resource
1036
1156
 
1037
1157
  OPTIONS
1158
+ -j, --json print result in JSON format
1038
1159
  -o, --organization=organization (required) the slug of your organization
1160
+ -p, --print print out the modified resource
1161
+ -u, --unformatted print JSON output without indentation
1039
1162
  ```
1040
1163
 
1041
1164
  _See code: [src/commands/return/cancel.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/cancel.ts)_
@@ -1049,10 +1172,13 @@ USAGE
1049
1172
  $ commercelayer return:receive ID
1050
1173
 
1051
1174
  ARGUMENTS
1052
- ID the unique id of the order
1175
+ ID the unique id of the resource
1053
1176
 
1054
1177
  OPTIONS
1178
+ -j, --json print result in JSON format
1055
1179
  -o, --organization=organization (required) the slug of your organization
1180
+ -p, --print print out the modified resource
1181
+ -u, --unformatted print JSON output without indentation
1056
1182
  ```
1057
1183
 
1058
1184
  _See code: [src/commands/return/receive.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/receive.ts)_
@@ -1066,10 +1192,13 @@ USAGE
1066
1192
  $ commercelayer return:reject ID
1067
1193
 
1068
1194
  ARGUMENTS
1069
- ID the unique id of the order
1195
+ ID the unique id of the resource
1070
1196
 
1071
1197
  OPTIONS
1198
+ -j, --json print result in JSON format
1072
1199
  -o, --organization=organization (required) the slug of your organization
1200
+ -p, --print print out the modified resource
1201
+ -u, --unformatted print JSON output without indentation
1073
1202
  ```
1074
1203
 
1075
1204
  _See code: [src/commands/return/reject.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/reject.ts)_
@@ -1083,10 +1212,13 @@ USAGE
1083
1212
  $ commercelayer return:request ID
1084
1213
 
1085
1214
  ARGUMENTS
1086
- ID the unique id of the order
1215
+ ID the unique id of the resource
1087
1216
 
1088
1217
  OPTIONS
1218
+ -j, --json print result in JSON format
1089
1219
  -o, --organization=organization (required) the slug of your organization
1220
+ -p, --print print out the modified resource
1221
+ -u, --unformatted print JSON output without indentation
1090
1222
  ```
1091
1223
 
1092
1224
  _See code: [src/commands/return/request.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/request.ts)_
@@ -1100,10 +1232,13 @@ USAGE
1100
1232
  $ commercelayer return:restock ID
1101
1233
 
1102
1234
  ARGUMENTS
1103
- ID the unique id of the order
1235
+ ID the unique id of the resource
1104
1236
 
1105
1237
  OPTIONS
1238
+ -j, --json print result in JSON format
1106
1239
  -o, --organization=organization (required) the slug of your organization
1240
+ -p, --print print out the modified resource
1241
+ -u, --unformatted print JSON output without indentation
1107
1242
  ```
1108
1243
 
1109
1244
  _See code: [src/commands/return/restock.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/restock.ts)_
@@ -1117,10 +1252,13 @@ USAGE
1117
1252
  $ commercelayer return:ship ID
1118
1253
 
1119
1254
  ARGUMENTS
1120
- ID the unique id of the order
1255
+ ID the unique id of the resource
1121
1256
 
1122
1257
  OPTIONS
1258
+ -j, --json print result in JSON format
1123
1259
  -o, --organization=organization (required) the slug of your organization
1260
+ -p, --print print out the modified resource
1261
+ -u, --unformatted print JSON output without indentation
1124
1262
  ```
1125
1263
 
1126
1264
  _See code: [src/commands/return/ship.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/ship.ts)_
@@ -1134,10 +1272,13 @@ USAGE
1134
1272
  $ commercelayer return:unarchive ID
1135
1273
 
1136
1274
  ARGUMENTS
1137
- ID the unique id of the order
1275
+ ID the unique id of the resource
1138
1276
 
1139
1277
  OPTIONS
1278
+ -j, --json print result in JSON format
1140
1279
  -o, --organization=organization (required) the slug of your organization
1280
+ -p, --print print out the modified resource
1281
+ -u, --unformatted print JSON output without indentation
1141
1282
  ```
1142
1283
 
1143
1284
  _See code: [src/commands/return/unarchive.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return/unarchive.ts)_
@@ -1151,10 +1292,13 @@ USAGE
1151
1292
  $ commercelayer return_line_item ID
1152
1293
 
1153
1294
  ARGUMENTS
1154
- ID the unique id of the order
1295
+ ID the unique id of the resource
1155
1296
 
1156
1297
  OPTIONS
1298
+ -j, --json print result in JSON format
1157
1299
  -o, --organization=organization (required) the slug of your organization
1300
+ -p, --print print out the modified resource
1301
+ -u, --unformatted print JSON output without indentation
1158
1302
  ```
1159
1303
 
1160
1304
  _See code: [src/commands/return_line_item/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return_line_item/index.ts)_
@@ -1168,10 +1312,13 @@ USAGE
1168
1312
  $ commercelayer return_line_item:restock ID
1169
1313
 
1170
1314
  ARGUMENTS
1171
- ID the unique id of the order
1315
+ ID the unique id of the resource
1172
1316
 
1173
1317
  OPTIONS
1318
+ -j, --json print result in JSON format
1174
1319
  -o, --organization=organization (required) the slug of your organization
1320
+ -p, --print print out the modified resource
1321
+ -u, --unformatted print JSON output without indentation
1175
1322
  ```
1176
1323
 
1177
1324
  _See code: [src/commands/return_line_item/restock.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return_line_item/restock.ts)_
@@ -1185,10 +1332,13 @@ USAGE
1185
1332
  $ commercelayer shipment ID
1186
1333
 
1187
1334
  ARGUMENTS
1188
- ID the unique id of the order
1335
+ ID the unique id of the resource
1189
1336
 
1190
1337
  OPTIONS
1338
+ -j, --json print result in JSON format
1191
1339
  -o, --organization=organization (required) the slug of your organization
1340
+ -p, --print print out the modified resource
1341
+ -u, --unformatted print JSON output without indentation
1192
1342
  ```
1193
1343
 
1194
1344
  _See code: [src/commands/shipment/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipment/index.ts)_
@@ -1202,10 +1352,13 @@ USAGE
1202
1352
  $ commercelayer shipment:get_rates ID
1203
1353
 
1204
1354
  ARGUMENTS
1205
- ID the unique id of the order
1355
+ ID the unique id of the resource
1206
1356
 
1207
1357
  OPTIONS
1358
+ -j, --json print result in JSON format
1208
1359
  -o, --organization=organization (required) the slug of your organization
1360
+ -p, --print print out the modified resource
1361
+ -u, --unformatted print JSON output without indentation
1209
1362
  ```
1210
1363
 
1211
1364
  _See code: [src/commands/shipment/get_rates.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipment/get_rates.ts)_
@@ -1219,10 +1372,13 @@ USAGE
1219
1372
  $ commercelayer shipment:on_hold ID
1220
1373
 
1221
1374
  ARGUMENTS
1222
- ID the unique id of the order
1375
+ ID the unique id of the resource
1223
1376
 
1224
1377
  OPTIONS
1378
+ -j, --json print result in JSON format
1225
1379
  -o, --organization=organization (required) the slug of your organization
1380
+ -p, --print print out the modified resource
1381
+ -u, --unformatted print JSON output without indentation
1226
1382
  ```
1227
1383
 
1228
1384
  _See code: [src/commands/shipment/on_hold.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipment/on_hold.ts)_
@@ -1236,10 +1392,13 @@ USAGE
1236
1392
  $ commercelayer shipment:packing ID
1237
1393
 
1238
1394
  ARGUMENTS
1239
- ID the unique id of the order
1395
+ ID the unique id of the resource
1240
1396
 
1241
1397
  OPTIONS
1398
+ -j, --json print result in JSON format
1242
1399
  -o, --organization=organization (required) the slug of your organization
1400
+ -p, --print print out the modified resource
1401
+ -u, --unformatted print JSON output without indentation
1243
1402
  ```
1244
1403
 
1245
1404
  _See code: [src/commands/shipment/packing.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipment/packing.ts)_
@@ -1253,10 +1412,13 @@ USAGE
1253
1412
  $ commercelayer shipment:picking ID
1254
1413
 
1255
1414
  ARGUMENTS
1256
- ID the unique id of the order
1415
+ ID the unique id of the resource
1257
1416
 
1258
1417
  OPTIONS
1418
+ -j, --json print result in JSON format
1259
1419
  -o, --organization=organization (required) the slug of your organization
1420
+ -p, --print print out the modified resource
1421
+ -u, --unformatted print JSON output without indentation
1260
1422
  ```
1261
1423
 
1262
1424
  _See code: [src/commands/shipment/picking.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipment/picking.ts)_
@@ -1270,10 +1432,13 @@ USAGE
1270
1432
  $ commercelayer shipment:purchase ID
1271
1433
 
1272
1434
  ARGUMENTS
1273
- ID the unique id of the order
1435
+ ID the unique id of the resource
1274
1436
 
1275
1437
  OPTIONS
1438
+ -j, --json print result in JSON format
1276
1439
  -o, --organization=organization (required) the slug of your organization
1440
+ -p, --print print out the modified resource
1441
+ -u, --unformatted print JSON output without indentation
1277
1442
  ```
1278
1443
 
1279
1444
  _See code: [src/commands/shipment/purchase.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipment/purchase.ts)_
@@ -1287,10 +1452,13 @@ USAGE
1287
1452
  $ commercelayer shipment:ready_to_ship ID
1288
1453
 
1289
1454
  ARGUMENTS
1290
- ID the unique id of the order
1455
+ ID the unique id of the resource
1291
1456
 
1292
1457
  OPTIONS
1458
+ -j, --json print result in JSON format
1293
1459
  -o, --organization=organization (required) the slug of your organization
1460
+ -p, --print print out the modified resource
1461
+ -u, --unformatted print JSON output without indentation
1294
1462
  ```
1295
1463
 
1296
1464
  _See code: [src/commands/shipment/ready_to_ship.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipment/ready_to_ship.ts)_
@@ -1304,10 +1472,13 @@ USAGE
1304
1472
  $ commercelayer shipment:ship ID
1305
1473
 
1306
1474
  ARGUMENTS
1307
- ID the unique id of the order
1475
+ ID the unique id of the resource
1308
1476
 
1309
1477
  OPTIONS
1478
+ -j, --json print result in JSON format
1310
1479
  -o, --organization=organization (required) the slug of your organization
1480
+ -p, --print print out the modified resource
1481
+ -u, --unformatted print JSON output without indentation
1311
1482
  ```
1312
1483
 
1313
1484
  _See code: [src/commands/shipment/ship.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipment/ship.ts)_
@@ -1321,10 +1492,13 @@ USAGE
1321
1492
  $ commercelayer stock_transfer ID
1322
1493
 
1323
1494
  ARGUMENTS
1324
- ID the unique id of the order
1495
+ ID the unique id of the resource
1325
1496
 
1326
1497
  OPTIONS
1498
+ -j, --json print result in JSON format
1327
1499
  -o, --organization=organization (required) the slug of your organization
1500
+ -p, --print print out the modified resource
1501
+ -u, --unformatted print JSON output without indentation
1328
1502
  ```
1329
1503
 
1330
1504
  _See code: [src/commands/stock_transfer/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stock_transfer/index.ts)_
@@ -1338,10 +1512,13 @@ USAGE
1338
1512
  $ commercelayer stock_transfer:cancel ID
1339
1513
 
1340
1514
  ARGUMENTS
1341
- ID the unique id of the order
1515
+ ID the unique id of the resource
1342
1516
 
1343
1517
  OPTIONS
1518
+ -j, --json print result in JSON format
1344
1519
  -o, --organization=organization (required) the slug of your organization
1520
+ -p, --print print out the modified resource
1521
+ -u, --unformatted print JSON output without indentation
1345
1522
  ```
1346
1523
 
1347
1524
  _See code: [src/commands/stock_transfer/cancel.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stock_transfer/cancel.ts)_
@@ -1355,10 +1532,13 @@ USAGE
1355
1532
  $ commercelayer stock_transfer:complete ID
1356
1533
 
1357
1534
  ARGUMENTS
1358
- ID the unique id of the order
1535
+ ID the unique id of the resource
1359
1536
 
1360
1537
  OPTIONS
1538
+ -j, --json print result in JSON format
1361
1539
  -o, --organization=organization (required) the slug of your organization
1540
+ -p, --print print out the modified resource
1541
+ -u, --unformatted print JSON output without indentation
1362
1542
  ```
1363
1543
 
1364
1544
  _See code: [src/commands/stock_transfer/complete.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stock_transfer/complete.ts)_
@@ -1372,10 +1552,13 @@ USAGE
1372
1552
  $ commercelayer stock_transfer:in_transit ID
1373
1553
 
1374
1554
  ARGUMENTS
1375
- ID the unique id of the order
1555
+ ID the unique id of the resource
1376
1556
 
1377
1557
  OPTIONS
1558
+ -j, --json print result in JSON format
1378
1559
  -o, --organization=organization (required) the slug of your organization
1560
+ -p, --print print out the modified resource
1561
+ -u, --unformatted print JSON output without indentation
1379
1562
  ```
1380
1563
 
1381
1564
  _See code: [src/commands/stock_transfer/in_transit.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stock_transfer/in_transit.ts)_
@@ -1389,10 +1572,13 @@ USAGE
1389
1572
  $ commercelayer stock_transfer:picking ID
1390
1573
 
1391
1574
  ARGUMENTS
1392
- ID the unique id of the order
1575
+ ID the unique id of the resource
1393
1576
 
1394
1577
  OPTIONS
1578
+ -j, --json print result in JSON format
1395
1579
  -o, --organization=organization (required) the slug of your organization
1580
+ -p, --print print out the modified resource
1581
+ -u, --unformatted print JSON output without indentation
1396
1582
  ```
1397
1583
 
1398
1584
  _See code: [src/commands/stock_transfer/picking.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stock_transfer/picking.ts)_
@@ -1406,10 +1592,13 @@ USAGE
1406
1592
  $ commercelayer stock_transfer:upcoming ID
1407
1593
 
1408
1594
  ARGUMENTS
1409
- ID the unique id of the order
1595
+ ID the unique id of the resource
1410
1596
 
1411
1597
  OPTIONS
1598
+ -j, --json print result in JSON format
1412
1599
  -o, --organization=organization (required) the slug of your organization
1600
+ -p, --print print out the modified resource
1601
+ -u, --unformatted print JSON output without indentation
1413
1602
  ```
1414
1603
 
1415
1604
  _See code: [src/commands/stock_transfer/upcoming.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stock_transfer/upcoming.ts)_
@@ -1423,10 +1612,13 @@ USAGE
1423
1612
  $ commercelayer stripe_payment ID
1424
1613
 
1425
1614
  ARGUMENTS
1426
- ID the unique id of the order
1615
+ ID the unique id of the resource
1427
1616
 
1428
1617
  OPTIONS
1618
+ -j, --json print result in JSON format
1429
1619
  -o, --organization=organization (required) the slug of your organization
1620
+ -p, --print print out the modified resource
1621
+ -u, --unformatted print JSON output without indentation
1430
1622
  ```
1431
1623
 
1432
1624
  _See code: [src/commands/stripe_payment/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stripe_payment/index.ts)_
@@ -1440,10 +1632,13 @@ USAGE
1440
1632
  $ commercelayer stripe_payment:refresh ID
1441
1633
 
1442
1634
  ARGUMENTS
1443
- ID the unique id of the order
1635
+ ID the unique id of the resource
1444
1636
 
1445
1637
  OPTIONS
1638
+ -j, --json print result in JSON format
1446
1639
  -o, --organization=organization (required) the slug of your organization
1640
+ -p, --print print out the modified resource
1641
+ -u, --unformatted print JSON output without indentation
1447
1642
  ```
1448
1643
 
1449
1644
  _See code: [src/commands/stripe_payment/refresh.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stripe_payment/refresh.ts)_
@@ -1457,10 +1652,13 @@ USAGE
1457
1652
  $ commercelayer webhook ID
1458
1653
 
1459
1654
  ARGUMENTS
1460
- ID the unique id of the order
1655
+ ID the unique id of the resource
1461
1656
 
1462
1657
  OPTIONS
1658
+ -j, --json print result in JSON format
1463
1659
  -o, --organization=organization (required) the slug of your organization
1660
+ -p, --print print out the modified resource
1661
+ -u, --unformatted print JSON output without indentation
1464
1662
  ```
1465
1663
 
1466
1664
  _See code: [src/commands/webhook/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/webhook/index.ts)_
@@ -1474,10 +1672,13 @@ USAGE
1474
1672
  $ commercelayer webhook:reset_circuit ID
1475
1673
 
1476
1674
  ARGUMENTS
1477
- ID the unique id of the order
1675
+ ID the unique id of the resource
1478
1676
 
1479
1677
  OPTIONS
1678
+ -j, --json print result in JSON format
1480
1679
  -o, --organization=organization (required) the slug of your organization
1680
+ -p, --print print out the modified resource
1681
+ -u, --unformatted print JSON output without indentation
1481
1682
  ```
1482
1683
 
1483
1684
  _See code: [src/commands/webhook/reset_circuit.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/webhook/reset_circuit.ts)_