@commercelayer/cli-plugin-triggers 3.7.0 → 3.8.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 (207) hide show
  1. package/README.md +168 -96
  2. package/lib/base.d.ts +9 -11
  3. package/lib/base.js +4 -4
  4. package/lib/commands/adyen_payment/details.d.ts +3 -12
  5. package/lib/commands/adyen_payment/details.js +2 -4
  6. package/lib/commands/adyen_payment/index.d.ts +3 -12
  7. package/lib/commands/adyen_payment/index.js +2 -4
  8. package/lib/commands/authorization/capture.d.ts +3 -12
  9. package/lib/commands/authorization/capture.js +2 -4
  10. package/lib/commands/authorization/capture_amount_cents.d.ts +3 -12
  11. package/lib/commands/authorization/capture_amount_cents.js +2 -4
  12. package/lib/commands/authorization/index.d.ts +3 -12
  13. package/lib/commands/authorization/index.js +2 -4
  14. package/lib/commands/authorization/void.d.ts +3 -12
  15. package/lib/commands/authorization/void.js +2 -4
  16. package/lib/commands/axerve_payment/index.d.ts +9 -0
  17. package/lib/commands/axerve_payment/index.js +38 -0
  18. package/lib/commands/axerve_payment/update.d.ts +9 -0
  19. package/lib/commands/axerve_payment/update.js +21 -0
  20. package/lib/commands/bundle/compute_compare_at_amount.d.ts +3 -12
  21. package/lib/commands/bundle/compute_compare_at_amount.js +2 -4
  22. package/lib/commands/bundle/compute_price_amount.d.ts +3 -12
  23. package/lib/commands/bundle/compute_price_amount.js +2 -4
  24. package/lib/commands/bundle/index.d.ts +3 -12
  25. package/lib/commands/bundle/index.js +2 -4
  26. package/lib/commands/capture/index.d.ts +3 -12
  27. package/lib/commands/capture/index.js +2 -4
  28. package/lib/commands/capture/refund.d.ts +3 -12
  29. package/lib/commands/capture/refund.js +2 -4
  30. package/lib/commands/capture/refund_amount_cents.d.ts +3 -12
  31. package/lib/commands/capture/refund_amount_cents.js +2 -4
  32. package/lib/commands/checkout_com_payment/details.d.ts +3 -12
  33. package/lib/commands/checkout_com_payment/details.js +2 -4
  34. package/lib/commands/checkout_com_payment/index.d.ts +3 -12
  35. package/lib/commands/checkout_com_payment/index.js +2 -4
  36. package/lib/commands/checkout_com_payment/refresh.d.ts +3 -12
  37. package/lib/commands/checkout_com_payment/refresh.js +2 -4
  38. package/lib/commands/customer_password_reset/index.d.ts +3 -12
  39. package/lib/commands/customer_password_reset/index.js +2 -4
  40. package/lib/commands/customer_password_reset/reset_password_token.d.ts +3 -12
  41. package/lib/commands/customer_password_reset/reset_password_token.js +2 -4
  42. package/lib/commands/gift_card/activate.d.ts +3 -12
  43. package/lib/commands/gift_card/activate.js +2 -4
  44. package/lib/commands/gift_card/balance_change_cents.d.ts +3 -12
  45. package/lib/commands/gift_card/balance_change_cents.js +2 -4
  46. package/lib/commands/gift_card/deactivate.d.ts +3 -12
  47. package/lib/commands/gift_card/deactivate.js +2 -4
  48. package/lib/commands/gift_card/index.d.ts +3 -12
  49. package/lib/commands/gift_card/index.js +2 -4
  50. package/lib/commands/gift_card/purchase.d.ts +3 -12
  51. package/lib/commands/gift_card/purchase.js +2 -4
  52. package/lib/commands/in_stock_subscription/activate.d.ts +3 -12
  53. package/lib/commands/in_stock_subscription/activate.js +2 -4
  54. package/lib/commands/in_stock_subscription/deactivate.d.ts +3 -12
  55. package/lib/commands/in_stock_subscription/deactivate.js +2 -4
  56. package/lib/commands/in_stock_subscription/index.d.ts +3 -12
  57. package/lib/commands/in_stock_subscription/index.js +2 -4
  58. package/lib/commands/klarna_payment/index.d.ts +3 -12
  59. package/lib/commands/klarna_payment/index.js +2 -4
  60. package/lib/commands/klarna_payment/update.d.ts +3 -12
  61. package/lib/commands/klarna_payment/update.js +2 -4
  62. package/lib/commands/line_item/external_price.d.ts +3 -12
  63. package/lib/commands/line_item/external_price.js +2 -4
  64. package/lib/commands/line_item/index.d.ts +3 -12
  65. package/lib/commands/line_item/index.js +2 -4
  66. package/lib/commands/market/disable.d.ts +3 -12
  67. package/lib/commands/market/disable.js +2 -4
  68. package/lib/commands/market/enable.d.ts +3 -12
  69. package/lib/commands/market/enable.js +2 -4
  70. package/lib/commands/market/index.d.ts +3 -12
  71. package/lib/commands/market/index.js +2 -4
  72. package/lib/commands/order/approve.d.ts +3 -12
  73. package/lib/commands/order/approve.js +2 -4
  74. package/lib/commands/order/approve_and_capture.d.ts +3 -12
  75. package/lib/commands/order/approve_and_capture.js +2 -4
  76. package/lib/commands/order/archive.d.ts +3 -12
  77. package/lib/commands/order/archive.js +2 -4
  78. package/lib/commands/order/authorization_amount_cents.d.ts +3 -12
  79. package/lib/commands/order/authorization_amount_cents.js +2 -4
  80. package/lib/commands/order/authorize.d.ts +3 -12
  81. package/lib/commands/order/authorize.js +2 -4
  82. package/lib/commands/order/billing_address_clone_id.d.ts +3 -11
  83. package/lib/commands/order/billing_address_clone_id.js +5 -5
  84. package/lib/commands/order/billing_address_same_as_shipping.d.ts +3 -12
  85. package/lib/commands/order/billing_address_same_as_shipping.js +2 -4
  86. package/lib/commands/order/cancel.d.ts +3 -12
  87. package/lib/commands/order/cancel.js +2 -4
  88. package/lib/commands/order/capture.d.ts +3 -12
  89. package/lib/commands/order/capture.js +2 -4
  90. package/lib/commands/order/commit_invoice.d.ts +3 -12
  91. package/lib/commands/order/commit_invoice.js +2 -4
  92. package/lib/commands/order/customer_payment_source_id.d.ts +3 -11
  93. package/lib/commands/order/customer_payment_source_id.js +5 -5
  94. package/lib/commands/order/index.d.ts +3 -12
  95. package/lib/commands/order/index.js +2 -4
  96. package/lib/commands/order/nullify_payment_source.d.ts +3 -12
  97. package/lib/commands/order/nullify_payment_source.js +2 -4
  98. package/lib/commands/order/place.d.ts +3 -12
  99. package/lib/commands/order/place.js +2 -4
  100. package/lib/commands/order/refresh.d.ts +3 -12
  101. package/lib/commands/order/refresh.js +2 -4
  102. package/lib/commands/order/refund.d.ts +3 -12
  103. package/lib/commands/order/refund.js +2 -4
  104. package/lib/commands/order/refund_invoice.d.ts +3 -12
  105. package/lib/commands/order/refund_invoice.js +2 -4
  106. package/lib/commands/order/save_billing_address_to_customer_address_book.d.ts +3 -12
  107. package/lib/commands/order/save_billing_address_to_customer_address_book.js +2 -4
  108. package/lib/commands/order/save_payment_source_to_customer_wallet.d.ts +3 -12
  109. package/lib/commands/order/save_payment_source_to_customer_wallet.js +2 -4
  110. package/lib/commands/order/save_shipping_address_to_customer_address_book.d.ts +3 -12
  111. package/lib/commands/order/save_shipping_address_to_customer_address_book.js +2 -4
  112. package/lib/commands/order/shipping_address_clone_id.d.ts +3 -11
  113. package/lib/commands/order/shipping_address_clone_id.js +5 -5
  114. package/lib/commands/order/shipping_address_same_as_billing.d.ts +3 -12
  115. package/lib/commands/order/shipping_address_same_as_billing.js +2 -4
  116. package/lib/commands/order/unarchive.d.ts +3 -12
  117. package/lib/commands/order/unarchive.js +2 -4
  118. package/lib/commands/order/update_taxes.d.ts +3 -12
  119. package/lib/commands/order/update_taxes.js +2 -4
  120. package/lib/commands/order/validate.d.ts +9 -0
  121. package/lib/commands/order/validate.js +21 -0
  122. package/lib/commands/order_subscription/activate.d.ts +3 -12
  123. package/lib/commands/order_subscription/activate.js +2 -4
  124. package/lib/commands/order_subscription/cancel.d.ts +3 -12
  125. package/lib/commands/order_subscription/cancel.js +2 -4
  126. package/lib/commands/order_subscription/deactivate.d.ts +3 -12
  127. package/lib/commands/order_subscription/deactivate.js +2 -4
  128. package/lib/commands/order_subscription/index.d.ts +3 -12
  129. package/lib/commands/order_subscription/index.js +2 -4
  130. package/lib/commands/payment_method/disable.d.ts +3 -12
  131. package/lib/commands/payment_method/disable.js +2 -4
  132. package/lib/commands/payment_method/enable.d.ts +3 -12
  133. package/lib/commands/payment_method/enable.js +2 -4
  134. package/lib/commands/payment_method/index.d.ts +3 -12
  135. package/lib/commands/payment_method/index.js +2 -4
  136. package/lib/commands/return/approve.d.ts +3 -12
  137. package/lib/commands/return/approve.js +2 -4
  138. package/lib/commands/return/archive.d.ts +3 -12
  139. package/lib/commands/return/archive.js +2 -4
  140. package/lib/commands/return/cancel.d.ts +3 -12
  141. package/lib/commands/return/cancel.js +2 -4
  142. package/lib/commands/return/index.d.ts +3 -12
  143. package/lib/commands/return/index.js +2 -4
  144. package/lib/commands/return/receive.d.ts +3 -12
  145. package/lib/commands/return/receive.js +2 -4
  146. package/lib/commands/return/reject.d.ts +3 -12
  147. package/lib/commands/return/reject.js +2 -4
  148. package/lib/commands/return/request.d.ts +3 -12
  149. package/lib/commands/return/request.js +2 -4
  150. package/lib/commands/return/restock.d.ts +3 -12
  151. package/lib/commands/return/restock.js +2 -4
  152. package/lib/commands/return/ship.d.ts +3 -12
  153. package/lib/commands/return/ship.js +2 -4
  154. package/lib/commands/return/unarchive.d.ts +3 -12
  155. package/lib/commands/return/unarchive.js +2 -4
  156. package/lib/commands/return_line_item/index.d.ts +3 -12
  157. package/lib/commands/return_line_item/index.js +2 -4
  158. package/lib/commands/return_line_item/restock.d.ts +3 -12
  159. package/lib/commands/return_line_item/restock.js +2 -4
  160. package/lib/commands/shipment/get_rates.d.ts +3 -12
  161. package/lib/commands/shipment/get_rates.js +2 -4
  162. package/lib/commands/shipment/index.d.ts +3 -12
  163. package/lib/commands/shipment/index.js +2 -4
  164. package/lib/commands/shipment/on_hold.d.ts +3 -12
  165. package/lib/commands/shipment/on_hold.js +2 -4
  166. package/lib/commands/shipment/packing.d.ts +3 -12
  167. package/lib/commands/shipment/packing.js +2 -4
  168. package/lib/commands/shipment/picking.d.ts +3 -12
  169. package/lib/commands/shipment/picking.js +2 -4
  170. package/lib/commands/shipment/purchase.d.ts +3 -12
  171. package/lib/commands/shipment/purchase.js +2 -4
  172. package/lib/commands/shipment/ready_to_ship.d.ts +3 -12
  173. package/lib/commands/shipment/ready_to_ship.js +2 -4
  174. package/lib/commands/shipment/ship.d.ts +3 -12
  175. package/lib/commands/shipment/ship.js +2 -4
  176. package/lib/commands/shipping_method/disable.d.ts +3 -12
  177. package/lib/commands/shipping_method/disable.js +2 -4
  178. package/lib/commands/shipping_method/enable.d.ts +3 -12
  179. package/lib/commands/shipping_method/enable.js +2 -4
  180. package/lib/commands/shipping_method/index.d.ts +3 -12
  181. package/lib/commands/shipping_method/index.js +2 -4
  182. package/lib/commands/stock_transfer/cancel.d.ts +3 -12
  183. package/lib/commands/stock_transfer/cancel.js +2 -4
  184. package/lib/commands/stock_transfer/complete.d.ts +3 -12
  185. package/lib/commands/stock_transfer/complete.js +2 -4
  186. package/lib/commands/stock_transfer/in_transit.d.ts +3 -12
  187. package/lib/commands/stock_transfer/in_transit.js +2 -4
  188. package/lib/commands/stock_transfer/index.d.ts +3 -12
  189. package/lib/commands/stock_transfer/index.js +2 -4
  190. package/lib/commands/stock_transfer/picking.d.ts +3 -12
  191. package/lib/commands/stock_transfer/picking.js +2 -4
  192. package/lib/commands/stock_transfer/upcoming.d.ts +3 -12
  193. package/lib/commands/stock_transfer/upcoming.js +2 -4
  194. package/lib/commands/stripe_payment/index.d.ts +3 -12
  195. package/lib/commands/stripe_payment/index.js +2 -4
  196. package/lib/commands/stripe_payment/refresh.d.ts +3 -12
  197. package/lib/commands/stripe_payment/refresh.js +2 -4
  198. package/lib/commands/webhook/index.d.ts +3 -12
  199. package/lib/commands/webhook/index.js +2 -4
  200. package/lib/commands/webhook/reset_circuit.d.ts +3 -12
  201. package/lib/commands/webhook/reset_circuit.js +2 -4
  202. package/lib/triggers/axerve_payments.d.ts +5 -0
  203. package/lib/triggers/axerve_payments.js +10 -0
  204. package/lib/triggers/orders.d.ts +1 -1
  205. package/lib/triggers/orders.js +5 -0
  206. package/oclif.manifest.json +7069 -1
  207. package/package.json +12 -12
package/README.md CHANGED
@@ -36,6 +36,8 @@ $ commercelayer plugins:install triggers
36
36
  * [`commercelayer authorization:capture ID`](#commercelayer-authorizationcapture-id)
37
37
  * [`commercelayer authorization:capture_amount_cents ID`](#commercelayer-authorizationcapture_amount_cents-id)
38
38
  * [`commercelayer authorization:void ID`](#commercelayer-authorizationvoid-id)
39
+ * [`commercelayer axerve_payment ID`](#commercelayer-axerve_payment-id)
40
+ * [`commercelayer axerve_payment:update ID`](#commercelayer-axerve_paymentupdate-id)
39
41
  * [`commercelayer bundle ID`](#commercelayer-bundle-id)
40
42
  * [`commercelayer bundle:compute_compare_at_amount ID`](#commercelayer-bundlecompute_compare_at_amount-id)
41
43
  * [`commercelayer bundle:compute_price_amount ID`](#commercelayer-bundlecompute_price_amount-id)
@@ -86,6 +88,7 @@ $ commercelayer plugins:install triggers
86
88
  * [`commercelayer order:shipping_address_same_as_billing ID`](#commercelayer-ordershipping_address_same_as_billing-id)
87
89
  * [`commercelayer order:unarchive ID`](#commercelayer-orderunarchive-id)
88
90
  * [`commercelayer order:update_taxes ID`](#commercelayer-orderupdate_taxes-id)
91
+ * [`commercelayer order:validate ID`](#commercelayer-ordervalidate-id)
89
92
  * [`commercelayer order_subscription ID`](#commercelayer-order_subscription-id)
90
93
  * [`commercelayer order_subscription:activate ID`](#commercelayer-order_subscriptionactivate-id)
91
94
  * [`commercelayer order_subscription:cancel ID`](#commercelayer-order_subscriptioncancel-id)
@@ -133,7 +136,7 @@ Execute an action on a resource of type adyen_payments.
133
136
 
134
137
  ```sh-session
135
138
  USAGE
136
- $ commercelayer adyen_payment [ID] -o <value> [-u [-j -p]]
139
+ $ commercelayer adyen_payment ID -o <value> [-u [-j -p]]
137
140
 
138
141
  ARGUMENTS
139
142
  ID the unique id of the resource
@@ -156,7 +159,7 @@ Send this attribute if you want to send additional details the payment request.
156
159
 
157
160
  ```sh-session
158
161
  USAGE
159
- $ commercelayer adyen_payment:details [ID] -o <value> [-u [-j -p]]
162
+ $ commercelayer adyen_payment:details ID -o <value> [-u [-j -p]]
160
163
 
161
164
  ARGUMENTS
162
165
  ID the unique id of the resource
@@ -179,7 +182,7 @@ Execute an action on a resource of type authorizations.
179
182
 
180
183
  ```sh-session
181
184
  USAGE
182
- $ commercelayer authorization [ID] -o <value> [-u [-j -p]]
185
+ $ commercelayer authorization ID -o <value> [-u [-j -p]]
183
186
 
184
187
  ARGUMENTS
185
188
  ID the unique id of the resource
@@ -202,7 +205,7 @@ Send this attribute if you want to create a capture for this authorization.
202
205
 
203
206
  ```sh-session
204
207
  USAGE
205
- $ commercelayer authorization:capture [ID] -o <value> [-u [-j -p]]
208
+ $ commercelayer authorization:capture ID -o <value> [-u [-j -p]]
206
209
 
207
210
  ARGUMENTS
208
211
  ID the unique id of the resource
@@ -225,7 +228,7 @@ The associated capture amount, in cents.
225
228
 
226
229
  ```sh-session
227
230
  USAGE
228
- $ commercelayer authorization:capture_amount_cents [ID] -o <value> [-u [-j -p]]
231
+ $ commercelayer authorization:capture_amount_cents ID -o <value> [-u [-j -p]]
229
232
 
230
233
  ARGUMENTS
231
234
  ID the unique id of the resource
@@ -248,7 +251,7 @@ Send this attribute if you want to create a void for this authorization.
248
251
 
249
252
  ```sh-session
250
253
  USAGE
251
- $ commercelayer authorization:void [ID] -o <value> [-u [-j -p]]
254
+ $ commercelayer authorization:void ID -o <value> [-u [-j -p]]
252
255
 
253
256
  ARGUMENTS
254
257
  ID the unique id of the resource
@@ -265,13 +268,59 @@ DESCRIPTION
265
268
 
266
269
  _See code: [src/commands/authorization/void.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/authorization/void.ts)_
267
270
 
271
+ ### `commercelayer axerve_payment ID`
272
+
273
+ Execute an action on a resource of type axerve_payments.
274
+
275
+ ```sh-session
276
+ USAGE
277
+ $ commercelayer axerve_payment ID -o <value> [-u [-j -p]]
278
+
279
+ ARGUMENTS
280
+ ID the unique id of the resource
281
+
282
+ FLAGS
283
+ -j, --json print result in JSON format
284
+ -o, --organization=<value> (required) the slug of your organization
285
+ -p, --print print out the modified resource
286
+ -u, --unformatted print JSON output without indentation
287
+
288
+ DESCRIPTION
289
+ execute an action on a resource of type axerve_payments
290
+ ```
291
+
292
+ _See code: [src/commands/axerve_payment/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/axerve_payment/index.ts)_
293
+
294
+ ### `commercelayer axerve_payment:update ID`
295
+
296
+ Send this attribute if you want to update the payment with fresh order data.
297
+
298
+ ```sh-session
299
+ USAGE
300
+ $ commercelayer axerve_payment:update ID -o <value> [-u [-j -p]]
301
+
302
+ ARGUMENTS
303
+ ID the unique id of the resource
304
+
305
+ FLAGS
306
+ -j, --json print result in JSON format
307
+ -o, --organization=<value> (required) the slug of your organization
308
+ -p, --print print out the modified resource
309
+ -u, --unformatted print JSON output without indentation
310
+
311
+ DESCRIPTION
312
+ Send this attribute if you want to update the payment with fresh order data.
313
+ ```
314
+
315
+ _See code: [src/commands/axerve_payment/update.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/axerve_payment/update.ts)_
316
+
268
317
  ### `commercelayer bundle ID`
269
318
 
270
319
  Execute an action on a resource of type bundles.
271
320
 
272
321
  ```sh-session
273
322
  USAGE
274
- $ commercelayer bundle [ID] -o <value> [-u [-j -p]]
323
+ $ commercelayer bundle ID -o <value> [-u [-j -p]]
275
324
 
276
325
  ARGUMENTS
277
326
  ID the unique id of the resource
@@ -294,7 +343,7 @@ Send this attribute if you want to compute the compare_at_amount_cents as the su
294
343
 
295
344
  ```sh-session
296
345
  USAGE
297
- $ commercelayer bundle:compute_compare_at_amount [ID] -o <value> [-u [-j -p]]
346
+ $ commercelayer bundle:compute_compare_at_amount ID -o <value> [-u [-j -p]]
298
347
 
299
348
  ARGUMENTS
300
349
  ID the unique id of the resource
@@ -318,7 +367,7 @@ Send this attribute if you want to compute the price_amount_cents as the sum of
318
367
 
319
368
  ```sh-session
320
369
  USAGE
321
- $ commercelayer bundle:compute_price_amount [ID] -o <value> [-u [-j -p]]
370
+ $ commercelayer bundle:compute_price_amount ID -o <value> [-u [-j -p]]
322
371
 
323
372
  ARGUMENTS
324
373
  ID the unique id of the resource
@@ -342,7 +391,7 @@ Execute an action on a resource of type captures.
342
391
 
343
392
  ```sh-session
344
393
  USAGE
345
- $ commercelayer capture [ID] -o <value> [-u [-j -p]]
394
+ $ commercelayer capture ID -o <value> [-u [-j -p]]
346
395
 
347
396
  ARGUMENTS
348
397
  ID the unique id of the resource
@@ -365,7 +414,7 @@ Send this attribute if you want to create a refund for this capture.
365
414
 
366
415
  ```sh-session
367
416
  USAGE
368
- $ commercelayer capture:refund [ID] -o <value> [-u [-j -p]]
417
+ $ commercelayer capture:refund ID -o <value> [-u [-j -p]]
369
418
 
370
419
  ARGUMENTS
371
420
  ID the unique id of the resource
@@ -388,7 +437,7 @@ The associated refund amount, in cents.
388
437
 
389
438
  ```sh-session
390
439
  USAGE
391
- $ commercelayer capture:refund_amount_cents [ID] -o <value> [-u [-j -p]]
440
+ $ commercelayer capture:refund_amount_cents ID -o <value> [-u [-j -p]]
392
441
 
393
442
  ARGUMENTS
394
443
  ID the unique id of the resource
@@ -411,7 +460,7 @@ Execute an action on a resource of type checkout_com_payments.
411
460
 
412
461
  ```sh-session
413
462
  USAGE
414
- $ commercelayer checkout_com_payment [ID] -o <value> [-u [-j -p]]
463
+ $ commercelayer checkout_com_payment ID -o <value> [-u [-j -p]]
415
464
 
416
465
  ARGUMENTS
417
466
  ID the unique id of the resource
@@ -434,7 +483,7 @@ Send this attribute if you want to send additional details the payment request (
434
483
 
435
484
  ```sh-session
436
485
  USAGE
437
- $ commercelayer checkout_com_payment:details [ID] -o <value> [-u [-j -p]]
486
+ $ commercelayer checkout_com_payment:details ID -o <value> [-u [-j -p]]
438
487
 
439
488
  ARGUMENTS
440
489
  ID the unique id of the resource
@@ -457,7 +506,7 @@ Send this attribute if you want to refresh all the pending transactions, can be
457
506
 
458
507
  ```sh-session
459
508
  USAGE
460
- $ commercelayer checkout_com_payment:refresh [ID] -o <value> [-u [-j -p]]
509
+ $ commercelayer checkout_com_payment:refresh ID -o <value> [-u [-j -p]]
461
510
 
462
511
  ARGUMENTS
463
512
  ID the unique id of the resource
@@ -480,7 +529,7 @@ Execute an action on a resource of type customer_password_resets.
480
529
 
481
530
  ```sh-session
482
531
  USAGE
483
- $ commercelayer customer_password_reset [ID] -o <value> [-u [-j -p]]
532
+ $ commercelayer customer_password_reset ID -o <value> [-u [-j -p]]
484
533
 
485
534
  ARGUMENTS
486
535
  ID the unique id of the resource
@@ -503,7 +552,7 @@ Send the 'reset_password_token' that you got on create when updating the custome
503
552
 
504
553
  ```sh-session
505
554
  USAGE
506
- $ commercelayer customer_password_reset:reset_password_token [ID] -o <value> [-u [-j -p]]
555
+ $ commercelayer customer_password_reset:reset_password_token ID -o <value> [-u [-j -p]]
507
556
 
508
557
  ARGUMENTS
509
558
  ID the unique id of the resource
@@ -526,7 +575,7 @@ Execute an action on a resource of type gift_cards.
526
575
 
527
576
  ```sh-session
528
577
  USAGE
529
- $ commercelayer gift_card [ID] -o <value> [-u [-j -p]]
578
+ $ commercelayer gift_card ID -o <value> [-u [-j -p]]
530
579
 
531
580
  ARGUMENTS
532
581
  ID the unique id of the resource
@@ -549,7 +598,7 @@ Send this attribute if you want to activate a gift card.
549
598
 
550
599
  ```sh-session
551
600
  USAGE
552
- $ commercelayer gift_card:activate [ID] -o <value> [-u [-j -p]]
601
+ $ commercelayer gift_card:activate ID -o <value> [-u [-j -p]]
553
602
 
554
603
  ARGUMENTS
555
604
  ID the unique id of the resource
@@ -572,7 +621,7 @@ The balance change, in cents. Send a negative value to reduces the card balance
572
621
 
573
622
  ```sh-session
574
623
  USAGE
575
- $ commercelayer gift_card:balance_change_cents [ID] -o <value> [-u [-j -p]]
624
+ $ commercelayer gift_card:balance_change_cents ID -o <value> [-u [-j -p]]
576
625
 
577
626
  ARGUMENTS
578
627
  ID the unique id of the resource
@@ -596,7 +645,7 @@ Send this attribute if you want to deactivate a gift card.
596
645
 
597
646
  ```sh-session
598
647
  USAGE
599
- $ commercelayer gift_card:deactivate [ID] -o <value> [-u [-j -p]]
648
+ $ commercelayer gift_card:deactivate ID -o <value> [-u [-j -p]]
600
649
 
601
650
  ARGUMENTS
602
651
  ID the unique id of the resource
@@ -619,7 +668,7 @@ Send this attribute if you want to confirm a draft gift card. The gift card beco
619
668
 
620
669
  ```sh-session
621
670
  USAGE
622
- $ commercelayer gift_card:purchase [ID] -o <value> [-u [-j -p]]
671
+ $ commercelayer gift_card:purchase ID -o <value> [-u [-j -p]]
623
672
 
624
673
  ARGUMENTS
625
674
  ID the unique id of the resource
@@ -643,7 +692,7 @@ Execute an action on a resource of type in_stock_subscriptions.
643
692
 
644
693
  ```sh-session
645
694
  USAGE
646
- $ commercelayer in_stock_subscription [ID] -o <value> [-u [-j -p]]
695
+ $ commercelayer in_stock_subscription ID -o <value> [-u [-j -p]]
647
696
 
648
697
  ARGUMENTS
649
698
  ID the unique id of the resource
@@ -666,7 +715,7 @@ Send this attribute if you want to activate an inactive subscription.
666
715
 
667
716
  ```sh-session
668
717
  USAGE
669
- $ commercelayer in_stock_subscription:activate [ID] -o <value> [-u [-j -p]]
718
+ $ commercelayer in_stock_subscription:activate ID -o <value> [-u [-j -p]]
670
719
 
671
720
  ARGUMENTS
672
721
  ID the unique id of the resource
@@ -689,7 +738,7 @@ Send this attribute if you want to dactivate an active subscription.
689
738
 
690
739
  ```sh-session
691
740
  USAGE
692
- $ commercelayer in_stock_subscription:deactivate [ID] -o <value> [-u [-j -p]]
741
+ $ commercelayer in_stock_subscription:deactivate ID -o <value> [-u [-j -p]]
693
742
 
694
743
  ARGUMENTS
695
744
  ID the unique id of the resource
@@ -712,7 +761,7 @@ Execute an action on a resource of type klarna_payments.
712
761
 
713
762
  ```sh-session
714
763
  USAGE
715
- $ commercelayer klarna_payment [ID] -o <value> [-u [-j -p]]
764
+ $ commercelayer klarna_payment ID -o <value> [-u [-j -p]]
716
765
 
717
766
  ARGUMENTS
718
767
  ID the unique id of the resource
@@ -735,7 +784,7 @@ Send this attribute if you want to update the payment session with fresh order d
735
784
 
736
785
  ```sh-session
737
786
  USAGE
738
- $ commercelayer klarna_payment:update [ID] -o <value> [-u [-j -p]]
787
+ $ commercelayer klarna_payment:update ID -o <value> [-u [-j -p]]
739
788
 
740
789
  ARGUMENTS
741
790
  ID the unique id of the resource
@@ -758,7 +807,7 @@ Execute an action on a resource of type line_items.
758
807
 
759
808
  ```sh-session
760
809
  USAGE
761
- $ commercelayer line_item [ID] -o <value> [-u [-j -p]]
810
+ $ commercelayer line_item ID -o <value> [-u [-j -p]]
762
811
 
763
812
  ARGUMENTS
764
813
  ID the unique id of the resource
@@ -781,7 +830,7 @@ When creating or updating a new line item, set this attribute to '1' if you want
781
830
 
782
831
  ```sh-session
783
832
  USAGE
784
- $ commercelayer line_item:external_price [ID] -o <value> [-u [-j -p]]
833
+ $ commercelayer line_item:external_price ID -o <value> [-u [-j -p]]
785
834
 
786
835
  ARGUMENTS
787
836
  ID the unique id of the resource
@@ -805,7 +854,7 @@ Execute an action on a resource of type markets.
805
854
 
806
855
  ```sh-session
807
856
  USAGE
808
- $ commercelayer market [ID] -o <value> [-u [-j -p]]
857
+ $ commercelayer market ID -o <value> [-u [-j -p]]
809
858
 
810
859
  ARGUMENTS
811
860
  ID the unique id of the resource
@@ -828,7 +877,7 @@ Send this attribute if you want to mark the market as disabled.
828
877
 
829
878
  ```sh-session
830
879
  USAGE
831
- $ commercelayer market:disable [ID] -o <value> [-u [-j -p]]
880
+ $ commercelayer market:disable ID -o <value> [-u [-j -p]]
832
881
 
833
882
  ARGUMENTS
834
883
  ID the unique id of the resource
@@ -851,7 +900,7 @@ Send this attribute if you want to mark the market as enabled.
851
900
 
852
901
  ```sh-session
853
902
  USAGE
854
- $ commercelayer market:enable [ID] -o <value> [-u [-j -p]]
903
+ $ commercelayer market:enable ID -o <value> [-u [-j -p]]
855
904
 
856
905
  ARGUMENTS
857
906
  ID the unique id of the resource
@@ -874,7 +923,7 @@ Execute an action on a resource of type orders.
874
923
 
875
924
  ```sh-session
876
925
  USAGE
877
- $ commercelayer order [ID] -o <value> [-u [-j -p]]
926
+ $ commercelayer order ID -o <value> [-u [-j -p]]
878
927
 
879
928
  ARGUMENTS
880
929
  ID the unique id of the resource
@@ -897,7 +946,7 @@ Send this attribute if you want to approve a placed order.
897
946
 
898
947
  ```sh-session
899
948
  USAGE
900
- $ commercelayer order:approve [ID] -o <value> [-u [-j -p]]
949
+ $ commercelayer order:approve ID -o <value> [-u [-j -p]]
901
950
 
902
951
  ARGUMENTS
903
952
  ID the unique id of the resource
@@ -920,7 +969,7 @@ Send this attribute if you want to approve and capture a placed order.
920
969
 
921
970
  ```sh-session
922
971
  USAGE
923
- $ commercelayer order:approve_and_capture [ID] -o <value> [-u [-j -p]]
972
+ $ commercelayer order:approve_and_capture ID -o <value> [-u [-j -p]]
924
973
 
925
974
  ARGUMENTS
926
975
  ID the unique id of the resource
@@ -943,7 +992,7 @@ Send this attribute if you want to archive the order.
943
992
 
944
993
  ```sh-session
945
994
  USAGE
946
- $ commercelayer order:archive [ID] -o <value> [-u [-j -p]]
995
+ $ commercelayer order:archive ID -o <value> [-u [-j -p]]
947
996
 
948
997
  ARGUMENTS
949
998
  ID the unique id of the resource
@@ -966,7 +1015,7 @@ The authorization amount, in cents.
966
1015
 
967
1016
  ```sh-session
968
1017
  USAGE
969
- $ commercelayer order:authorization_amount_cents [ID] -o <value> [-u [-j -p]]
1018
+ $ commercelayer order:authorization_amount_cents ID -o <value> [-u [-j -p]]
970
1019
 
971
1020
  ARGUMENTS
972
1021
  ID the unique id of the resource
@@ -989,7 +1038,7 @@ Send this attribute if you want to authorize the order's payment source.
989
1038
 
990
1039
  ```sh-session
991
1040
  USAGE
992
- $ commercelayer order:authorize [ID] -o <value> [-u [-j -p]]
1041
+ $ commercelayer order:authorize ID -o <value> [-u [-j -p]]
993
1042
 
994
1043
  ARGUMENTS
995
1044
  ID the unique id of the resource
@@ -1012,7 +1061,7 @@ The id of the address that you want to clone to create the order's billing addre
1012
1061
 
1013
1062
  ```sh-session
1014
1063
  USAGE
1015
- $ commercelayer order:billing_address_clone_id [ID] -o <value> -v <value> [-u [-j -p]]
1064
+ $ commercelayer order:billing_address_clone_id ID -o <value> -v <value> [-u [-j -p]]
1016
1065
 
1017
1066
  ARGUMENTS
1018
1067
  ID the unique id of the resource
@@ -1036,7 +1085,7 @@ Send this attribute if you want the billing address to be cloned from the order'
1036
1085
 
1037
1086
  ```sh-session
1038
1087
  USAGE
1039
- $ commercelayer order:billing_address_same_as_shipping [ID] -o <value> [-u [-j -p]]
1088
+ $ commercelayer order:billing_address_same_as_shipping ID -o <value> [-u [-j -p]]
1040
1089
 
1041
1090
  ARGUMENTS
1042
1091
  ID the unique id of the resource
@@ -1059,7 +1108,7 @@ Send this attribute if you want to cancel a placed order. The order's authorizat
1059
1108
 
1060
1109
  ```sh-session
1061
1110
  USAGE
1062
- $ commercelayer order:cancel [ID] -o <value> [-u [-j -p]]
1111
+ $ commercelayer order:cancel ID -o <value> [-u [-j -p]]
1063
1112
 
1064
1113
  ARGUMENTS
1065
1114
  ID the unique id of the resource
@@ -1082,7 +1131,7 @@ Send this attribute if you want to capture an authorized order.
1082
1131
 
1083
1132
  ```sh-session
1084
1133
  USAGE
1085
- $ commercelayer order:capture [ID] -o <value> [-u [-j -p]]
1134
+ $ commercelayer order:capture ID -o <value> [-u [-j -p]]
1086
1135
 
1087
1136
  ARGUMENTS
1088
1137
  ID the unique id of the resource
@@ -1105,7 +1154,7 @@ Send this attribute if you want commit the sales tax invoice to the associated t
1105
1154
 
1106
1155
  ```sh-session
1107
1156
  USAGE
1108
- $ commercelayer order:commit_invoice [ID] -o <value> [-u [-j -p]]
1157
+ $ commercelayer order:commit_invoice ID -o <value> [-u [-j -p]]
1109
1158
 
1110
1159
  ARGUMENTS
1111
1160
  ID the unique id of the resource
@@ -1129,7 +1178,7 @@ The id of the customer payment source (i.e. credit card) that you want to use as
1129
1178
 
1130
1179
  ```sh-session
1131
1180
  USAGE
1132
- $ commercelayer order:customer_payment_source_id [ID] -o <value> -v <value> [-u [-j -p]]
1181
+ $ commercelayer order:customer_payment_source_id ID -o <value> -v <value> [-u [-j -p]]
1133
1182
 
1134
1183
  ARGUMENTS
1135
1184
  ID the unique id of the resource
@@ -1153,7 +1202,7 @@ Send this attribute if you want to nullify the payment source for this order.
1153
1202
 
1154
1203
  ```sh-session
1155
1204
  USAGE
1156
- $ commercelayer order:nullify_payment_source [ID] -o <value> [-u [-j -p]]
1205
+ $ commercelayer order:nullify_payment_source ID -o <value> [-u [-j -p]]
1157
1206
 
1158
1207
  ARGUMENTS
1159
1208
  ID the unique id of the resource
@@ -1176,7 +1225,7 @@ Send this attribute if you want to place the order.
1176
1225
 
1177
1226
  ```sh-session
1178
1227
  USAGE
1179
- $ commercelayer order:place [ID] -o <value> [-u [-j -p]]
1228
+ $ commercelayer order:place ID -o <value> [-u [-j -p]]
1180
1229
 
1181
1230
  ARGUMENTS
1182
1231
  ID the unique id of the resource
@@ -1199,7 +1248,7 @@ Send this attribute if you want to manually refresh the order.
1199
1248
 
1200
1249
  ```sh-session
1201
1250
  USAGE
1202
- $ commercelayer order:refresh [ID] -o <value> [-u [-j -p]]
1251
+ $ commercelayer order:refresh ID -o <value> [-u [-j -p]]
1203
1252
 
1204
1253
  ARGUMENTS
1205
1254
  ID the unique id of the resource
@@ -1222,7 +1271,7 @@ Send this attribute if you want to refund a captured order.
1222
1271
 
1223
1272
  ```sh-session
1224
1273
  USAGE
1225
- $ commercelayer order:refund [ID] -o <value> [-u [-j -p]]
1274
+ $ commercelayer order:refund ID -o <value> [-u [-j -p]]
1226
1275
 
1227
1276
  ARGUMENTS
1228
1277
  ID the unique id of the resource
@@ -1245,7 +1294,7 @@ Send this attribute if you want refund the sales tax invoice to the associated t
1245
1294
 
1246
1295
  ```sh-session
1247
1296
  USAGE
1248
- $ commercelayer order:refund_invoice [ID] -o <value> [-u [-j -p]]
1297
+ $ commercelayer order:refund_invoice ID -o <value> [-u [-j -p]]
1249
1298
 
1250
1299
  ARGUMENTS
1251
1300
  ID the unique id of the resource
@@ -1269,7 +1318,7 @@ Send this attribute if you want the order's billing address to be saved in the c
1269
1318
 
1270
1319
  ```sh-session
1271
1320
  USAGE
1272
- $ commercelayer order:save_billing_address_to_customer_address_book [ID] -o <value> [-u [-j -p]]
1321
+ $ commercelayer order:save_billing_address_to_customer_address_book ID -o <value> [-u [-j -p]]
1273
1322
 
1274
1323
  ARGUMENTS
1275
1324
  ID the unique id of the resource
@@ -1293,7 +1342,7 @@ Send this attribute if you want the order's payment source to be saved in the cu
1293
1342
 
1294
1343
  ```sh-session
1295
1344
  USAGE
1296
- $ commercelayer order:save_payment_source_to_customer_wallet [ID] -o <value> [-u [-j -p]]
1345
+ $ commercelayer order:save_payment_source_to_customer_wallet ID -o <value> [-u [-j -p]]
1297
1346
 
1298
1347
  ARGUMENTS
1299
1348
  ID the unique id of the resource
@@ -1317,7 +1366,7 @@ Send this attribute if you want the order's shipping address to be saved in the
1317
1366
 
1318
1367
  ```sh-session
1319
1368
  USAGE
1320
- $ commercelayer order:save_shipping_address_to_customer_address_book [ID] -o <value> [-u [-j -p]]
1369
+ $ commercelayer order:save_shipping_address_to_customer_address_book ID -o <value> [-u [-j -p]]
1321
1370
 
1322
1371
  ARGUMENTS
1323
1372
  ID the unique id of the resource
@@ -1341,7 +1390,7 @@ The id of the address that you want to clone to create the order's shipping addr
1341
1390
 
1342
1391
  ```sh-session
1343
1392
  USAGE
1344
- $ commercelayer order:shipping_address_clone_id [ID] -o <value> -v <value> [-u [-j -p]]
1393
+ $ commercelayer order:shipping_address_clone_id ID -o <value> -v <value> [-u [-j -p]]
1345
1394
 
1346
1395
  ARGUMENTS
1347
1396
  ID the unique id of the resource
@@ -1365,7 +1414,7 @@ Send this attribute if you want the shipping address to be cloned from the order
1365
1414
 
1366
1415
  ```sh-session
1367
1416
  USAGE
1368
- $ commercelayer order:shipping_address_same_as_billing [ID] -o <value> [-u [-j -p]]
1417
+ $ commercelayer order:shipping_address_same_as_billing ID -o <value> [-u [-j -p]]
1369
1418
 
1370
1419
  ARGUMENTS
1371
1420
  ID the unique id of the resource
@@ -1388,7 +1437,7 @@ Send this attribute if you want to unarchive the order.
1388
1437
 
1389
1438
  ```sh-session
1390
1439
  USAGE
1391
- $ commercelayer order:unarchive [ID] -o <value> [-u [-j -p]]
1440
+ $ commercelayer order:unarchive ID -o <value> [-u [-j -p]]
1392
1441
 
1393
1442
  ARGUMENTS
1394
1443
  ID the unique id of the resource
@@ -1411,7 +1460,7 @@ Send this attribute if you want to force tax calculation for this order (a tax c
1411
1460
 
1412
1461
  ```sh-session
1413
1462
  USAGE
1414
- $ commercelayer order:update_taxes [ID] -o <value> [-u [-j -p]]
1463
+ $ commercelayer order:update_taxes ID -o <value> [-u [-j -p]]
1415
1464
 
1416
1465
  ARGUMENTS
1417
1466
  ID the unique id of the resource
@@ -1429,13 +1478,36 @@ DESCRIPTION
1429
1478
 
1430
1479
  _See code: [src/commands/order/update_taxes.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/update_taxes.ts)_
1431
1480
 
1481
+ ### `commercelayer order:validate ID`
1482
+
1483
+ Send this attribute if you want to trigger the external validation for the order.
1484
+
1485
+ ```sh-session
1486
+ USAGE
1487
+ $ commercelayer order:validate ID -o <value> [-u [-j -p]]
1488
+
1489
+ ARGUMENTS
1490
+ ID the unique id of the resource
1491
+
1492
+ FLAGS
1493
+ -j, --json print result in JSON format
1494
+ -o, --organization=<value> (required) the slug of your organization
1495
+ -p, --print print out the modified resource
1496
+ -u, --unformatted print JSON output without indentation
1497
+
1498
+ DESCRIPTION
1499
+ Send this attribute if you want to trigger the external validation for the order.
1500
+ ```
1501
+
1502
+ _See code: [src/commands/order/validate.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/validate.ts)_
1503
+
1432
1504
  ### `commercelayer order_subscription ID`
1433
1505
 
1434
1506
  Execute an action on a resource of type order_subscriptions.
1435
1507
 
1436
1508
  ```sh-session
1437
1509
  USAGE
1438
- $ commercelayer order_subscription [ID] -o <value> [-u [-j -p]]
1510
+ $ commercelayer order_subscription ID -o <value> [-u [-j -p]]
1439
1511
 
1440
1512
  ARGUMENTS
1441
1513
  ID the unique id of the resource
@@ -1458,7 +1530,7 @@ Send this attribute if you want to mark this subscription as active.
1458
1530
 
1459
1531
  ```sh-session
1460
1532
  USAGE
1461
- $ commercelayer order_subscription:activate [ID] -o <value> [-u [-j -p]]
1533
+ $ commercelayer order_subscription:activate ID -o <value> [-u [-j -p]]
1462
1534
 
1463
1535
  ARGUMENTS
1464
1536
  ID the unique id of the resource
@@ -1481,7 +1553,7 @@ Send this attribute if you want to mark this subscription as cancelled.
1481
1553
 
1482
1554
  ```sh-session
1483
1555
  USAGE
1484
- $ commercelayer order_subscription:cancel [ID] -o <value> [-u [-j -p]]
1556
+ $ commercelayer order_subscription:cancel ID -o <value> [-u [-j -p]]
1485
1557
 
1486
1558
  ARGUMENTS
1487
1559
  ID the unique id of the resource
@@ -1504,7 +1576,7 @@ Send this attribute if you want to mark this subscription as inactive.
1504
1576
 
1505
1577
  ```sh-session
1506
1578
  USAGE
1507
- $ commercelayer order_subscription:deactivate [ID] -o <value> [-u [-j -p]]
1579
+ $ commercelayer order_subscription:deactivate ID -o <value> [-u [-j -p]]
1508
1580
 
1509
1581
  ARGUMENTS
1510
1582
  ID the unique id of the resource
@@ -1527,7 +1599,7 @@ Execute an action on a resource of type payment_methods.
1527
1599
 
1528
1600
  ```sh-session
1529
1601
  USAGE
1530
- $ commercelayer payment_method [ID] -o <value> [-u [-j -p]]
1602
+ $ commercelayer payment_method ID -o <value> [-u [-j -p]]
1531
1603
 
1532
1604
  ARGUMENTS
1533
1605
  ID the unique id of the resource
@@ -1550,7 +1622,7 @@ Send this attribute if you want to mark the payment method as disabled.
1550
1622
 
1551
1623
  ```sh-session
1552
1624
  USAGE
1553
- $ commercelayer payment_method:disable [ID] -o <value> [-u [-j -p]]
1625
+ $ commercelayer payment_method:disable ID -o <value> [-u [-j -p]]
1554
1626
 
1555
1627
  ARGUMENTS
1556
1628
  ID the unique id of the resource
@@ -1573,7 +1645,7 @@ Send this attribute if you want to mark the payment method as enabled.
1573
1645
 
1574
1646
  ```sh-session
1575
1647
  USAGE
1576
- $ commercelayer payment_method:enable [ID] -o <value> [-u [-j -p]]
1648
+ $ commercelayer payment_method:enable ID -o <value> [-u [-j -p]]
1577
1649
 
1578
1650
  ARGUMENTS
1579
1651
  ID the unique id of the resource
@@ -1596,7 +1668,7 @@ Execute an action on a resource of type returns.
1596
1668
 
1597
1669
  ```sh-session
1598
1670
  USAGE
1599
- $ commercelayer return [ID] -o <value> [-u [-j -p]]
1671
+ $ commercelayer return ID -o <value> [-u [-j -p]]
1600
1672
 
1601
1673
  ARGUMENTS
1602
1674
  ID the unique id of the resource
@@ -1619,7 +1691,7 @@ Send this attribute if you want to mark this return as approved.
1619
1691
 
1620
1692
  ```sh-session
1621
1693
  USAGE
1622
- $ commercelayer return:approve [ID] -o <value> [-u [-j -p]]
1694
+ $ commercelayer return:approve ID -o <value> [-u [-j -p]]
1623
1695
 
1624
1696
  ARGUMENTS
1625
1697
  ID the unique id of the resource
@@ -1642,7 +1714,7 @@ Send this attribute if you want to archive the return.
1642
1714
 
1643
1715
  ```sh-session
1644
1716
  USAGE
1645
- $ commercelayer return:archive [ID] -o <value> [-u [-j -p]]
1717
+ $ commercelayer return:archive ID -o <value> [-u [-j -p]]
1646
1718
 
1647
1719
  ARGUMENTS
1648
1720
  ID the unique id of the resource
@@ -1665,7 +1737,7 @@ Send this attribute if you want to mark this return as cancelled.
1665
1737
 
1666
1738
  ```sh-session
1667
1739
  USAGE
1668
- $ commercelayer return:cancel [ID] -o <value> [-u [-j -p]]
1740
+ $ commercelayer return:cancel ID -o <value> [-u [-j -p]]
1669
1741
 
1670
1742
  ARGUMENTS
1671
1743
  ID the unique id of the resource
@@ -1688,7 +1760,7 @@ Send this attribute if you want to mark this return as received.
1688
1760
 
1689
1761
  ```sh-session
1690
1762
  USAGE
1691
- $ commercelayer return:receive [ID] -o <value> [-u [-j -p]]
1763
+ $ commercelayer return:receive ID -o <value> [-u [-j -p]]
1692
1764
 
1693
1765
  ARGUMENTS
1694
1766
  ID the unique id of the resource
@@ -1711,7 +1783,7 @@ Send this attribute if you want to mark this return as rejected.
1711
1783
 
1712
1784
  ```sh-session
1713
1785
  USAGE
1714
- $ commercelayer return:reject [ID] -o <value> [-u [-j -p]]
1786
+ $ commercelayer return:reject ID -o <value> [-u [-j -p]]
1715
1787
 
1716
1788
  ARGUMENTS
1717
1789
  ID the unique id of the resource
@@ -1734,7 +1806,7 @@ Send this attribute if you want to activate this return.
1734
1806
 
1735
1807
  ```sh-session
1736
1808
  USAGE
1737
- $ commercelayer return:request [ID] -o <value> [-u [-j -p]]
1809
+ $ commercelayer return:request ID -o <value> [-u [-j -p]]
1738
1810
 
1739
1811
  ARGUMENTS
1740
1812
  ID the unique id of the resource
@@ -1757,7 +1829,7 @@ Send this attribute if you want to restock all of the return line items.
1757
1829
 
1758
1830
  ```sh-session
1759
1831
  USAGE
1760
- $ commercelayer return:restock [ID] -o <value> [-u [-j -p]]
1832
+ $ commercelayer return:restock ID -o <value> [-u [-j -p]]
1761
1833
 
1762
1834
  ARGUMENTS
1763
1835
  ID the unique id of the resource
@@ -1780,7 +1852,7 @@ Send this attribute if you want to mark this return as shipped.
1780
1852
 
1781
1853
  ```sh-session
1782
1854
  USAGE
1783
- $ commercelayer return:ship [ID] -o <value> [-u [-j -p]]
1855
+ $ commercelayer return:ship ID -o <value> [-u [-j -p]]
1784
1856
 
1785
1857
  ARGUMENTS
1786
1858
  ID the unique id of the resource
@@ -1803,7 +1875,7 @@ Send this attribute if you want to unarchive the return.
1803
1875
 
1804
1876
  ```sh-session
1805
1877
  USAGE
1806
- $ commercelayer return:unarchive [ID] -o <value> [-u [-j -p]]
1878
+ $ commercelayer return:unarchive ID -o <value> [-u [-j -p]]
1807
1879
 
1808
1880
  ARGUMENTS
1809
1881
  ID the unique id of the resource
@@ -1826,7 +1898,7 @@ Execute an action on a resource of type return_line_items.
1826
1898
 
1827
1899
  ```sh-session
1828
1900
  USAGE
1829
- $ commercelayer return_line_item [ID] -o <value> [-u [-j -p]]
1901
+ $ commercelayer return_line_item ID -o <value> [-u [-j -p]]
1830
1902
 
1831
1903
  ARGUMENTS
1832
1904
  ID the unique id of the resource
@@ -1849,7 +1921,7 @@ Send this attribute if you want to restock the line item.
1849
1921
 
1850
1922
  ```sh-session
1851
1923
  USAGE
1852
- $ commercelayer return_line_item:restock [ID] -o <value> [-u [-j -p]]
1924
+ $ commercelayer return_line_item:restock ID -o <value> [-u [-j -p]]
1853
1925
 
1854
1926
  ARGUMENTS
1855
1927
  ID the unique id of the resource
@@ -1872,7 +1944,7 @@ Execute an action on a resource of type shipments.
1872
1944
 
1873
1945
  ```sh-session
1874
1946
  USAGE
1875
- $ commercelayer shipment [ID] -o <value> [-u [-j -p]]
1947
+ $ commercelayer shipment ID -o <value> [-u [-j -p]]
1876
1948
 
1877
1949
  ARGUMENTS
1878
1950
  ID the unique id of the resource
@@ -1895,7 +1967,7 @@ Send this attribute if you want get the shipping rates from the associated carri
1895
1967
 
1896
1968
  ```sh-session
1897
1969
  USAGE
1898
- $ commercelayer shipment:get_rates [ID] -o <value> [-u [-j -p]]
1970
+ $ commercelayer shipment:get_rates ID -o <value> [-u [-j -p]]
1899
1971
 
1900
1972
  ARGUMENTS
1901
1973
  ID the unique id of the resource
@@ -1918,7 +1990,7 @@ Send this attribute if you want to put this shipment on hold.
1918
1990
 
1919
1991
  ```sh-session
1920
1992
  USAGE
1921
- $ commercelayer shipment:on_hold [ID] -o <value> [-u [-j -p]]
1993
+ $ commercelayer shipment:on_hold ID -o <value> [-u [-j -p]]
1922
1994
 
1923
1995
  ARGUMENTS
1924
1996
  ID the unique id of the resource
@@ -1941,7 +2013,7 @@ Send this attribute if you want to start packing this shipment.
1941
2013
 
1942
2014
  ```sh-session
1943
2015
  USAGE
1944
- $ commercelayer shipment:packing [ID] -o <value> [-u [-j -p]]
2016
+ $ commercelayer shipment:packing ID -o <value> [-u [-j -p]]
1945
2017
 
1946
2018
  ARGUMENTS
1947
2019
  ID the unique id of the resource
@@ -1964,7 +2036,7 @@ Send this attribute if you want to start picking this shipment.
1964
2036
 
1965
2037
  ```sh-session
1966
2038
  USAGE
1967
- $ commercelayer shipment:picking [ID] -o <value> [-u [-j -p]]
2039
+ $ commercelayer shipment:picking ID -o <value> [-u [-j -p]]
1968
2040
 
1969
2041
  ARGUMENTS
1970
2042
  ID the unique id of the resource
@@ -1987,7 +2059,7 @@ Send this attribute if you want to purchase this shipment with the selected rate
1987
2059
 
1988
2060
  ```sh-session
1989
2061
  USAGE
1990
- $ commercelayer shipment:purchase [ID] -o <value> [-u [-j -p]]
2062
+ $ commercelayer shipment:purchase ID -o <value> [-u [-j -p]]
1991
2063
 
1992
2064
  ARGUMENTS
1993
2065
  ID the unique id of the resource
@@ -2010,7 +2082,7 @@ Send this attribute if you want to mark this shipment as ready to ship.
2010
2082
 
2011
2083
  ```sh-session
2012
2084
  USAGE
2013
- $ commercelayer shipment:ready_to_ship [ID] -o <value> [-u [-j -p]]
2085
+ $ commercelayer shipment:ready_to_ship ID -o <value> [-u [-j -p]]
2014
2086
 
2015
2087
  ARGUMENTS
2016
2088
  ID the unique id of the resource
@@ -2033,7 +2105,7 @@ Send this attribute if you want to mark this shipment as shipped.
2033
2105
 
2034
2106
  ```sh-session
2035
2107
  USAGE
2036
- $ commercelayer shipment:ship [ID] -o <value> [-u [-j -p]]
2108
+ $ commercelayer shipment:ship ID -o <value> [-u [-j -p]]
2037
2109
 
2038
2110
  ARGUMENTS
2039
2111
  ID the unique id of the resource
@@ -2056,7 +2128,7 @@ Execute an action on a resource of type shipping_methods.
2056
2128
 
2057
2129
  ```sh-session
2058
2130
  USAGE
2059
- $ commercelayer shipping_method [ID] -o <value> [-u [-j -p]]
2131
+ $ commercelayer shipping_method ID -o <value> [-u [-j -p]]
2060
2132
 
2061
2133
  ARGUMENTS
2062
2134
  ID the unique id of the resource
@@ -2079,7 +2151,7 @@ Send this attribute if you want to mark the shipping method as disabled.
2079
2151
 
2080
2152
  ```sh-session
2081
2153
  USAGE
2082
- $ commercelayer shipping_method:disable [ID] -o <value> [-u [-j -p]]
2154
+ $ commercelayer shipping_method:disable ID -o <value> [-u [-j -p]]
2083
2155
 
2084
2156
  ARGUMENTS
2085
2157
  ID the unique id of the resource
@@ -2102,7 +2174,7 @@ Send this attribute if you want to mark the shipping method as enabled.
2102
2174
 
2103
2175
  ```sh-session
2104
2176
  USAGE
2105
- $ commercelayer shipping_method:enable [ID] -o <value> [-u [-j -p]]
2177
+ $ commercelayer shipping_method:enable ID -o <value> [-u [-j -p]]
2106
2178
 
2107
2179
  ARGUMENTS
2108
2180
  ID the unique id of the resource
@@ -2125,7 +2197,7 @@ Execute an action on a resource of type stock_transfers.
2125
2197
 
2126
2198
  ```sh-session
2127
2199
  USAGE
2128
- $ commercelayer stock_transfer [ID] -o <value> [-u [-j -p]]
2200
+ $ commercelayer stock_transfer ID -o <value> [-u [-j -p]]
2129
2201
 
2130
2202
  ARGUMENTS
2131
2203
  ID the unique id of the resource
@@ -2148,7 +2220,7 @@ Send this attribute if you want to cancel this stock transfer.
2148
2220
 
2149
2221
  ```sh-session
2150
2222
  USAGE
2151
- $ commercelayer stock_transfer:cancel [ID] -o <value> [-u [-j -p]]
2223
+ $ commercelayer stock_transfer:cancel ID -o <value> [-u [-j -p]]
2152
2224
 
2153
2225
  ARGUMENTS
2154
2226
  ID the unique id of the resource
@@ -2171,7 +2243,7 @@ Send this attribute if you want to complete this stock transfer.
2171
2243
 
2172
2244
  ```sh-session
2173
2245
  USAGE
2174
- $ commercelayer stock_transfer:complete [ID] -o <value> [-u [-j -p]]
2246
+ $ commercelayer stock_transfer:complete ID -o <value> [-u [-j -p]]
2175
2247
 
2176
2248
  ARGUMENTS
2177
2249
  ID the unique id of the resource
@@ -2194,7 +2266,7 @@ Send this attribute if you want to mark this stock transfer as in transit.
2194
2266
 
2195
2267
  ```sh-session
2196
2268
  USAGE
2197
- $ commercelayer stock_transfer:in_transit [ID] -o <value> [-u [-j -p]]
2269
+ $ commercelayer stock_transfer:in_transit ID -o <value> [-u [-j -p]]
2198
2270
 
2199
2271
  ARGUMENTS
2200
2272
  ID the unique id of the resource
@@ -2217,7 +2289,7 @@ Send this attribute if you want to start picking this stock transfer.
2217
2289
 
2218
2290
  ```sh-session
2219
2291
  USAGE
2220
- $ commercelayer stock_transfer:picking [ID] -o <value> [-u [-j -p]]
2292
+ $ commercelayer stock_transfer:picking ID -o <value> [-u [-j -p]]
2221
2293
 
2222
2294
  ARGUMENTS
2223
2295
  ID the unique id of the resource
@@ -2240,7 +2312,7 @@ Send this attribute if you want to mark this stock transfer as upcoming.
2240
2312
 
2241
2313
  ```sh-session
2242
2314
  USAGE
2243
- $ commercelayer stock_transfer:upcoming [ID] -o <value> [-u [-j -p]]
2315
+ $ commercelayer stock_transfer:upcoming ID -o <value> [-u [-j -p]]
2244
2316
 
2245
2317
  ARGUMENTS
2246
2318
  ID the unique id of the resource
@@ -2263,7 +2335,7 @@ Execute an action on a resource of type stripe_payments.
2263
2335
 
2264
2336
  ```sh-session
2265
2337
  USAGE
2266
- $ commercelayer stripe_payment [ID] -o <value> [-u [-j -p]]
2338
+ $ commercelayer stripe_payment ID -o <value> [-u [-j -p]]
2267
2339
 
2268
2340
  ARGUMENTS
2269
2341
  ID the unique id of the resource
@@ -2286,7 +2358,7 @@ Send this attribute if you want to refresh the payment status, can be used as we
2286
2358
 
2287
2359
  ```sh-session
2288
2360
  USAGE
2289
- $ commercelayer stripe_payment:refresh [ID] -o <value> [-u [-j -p]]
2361
+ $ commercelayer stripe_payment:refresh ID -o <value> [-u [-j -p]]
2290
2362
 
2291
2363
  ARGUMENTS
2292
2364
  ID the unique id of the resource
@@ -2309,7 +2381,7 @@ Execute an action on a resource of type webhooks.
2309
2381
 
2310
2382
  ```sh-session
2311
2383
  USAGE
2312
- $ commercelayer webhook [ID] -o <value> [-u [-j -p]]
2384
+ $ commercelayer webhook ID -o <value> [-u [-j -p]]
2313
2385
 
2314
2386
  ARGUMENTS
2315
2387
  ID the unique id of the resource
@@ -2332,7 +2404,7 @@ Send this attribute if you want to reset the circuit breaker associated to this
2332
2404
 
2333
2405
  ```sh-session
2334
2406
  USAGE
2335
- $ commercelayer webhook:reset_circuit [ID] -o <value> [-u [-j -p]]
2407
+ $ commercelayer webhook:reset_circuit ID -o <value> [-u [-j -p]]
2336
2408
 
2337
2409
  ARGUMENTS
2338
2410
  ID the unique id of the resource