@commercelayer/cli-plugin-triggers 3.6.1 → 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 (209) hide show
  1. package/README.md +215 -94
  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 +9 -0
  63. package/lib/commands/line_item/external_price.js +21 -0
  64. package/lib/commands/line_item/index.d.ts +9 -0
  65. package/lib/commands/line_item/index.js +38 -0
  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/line_items.d.ts +5 -0
  205. package/lib/triggers/line_items.js +10 -0
  206. package/lib/triggers/orders.d.ts +1 -1
  207. package/lib/triggers/orders.js +5 -0
  208. package/oclif.manifest.json +7069 -1
  209. package/package.json +15 -15
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)
@@ -57,6 +59,8 @@ $ commercelayer plugins:install triggers
57
59
  * [`commercelayer in_stock_subscription:deactivate ID`](#commercelayer-in_stock_subscriptiondeactivate-id)
58
60
  * [`commercelayer klarna_payment ID`](#commercelayer-klarna_payment-id)
59
61
  * [`commercelayer klarna_payment:update ID`](#commercelayer-klarna_paymentupdate-id)
62
+ * [`commercelayer line_item ID`](#commercelayer-line_item-id)
63
+ * [`commercelayer line_item:external_price ID`](#commercelayer-line_itemexternal_price-id)
60
64
  * [`commercelayer market ID`](#commercelayer-market-id)
61
65
  * [`commercelayer market:disable ID`](#commercelayer-marketdisable-id)
62
66
  * [`commercelayer market:enable ID`](#commercelayer-marketenable-id)
@@ -84,6 +88,7 @@ $ commercelayer plugins:install triggers
84
88
  * [`commercelayer order:shipping_address_same_as_billing ID`](#commercelayer-ordershipping_address_same_as_billing-id)
85
89
  * [`commercelayer order:unarchive ID`](#commercelayer-orderunarchive-id)
86
90
  * [`commercelayer order:update_taxes ID`](#commercelayer-orderupdate_taxes-id)
91
+ * [`commercelayer order:validate ID`](#commercelayer-ordervalidate-id)
87
92
  * [`commercelayer order_subscription ID`](#commercelayer-order_subscription-id)
88
93
  * [`commercelayer order_subscription:activate ID`](#commercelayer-order_subscriptionactivate-id)
89
94
  * [`commercelayer order_subscription:cancel ID`](#commercelayer-order_subscriptioncancel-id)
@@ -131,7 +136,7 @@ Execute an action on a resource of type adyen_payments.
131
136
 
132
137
  ```sh-session
133
138
  USAGE
134
- $ commercelayer adyen_payment [ID] -o <value> [-u [-j -p]]
139
+ $ commercelayer adyen_payment ID -o <value> [-u [-j -p]]
135
140
 
136
141
  ARGUMENTS
137
142
  ID the unique id of the resource
@@ -154,7 +159,7 @@ Send this attribute if you want to send additional details the payment request.
154
159
 
155
160
  ```sh-session
156
161
  USAGE
157
- $ commercelayer adyen_payment:details [ID] -o <value> [-u [-j -p]]
162
+ $ commercelayer adyen_payment:details ID -o <value> [-u [-j -p]]
158
163
 
159
164
  ARGUMENTS
160
165
  ID the unique id of the resource
@@ -177,7 +182,7 @@ Execute an action on a resource of type authorizations.
177
182
 
178
183
  ```sh-session
179
184
  USAGE
180
- $ commercelayer authorization [ID] -o <value> [-u [-j -p]]
185
+ $ commercelayer authorization ID -o <value> [-u [-j -p]]
181
186
 
182
187
  ARGUMENTS
183
188
  ID the unique id of the resource
@@ -200,7 +205,7 @@ Send this attribute if you want to create a capture for this authorization.
200
205
 
201
206
  ```sh-session
202
207
  USAGE
203
- $ commercelayer authorization:capture [ID] -o <value> [-u [-j -p]]
208
+ $ commercelayer authorization:capture ID -o <value> [-u [-j -p]]
204
209
 
205
210
  ARGUMENTS
206
211
  ID the unique id of the resource
@@ -223,7 +228,7 @@ The associated capture amount, in cents.
223
228
 
224
229
  ```sh-session
225
230
  USAGE
226
- $ commercelayer authorization:capture_amount_cents [ID] -o <value> [-u [-j -p]]
231
+ $ commercelayer authorization:capture_amount_cents ID -o <value> [-u [-j -p]]
227
232
 
228
233
  ARGUMENTS
229
234
  ID the unique id of the resource
@@ -246,7 +251,7 @@ Send this attribute if you want to create a void for this authorization.
246
251
 
247
252
  ```sh-session
248
253
  USAGE
249
- $ commercelayer authorization:void [ID] -o <value> [-u [-j -p]]
254
+ $ commercelayer authorization:void ID -o <value> [-u [-j -p]]
250
255
 
251
256
  ARGUMENTS
252
257
  ID the unique id of the resource
@@ -263,13 +268,59 @@ DESCRIPTION
263
268
 
264
269
  _See code: [src/commands/authorization/void.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/authorization/void.ts)_
265
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
+
266
317
  ### `commercelayer bundle ID`
267
318
 
268
319
  Execute an action on a resource of type bundles.
269
320
 
270
321
  ```sh-session
271
322
  USAGE
272
- $ commercelayer bundle [ID] -o <value> [-u [-j -p]]
323
+ $ commercelayer bundle ID -o <value> [-u [-j -p]]
273
324
 
274
325
  ARGUMENTS
275
326
  ID the unique id of the resource
@@ -292,7 +343,7 @@ Send this attribute if you want to compute the compare_at_amount_cents as the su
292
343
 
293
344
  ```sh-session
294
345
  USAGE
295
- $ 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]]
296
347
 
297
348
  ARGUMENTS
298
349
  ID the unique id of the resource
@@ -316,7 +367,7 @@ Send this attribute if you want to compute the price_amount_cents as the sum of
316
367
 
317
368
  ```sh-session
318
369
  USAGE
319
- $ commercelayer bundle:compute_price_amount [ID] -o <value> [-u [-j -p]]
370
+ $ commercelayer bundle:compute_price_amount ID -o <value> [-u [-j -p]]
320
371
 
321
372
  ARGUMENTS
322
373
  ID the unique id of the resource
@@ -340,7 +391,7 @@ Execute an action on a resource of type captures.
340
391
 
341
392
  ```sh-session
342
393
  USAGE
343
- $ commercelayer capture [ID] -o <value> [-u [-j -p]]
394
+ $ commercelayer capture ID -o <value> [-u [-j -p]]
344
395
 
345
396
  ARGUMENTS
346
397
  ID the unique id of the resource
@@ -363,7 +414,7 @@ Send this attribute if you want to create a refund for this capture.
363
414
 
364
415
  ```sh-session
365
416
  USAGE
366
- $ commercelayer capture:refund [ID] -o <value> [-u [-j -p]]
417
+ $ commercelayer capture:refund ID -o <value> [-u [-j -p]]
367
418
 
368
419
  ARGUMENTS
369
420
  ID the unique id of the resource
@@ -386,7 +437,7 @@ The associated refund amount, in cents.
386
437
 
387
438
  ```sh-session
388
439
  USAGE
389
- $ commercelayer capture:refund_amount_cents [ID] -o <value> [-u [-j -p]]
440
+ $ commercelayer capture:refund_amount_cents ID -o <value> [-u [-j -p]]
390
441
 
391
442
  ARGUMENTS
392
443
  ID the unique id of the resource
@@ -409,7 +460,7 @@ Execute an action on a resource of type checkout_com_payments.
409
460
 
410
461
  ```sh-session
411
462
  USAGE
412
- $ commercelayer checkout_com_payment [ID] -o <value> [-u [-j -p]]
463
+ $ commercelayer checkout_com_payment ID -o <value> [-u [-j -p]]
413
464
 
414
465
  ARGUMENTS
415
466
  ID the unique id of the resource
@@ -432,7 +483,7 @@ Send this attribute if you want to send additional details the payment request (
432
483
 
433
484
  ```sh-session
434
485
  USAGE
435
- $ commercelayer checkout_com_payment:details [ID] -o <value> [-u [-j -p]]
486
+ $ commercelayer checkout_com_payment:details ID -o <value> [-u [-j -p]]
436
487
 
437
488
  ARGUMENTS
438
489
  ID the unique id of the resource
@@ -455,7 +506,7 @@ Send this attribute if you want to refresh all the pending transactions, can be
455
506
 
456
507
  ```sh-session
457
508
  USAGE
458
- $ commercelayer checkout_com_payment:refresh [ID] -o <value> [-u [-j -p]]
509
+ $ commercelayer checkout_com_payment:refresh ID -o <value> [-u [-j -p]]
459
510
 
460
511
  ARGUMENTS
461
512
  ID the unique id of the resource
@@ -478,7 +529,7 @@ Execute an action on a resource of type customer_password_resets.
478
529
 
479
530
  ```sh-session
480
531
  USAGE
481
- $ commercelayer customer_password_reset [ID] -o <value> [-u [-j -p]]
532
+ $ commercelayer customer_password_reset ID -o <value> [-u [-j -p]]
482
533
 
483
534
  ARGUMENTS
484
535
  ID the unique id of the resource
@@ -501,7 +552,7 @@ Send the 'reset_password_token' that you got on create when updating the custome
501
552
 
502
553
  ```sh-session
503
554
  USAGE
504
- $ 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]]
505
556
 
506
557
  ARGUMENTS
507
558
  ID the unique id of the resource
@@ -524,7 +575,7 @@ Execute an action on a resource of type gift_cards.
524
575
 
525
576
  ```sh-session
526
577
  USAGE
527
- $ commercelayer gift_card [ID] -o <value> [-u [-j -p]]
578
+ $ commercelayer gift_card ID -o <value> [-u [-j -p]]
528
579
 
529
580
  ARGUMENTS
530
581
  ID the unique id of the resource
@@ -547,7 +598,7 @@ Send this attribute if you want to activate a gift card.
547
598
 
548
599
  ```sh-session
549
600
  USAGE
550
- $ commercelayer gift_card:activate [ID] -o <value> [-u [-j -p]]
601
+ $ commercelayer gift_card:activate ID -o <value> [-u [-j -p]]
551
602
 
552
603
  ARGUMENTS
553
604
  ID the unique id of the resource
@@ -570,7 +621,7 @@ The balance change, in cents. Send a negative value to reduces the card balance
570
621
 
571
622
  ```sh-session
572
623
  USAGE
573
- $ 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]]
574
625
 
575
626
  ARGUMENTS
576
627
  ID the unique id of the resource
@@ -594,7 +645,7 @@ Send this attribute if you want to deactivate a gift card.
594
645
 
595
646
  ```sh-session
596
647
  USAGE
597
- $ commercelayer gift_card:deactivate [ID] -o <value> [-u [-j -p]]
648
+ $ commercelayer gift_card:deactivate ID -o <value> [-u [-j -p]]
598
649
 
599
650
  ARGUMENTS
600
651
  ID the unique id of the resource
@@ -617,7 +668,7 @@ Send this attribute if you want to confirm a draft gift card. The gift card beco
617
668
 
618
669
  ```sh-session
619
670
  USAGE
620
- $ commercelayer gift_card:purchase [ID] -o <value> [-u [-j -p]]
671
+ $ commercelayer gift_card:purchase ID -o <value> [-u [-j -p]]
621
672
 
622
673
  ARGUMENTS
623
674
  ID the unique id of the resource
@@ -641,7 +692,7 @@ Execute an action on a resource of type in_stock_subscriptions.
641
692
 
642
693
  ```sh-session
643
694
  USAGE
644
- $ commercelayer in_stock_subscription [ID] -o <value> [-u [-j -p]]
695
+ $ commercelayer in_stock_subscription ID -o <value> [-u [-j -p]]
645
696
 
646
697
  ARGUMENTS
647
698
  ID the unique id of the resource
@@ -664,7 +715,7 @@ Send this attribute if you want to activate an inactive subscription.
664
715
 
665
716
  ```sh-session
666
717
  USAGE
667
- $ commercelayer in_stock_subscription:activate [ID] -o <value> [-u [-j -p]]
718
+ $ commercelayer in_stock_subscription:activate ID -o <value> [-u [-j -p]]
668
719
 
669
720
  ARGUMENTS
670
721
  ID the unique id of the resource
@@ -687,7 +738,7 @@ Send this attribute if you want to dactivate an active subscription.
687
738
 
688
739
  ```sh-session
689
740
  USAGE
690
- $ commercelayer in_stock_subscription:deactivate [ID] -o <value> [-u [-j -p]]
741
+ $ commercelayer in_stock_subscription:deactivate ID -o <value> [-u [-j -p]]
691
742
 
692
743
  ARGUMENTS
693
744
  ID the unique id of the resource
@@ -710,7 +761,7 @@ Execute an action on a resource of type klarna_payments.
710
761
 
711
762
  ```sh-session
712
763
  USAGE
713
- $ commercelayer klarna_payment [ID] -o <value> [-u [-j -p]]
764
+ $ commercelayer klarna_payment ID -o <value> [-u [-j -p]]
714
765
 
715
766
  ARGUMENTS
716
767
  ID the unique id of the resource
@@ -733,7 +784,7 @@ Send this attribute if you want to update the payment session with fresh order d
733
784
 
734
785
  ```sh-session
735
786
  USAGE
736
- $ commercelayer klarna_payment:update [ID] -o <value> [-u [-j -p]]
787
+ $ commercelayer klarna_payment:update ID -o <value> [-u [-j -p]]
737
788
 
738
789
  ARGUMENTS
739
790
  ID the unique id of the resource
@@ -750,13 +801,60 @@ DESCRIPTION
750
801
 
751
802
  _See code: [src/commands/klarna_payment/update.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/klarna_payment/update.ts)_
752
803
 
804
+ ### `commercelayer line_item ID`
805
+
806
+ Execute an action on a resource of type line_items.
807
+
808
+ ```sh-session
809
+ USAGE
810
+ $ commercelayer line_item ID -o <value> [-u [-j -p]]
811
+
812
+ ARGUMENTS
813
+ ID the unique id of the resource
814
+
815
+ FLAGS
816
+ -j, --json print result in JSON format
817
+ -o, --organization=<value> (required) the slug of your organization
818
+ -p, --print print out the modified resource
819
+ -u, --unformatted print JSON output without indentation
820
+
821
+ DESCRIPTION
822
+ execute an action on a resource of type line_items
823
+ ```
824
+
825
+ _See code: [src/commands/line_item/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/line_item/index.ts)_
826
+
827
+ ### `commercelayer line_item:external_price ID`
828
+
829
+ When creating or updating a new line item, set this attribute to '1' if you want to inject the unit_amount_cents price from an external source.
830
+
831
+ ```sh-session
832
+ USAGE
833
+ $ commercelayer line_item:external_price ID -o <value> [-u [-j -p]]
834
+
835
+ ARGUMENTS
836
+ ID the unique id of the resource
837
+
838
+ FLAGS
839
+ -j, --json print result in JSON format
840
+ -o, --organization=<value> (required) the slug of your organization
841
+ -p, --print print out the modified resource
842
+ -u, --unformatted print JSON output without indentation
843
+
844
+ DESCRIPTION
845
+ When creating or updating a new line item, set this attribute to '1' if you want to inject the unit_amount_cents price
846
+ from an external source.
847
+ ```
848
+
849
+ _See code: [src/commands/line_item/external_price.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/line_item/external_price.ts)_
850
+
753
851
  ### `commercelayer market ID`
754
852
 
755
853
  Execute an action on a resource of type markets.
756
854
 
757
855
  ```sh-session
758
856
  USAGE
759
- $ commercelayer market [ID] -o <value> [-u [-j -p]]
857
+ $ commercelayer market ID -o <value> [-u [-j -p]]
760
858
 
761
859
  ARGUMENTS
762
860
  ID the unique id of the resource
@@ -779,7 +877,7 @@ Send this attribute if you want to mark the market as disabled.
779
877
 
780
878
  ```sh-session
781
879
  USAGE
782
- $ commercelayer market:disable [ID] -o <value> [-u [-j -p]]
880
+ $ commercelayer market:disable ID -o <value> [-u [-j -p]]
783
881
 
784
882
  ARGUMENTS
785
883
  ID the unique id of the resource
@@ -802,7 +900,7 @@ Send this attribute if you want to mark the market as enabled.
802
900
 
803
901
  ```sh-session
804
902
  USAGE
805
- $ commercelayer market:enable [ID] -o <value> [-u [-j -p]]
903
+ $ commercelayer market:enable ID -o <value> [-u [-j -p]]
806
904
 
807
905
  ARGUMENTS
808
906
  ID the unique id of the resource
@@ -825,7 +923,7 @@ Execute an action on a resource of type orders.
825
923
 
826
924
  ```sh-session
827
925
  USAGE
828
- $ commercelayer order [ID] -o <value> [-u [-j -p]]
926
+ $ commercelayer order ID -o <value> [-u [-j -p]]
829
927
 
830
928
  ARGUMENTS
831
929
  ID the unique id of the resource
@@ -848,7 +946,7 @@ Send this attribute if you want to approve a placed order.
848
946
 
849
947
  ```sh-session
850
948
  USAGE
851
- $ commercelayer order:approve [ID] -o <value> [-u [-j -p]]
949
+ $ commercelayer order:approve ID -o <value> [-u [-j -p]]
852
950
 
853
951
  ARGUMENTS
854
952
  ID the unique id of the resource
@@ -871,7 +969,7 @@ Send this attribute if you want to approve and capture a placed order.
871
969
 
872
970
  ```sh-session
873
971
  USAGE
874
- $ commercelayer order:approve_and_capture [ID] -o <value> [-u [-j -p]]
972
+ $ commercelayer order:approve_and_capture ID -o <value> [-u [-j -p]]
875
973
 
876
974
  ARGUMENTS
877
975
  ID the unique id of the resource
@@ -894,7 +992,7 @@ Send this attribute if you want to archive the order.
894
992
 
895
993
  ```sh-session
896
994
  USAGE
897
- $ commercelayer order:archive [ID] -o <value> [-u [-j -p]]
995
+ $ commercelayer order:archive ID -o <value> [-u [-j -p]]
898
996
 
899
997
  ARGUMENTS
900
998
  ID the unique id of the resource
@@ -917,7 +1015,7 @@ The authorization amount, in cents.
917
1015
 
918
1016
  ```sh-session
919
1017
  USAGE
920
- $ commercelayer order:authorization_amount_cents [ID] -o <value> [-u [-j -p]]
1018
+ $ commercelayer order:authorization_amount_cents ID -o <value> [-u [-j -p]]
921
1019
 
922
1020
  ARGUMENTS
923
1021
  ID the unique id of the resource
@@ -940,7 +1038,7 @@ Send this attribute if you want to authorize the order's payment source.
940
1038
 
941
1039
  ```sh-session
942
1040
  USAGE
943
- $ commercelayer order:authorize [ID] -o <value> [-u [-j -p]]
1041
+ $ commercelayer order:authorize ID -o <value> [-u [-j -p]]
944
1042
 
945
1043
  ARGUMENTS
946
1044
  ID the unique id of the resource
@@ -963,7 +1061,7 @@ The id of the address that you want to clone to create the order's billing addre
963
1061
 
964
1062
  ```sh-session
965
1063
  USAGE
966
- $ 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]]
967
1065
 
968
1066
  ARGUMENTS
969
1067
  ID the unique id of the resource
@@ -987,7 +1085,7 @@ Send this attribute if you want the billing address to be cloned from the order'
987
1085
 
988
1086
  ```sh-session
989
1087
  USAGE
990
- $ 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]]
991
1089
 
992
1090
  ARGUMENTS
993
1091
  ID the unique id of the resource
@@ -1010,7 +1108,7 @@ Send this attribute if you want to cancel a placed order. The order's authorizat
1010
1108
 
1011
1109
  ```sh-session
1012
1110
  USAGE
1013
- $ commercelayer order:cancel [ID] -o <value> [-u [-j -p]]
1111
+ $ commercelayer order:cancel ID -o <value> [-u [-j -p]]
1014
1112
 
1015
1113
  ARGUMENTS
1016
1114
  ID the unique id of the resource
@@ -1033,7 +1131,7 @@ Send this attribute if you want to capture an authorized order.
1033
1131
 
1034
1132
  ```sh-session
1035
1133
  USAGE
1036
- $ commercelayer order:capture [ID] -o <value> [-u [-j -p]]
1134
+ $ commercelayer order:capture ID -o <value> [-u [-j -p]]
1037
1135
 
1038
1136
  ARGUMENTS
1039
1137
  ID the unique id of the resource
@@ -1056,7 +1154,7 @@ Send this attribute if you want commit the sales tax invoice to the associated t
1056
1154
 
1057
1155
  ```sh-session
1058
1156
  USAGE
1059
- $ commercelayer order:commit_invoice [ID] -o <value> [-u [-j -p]]
1157
+ $ commercelayer order:commit_invoice ID -o <value> [-u [-j -p]]
1060
1158
 
1061
1159
  ARGUMENTS
1062
1160
  ID the unique id of the resource
@@ -1080,7 +1178,7 @@ The id of the customer payment source (i.e. credit card) that you want to use as
1080
1178
 
1081
1179
  ```sh-session
1082
1180
  USAGE
1083
- $ 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]]
1084
1182
 
1085
1183
  ARGUMENTS
1086
1184
  ID the unique id of the resource
@@ -1104,7 +1202,7 @@ Send this attribute if you want to nullify the payment source for this order.
1104
1202
 
1105
1203
  ```sh-session
1106
1204
  USAGE
1107
- $ commercelayer order:nullify_payment_source [ID] -o <value> [-u [-j -p]]
1205
+ $ commercelayer order:nullify_payment_source ID -o <value> [-u [-j -p]]
1108
1206
 
1109
1207
  ARGUMENTS
1110
1208
  ID the unique id of the resource
@@ -1127,7 +1225,7 @@ Send this attribute if you want to place the order.
1127
1225
 
1128
1226
  ```sh-session
1129
1227
  USAGE
1130
- $ commercelayer order:place [ID] -o <value> [-u [-j -p]]
1228
+ $ commercelayer order:place ID -o <value> [-u [-j -p]]
1131
1229
 
1132
1230
  ARGUMENTS
1133
1231
  ID the unique id of the resource
@@ -1150,7 +1248,7 @@ Send this attribute if you want to manually refresh the order.
1150
1248
 
1151
1249
  ```sh-session
1152
1250
  USAGE
1153
- $ commercelayer order:refresh [ID] -o <value> [-u [-j -p]]
1251
+ $ commercelayer order:refresh ID -o <value> [-u [-j -p]]
1154
1252
 
1155
1253
  ARGUMENTS
1156
1254
  ID the unique id of the resource
@@ -1173,7 +1271,7 @@ Send this attribute if you want to refund a captured order.
1173
1271
 
1174
1272
  ```sh-session
1175
1273
  USAGE
1176
- $ commercelayer order:refund [ID] -o <value> [-u [-j -p]]
1274
+ $ commercelayer order:refund ID -o <value> [-u [-j -p]]
1177
1275
 
1178
1276
  ARGUMENTS
1179
1277
  ID the unique id of the resource
@@ -1196,7 +1294,7 @@ Send this attribute if you want refund the sales tax invoice to the associated t
1196
1294
 
1197
1295
  ```sh-session
1198
1296
  USAGE
1199
- $ commercelayer order:refund_invoice [ID] -o <value> [-u [-j -p]]
1297
+ $ commercelayer order:refund_invoice ID -o <value> [-u [-j -p]]
1200
1298
 
1201
1299
  ARGUMENTS
1202
1300
  ID the unique id of the resource
@@ -1220,7 +1318,7 @@ Send this attribute if you want the order's billing address to be saved in the c
1220
1318
 
1221
1319
  ```sh-session
1222
1320
  USAGE
1223
- $ 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]]
1224
1322
 
1225
1323
  ARGUMENTS
1226
1324
  ID the unique id of the resource
@@ -1244,7 +1342,7 @@ Send this attribute if you want the order's payment source to be saved in the cu
1244
1342
 
1245
1343
  ```sh-session
1246
1344
  USAGE
1247
- $ 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]]
1248
1346
 
1249
1347
  ARGUMENTS
1250
1348
  ID the unique id of the resource
@@ -1268,7 +1366,7 @@ Send this attribute if you want the order's shipping address to be saved in the
1268
1366
 
1269
1367
  ```sh-session
1270
1368
  USAGE
1271
- $ 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]]
1272
1370
 
1273
1371
  ARGUMENTS
1274
1372
  ID the unique id of the resource
@@ -1292,7 +1390,7 @@ The id of the address that you want to clone to create the order's shipping addr
1292
1390
 
1293
1391
  ```sh-session
1294
1392
  USAGE
1295
- $ 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]]
1296
1394
 
1297
1395
  ARGUMENTS
1298
1396
  ID the unique id of the resource
@@ -1316,7 +1414,7 @@ Send this attribute if you want the shipping address to be cloned from the order
1316
1414
 
1317
1415
  ```sh-session
1318
1416
  USAGE
1319
- $ 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]]
1320
1418
 
1321
1419
  ARGUMENTS
1322
1420
  ID the unique id of the resource
@@ -1339,7 +1437,7 @@ Send this attribute if you want to unarchive the order.
1339
1437
 
1340
1438
  ```sh-session
1341
1439
  USAGE
1342
- $ commercelayer order:unarchive [ID] -o <value> [-u [-j -p]]
1440
+ $ commercelayer order:unarchive ID -o <value> [-u [-j -p]]
1343
1441
 
1344
1442
  ARGUMENTS
1345
1443
  ID the unique id of the resource
@@ -1362,7 +1460,7 @@ Send this attribute if you want to force tax calculation for this order (a tax c
1362
1460
 
1363
1461
  ```sh-session
1364
1462
  USAGE
1365
- $ commercelayer order:update_taxes [ID] -o <value> [-u [-j -p]]
1463
+ $ commercelayer order:update_taxes ID -o <value> [-u [-j -p]]
1366
1464
 
1367
1465
  ARGUMENTS
1368
1466
  ID the unique id of the resource
@@ -1380,13 +1478,36 @@ DESCRIPTION
1380
1478
 
1381
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)_
1382
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
+
1383
1504
  ### `commercelayer order_subscription ID`
1384
1505
 
1385
1506
  Execute an action on a resource of type order_subscriptions.
1386
1507
 
1387
1508
  ```sh-session
1388
1509
  USAGE
1389
- $ commercelayer order_subscription [ID] -o <value> [-u [-j -p]]
1510
+ $ commercelayer order_subscription ID -o <value> [-u [-j -p]]
1390
1511
 
1391
1512
  ARGUMENTS
1392
1513
  ID the unique id of the resource
@@ -1409,7 +1530,7 @@ Send this attribute if you want to mark this subscription as active.
1409
1530
 
1410
1531
  ```sh-session
1411
1532
  USAGE
1412
- $ commercelayer order_subscription:activate [ID] -o <value> [-u [-j -p]]
1533
+ $ commercelayer order_subscription:activate ID -o <value> [-u [-j -p]]
1413
1534
 
1414
1535
  ARGUMENTS
1415
1536
  ID the unique id of the resource
@@ -1432,7 +1553,7 @@ Send this attribute if you want to mark this subscription as cancelled.
1432
1553
 
1433
1554
  ```sh-session
1434
1555
  USAGE
1435
- $ commercelayer order_subscription:cancel [ID] -o <value> [-u [-j -p]]
1556
+ $ commercelayer order_subscription:cancel ID -o <value> [-u [-j -p]]
1436
1557
 
1437
1558
  ARGUMENTS
1438
1559
  ID the unique id of the resource
@@ -1455,7 +1576,7 @@ Send this attribute if you want to mark this subscription as inactive.
1455
1576
 
1456
1577
  ```sh-session
1457
1578
  USAGE
1458
- $ commercelayer order_subscription:deactivate [ID] -o <value> [-u [-j -p]]
1579
+ $ commercelayer order_subscription:deactivate ID -o <value> [-u [-j -p]]
1459
1580
 
1460
1581
  ARGUMENTS
1461
1582
  ID the unique id of the resource
@@ -1478,7 +1599,7 @@ Execute an action on a resource of type payment_methods.
1478
1599
 
1479
1600
  ```sh-session
1480
1601
  USAGE
1481
- $ commercelayer payment_method [ID] -o <value> [-u [-j -p]]
1602
+ $ commercelayer payment_method ID -o <value> [-u [-j -p]]
1482
1603
 
1483
1604
  ARGUMENTS
1484
1605
  ID the unique id of the resource
@@ -1501,7 +1622,7 @@ Send this attribute if you want to mark the payment method as disabled.
1501
1622
 
1502
1623
  ```sh-session
1503
1624
  USAGE
1504
- $ commercelayer payment_method:disable [ID] -o <value> [-u [-j -p]]
1625
+ $ commercelayer payment_method:disable ID -o <value> [-u [-j -p]]
1505
1626
 
1506
1627
  ARGUMENTS
1507
1628
  ID the unique id of the resource
@@ -1524,7 +1645,7 @@ Send this attribute if you want to mark the payment method as enabled.
1524
1645
 
1525
1646
  ```sh-session
1526
1647
  USAGE
1527
- $ commercelayer payment_method:enable [ID] -o <value> [-u [-j -p]]
1648
+ $ commercelayer payment_method:enable ID -o <value> [-u [-j -p]]
1528
1649
 
1529
1650
  ARGUMENTS
1530
1651
  ID the unique id of the resource
@@ -1547,7 +1668,7 @@ Execute an action on a resource of type returns.
1547
1668
 
1548
1669
  ```sh-session
1549
1670
  USAGE
1550
- $ commercelayer return [ID] -o <value> [-u [-j -p]]
1671
+ $ commercelayer return ID -o <value> [-u [-j -p]]
1551
1672
 
1552
1673
  ARGUMENTS
1553
1674
  ID the unique id of the resource
@@ -1570,7 +1691,7 @@ Send this attribute if you want to mark this return as approved.
1570
1691
 
1571
1692
  ```sh-session
1572
1693
  USAGE
1573
- $ commercelayer return:approve [ID] -o <value> [-u [-j -p]]
1694
+ $ commercelayer return:approve ID -o <value> [-u [-j -p]]
1574
1695
 
1575
1696
  ARGUMENTS
1576
1697
  ID the unique id of the resource
@@ -1593,7 +1714,7 @@ Send this attribute if you want to archive the return.
1593
1714
 
1594
1715
  ```sh-session
1595
1716
  USAGE
1596
- $ commercelayer return:archive [ID] -o <value> [-u [-j -p]]
1717
+ $ commercelayer return:archive ID -o <value> [-u [-j -p]]
1597
1718
 
1598
1719
  ARGUMENTS
1599
1720
  ID the unique id of the resource
@@ -1616,7 +1737,7 @@ Send this attribute if you want to mark this return as cancelled.
1616
1737
 
1617
1738
  ```sh-session
1618
1739
  USAGE
1619
- $ commercelayer return:cancel [ID] -o <value> [-u [-j -p]]
1740
+ $ commercelayer return:cancel ID -o <value> [-u [-j -p]]
1620
1741
 
1621
1742
  ARGUMENTS
1622
1743
  ID the unique id of the resource
@@ -1639,7 +1760,7 @@ Send this attribute if you want to mark this return as received.
1639
1760
 
1640
1761
  ```sh-session
1641
1762
  USAGE
1642
- $ commercelayer return:receive [ID] -o <value> [-u [-j -p]]
1763
+ $ commercelayer return:receive ID -o <value> [-u [-j -p]]
1643
1764
 
1644
1765
  ARGUMENTS
1645
1766
  ID the unique id of the resource
@@ -1662,7 +1783,7 @@ Send this attribute if you want to mark this return as rejected.
1662
1783
 
1663
1784
  ```sh-session
1664
1785
  USAGE
1665
- $ commercelayer return:reject [ID] -o <value> [-u [-j -p]]
1786
+ $ commercelayer return:reject ID -o <value> [-u [-j -p]]
1666
1787
 
1667
1788
  ARGUMENTS
1668
1789
  ID the unique id of the resource
@@ -1685,7 +1806,7 @@ Send this attribute if you want to activate this return.
1685
1806
 
1686
1807
  ```sh-session
1687
1808
  USAGE
1688
- $ commercelayer return:request [ID] -o <value> [-u [-j -p]]
1809
+ $ commercelayer return:request ID -o <value> [-u [-j -p]]
1689
1810
 
1690
1811
  ARGUMENTS
1691
1812
  ID the unique id of the resource
@@ -1708,7 +1829,7 @@ Send this attribute if you want to restock all of the return line items.
1708
1829
 
1709
1830
  ```sh-session
1710
1831
  USAGE
1711
- $ commercelayer return:restock [ID] -o <value> [-u [-j -p]]
1832
+ $ commercelayer return:restock ID -o <value> [-u [-j -p]]
1712
1833
 
1713
1834
  ARGUMENTS
1714
1835
  ID the unique id of the resource
@@ -1731,7 +1852,7 @@ Send this attribute if you want to mark this return as shipped.
1731
1852
 
1732
1853
  ```sh-session
1733
1854
  USAGE
1734
- $ commercelayer return:ship [ID] -o <value> [-u [-j -p]]
1855
+ $ commercelayer return:ship ID -o <value> [-u [-j -p]]
1735
1856
 
1736
1857
  ARGUMENTS
1737
1858
  ID the unique id of the resource
@@ -1754,7 +1875,7 @@ Send this attribute if you want to unarchive the return.
1754
1875
 
1755
1876
  ```sh-session
1756
1877
  USAGE
1757
- $ commercelayer return:unarchive [ID] -o <value> [-u [-j -p]]
1878
+ $ commercelayer return:unarchive ID -o <value> [-u [-j -p]]
1758
1879
 
1759
1880
  ARGUMENTS
1760
1881
  ID the unique id of the resource
@@ -1777,7 +1898,7 @@ Execute an action on a resource of type return_line_items.
1777
1898
 
1778
1899
  ```sh-session
1779
1900
  USAGE
1780
- $ commercelayer return_line_item [ID] -o <value> [-u [-j -p]]
1901
+ $ commercelayer return_line_item ID -o <value> [-u [-j -p]]
1781
1902
 
1782
1903
  ARGUMENTS
1783
1904
  ID the unique id of the resource
@@ -1800,7 +1921,7 @@ Send this attribute if you want to restock the line item.
1800
1921
 
1801
1922
  ```sh-session
1802
1923
  USAGE
1803
- $ commercelayer return_line_item:restock [ID] -o <value> [-u [-j -p]]
1924
+ $ commercelayer return_line_item:restock ID -o <value> [-u [-j -p]]
1804
1925
 
1805
1926
  ARGUMENTS
1806
1927
  ID the unique id of the resource
@@ -1823,7 +1944,7 @@ Execute an action on a resource of type shipments.
1823
1944
 
1824
1945
  ```sh-session
1825
1946
  USAGE
1826
- $ commercelayer shipment [ID] -o <value> [-u [-j -p]]
1947
+ $ commercelayer shipment ID -o <value> [-u [-j -p]]
1827
1948
 
1828
1949
  ARGUMENTS
1829
1950
  ID the unique id of the resource
@@ -1846,7 +1967,7 @@ Send this attribute if you want get the shipping rates from the associated carri
1846
1967
 
1847
1968
  ```sh-session
1848
1969
  USAGE
1849
- $ commercelayer shipment:get_rates [ID] -o <value> [-u [-j -p]]
1970
+ $ commercelayer shipment:get_rates ID -o <value> [-u [-j -p]]
1850
1971
 
1851
1972
  ARGUMENTS
1852
1973
  ID the unique id of the resource
@@ -1869,7 +1990,7 @@ Send this attribute if you want to put this shipment on hold.
1869
1990
 
1870
1991
  ```sh-session
1871
1992
  USAGE
1872
- $ commercelayer shipment:on_hold [ID] -o <value> [-u [-j -p]]
1993
+ $ commercelayer shipment:on_hold ID -o <value> [-u [-j -p]]
1873
1994
 
1874
1995
  ARGUMENTS
1875
1996
  ID the unique id of the resource
@@ -1892,7 +2013,7 @@ Send this attribute if you want to start packing this shipment.
1892
2013
 
1893
2014
  ```sh-session
1894
2015
  USAGE
1895
- $ commercelayer shipment:packing [ID] -o <value> [-u [-j -p]]
2016
+ $ commercelayer shipment:packing ID -o <value> [-u [-j -p]]
1896
2017
 
1897
2018
  ARGUMENTS
1898
2019
  ID the unique id of the resource
@@ -1915,7 +2036,7 @@ Send this attribute if you want to start picking this shipment.
1915
2036
 
1916
2037
  ```sh-session
1917
2038
  USAGE
1918
- $ commercelayer shipment:picking [ID] -o <value> [-u [-j -p]]
2039
+ $ commercelayer shipment:picking ID -o <value> [-u [-j -p]]
1919
2040
 
1920
2041
  ARGUMENTS
1921
2042
  ID the unique id of the resource
@@ -1938,7 +2059,7 @@ Send this attribute if you want to purchase this shipment with the selected rate
1938
2059
 
1939
2060
  ```sh-session
1940
2061
  USAGE
1941
- $ commercelayer shipment:purchase [ID] -o <value> [-u [-j -p]]
2062
+ $ commercelayer shipment:purchase ID -o <value> [-u [-j -p]]
1942
2063
 
1943
2064
  ARGUMENTS
1944
2065
  ID the unique id of the resource
@@ -1961,7 +2082,7 @@ Send this attribute if you want to mark this shipment as ready to ship.
1961
2082
 
1962
2083
  ```sh-session
1963
2084
  USAGE
1964
- $ commercelayer shipment:ready_to_ship [ID] -o <value> [-u [-j -p]]
2085
+ $ commercelayer shipment:ready_to_ship ID -o <value> [-u [-j -p]]
1965
2086
 
1966
2087
  ARGUMENTS
1967
2088
  ID the unique id of the resource
@@ -1984,7 +2105,7 @@ Send this attribute if you want to mark this shipment as shipped.
1984
2105
 
1985
2106
  ```sh-session
1986
2107
  USAGE
1987
- $ commercelayer shipment:ship [ID] -o <value> [-u [-j -p]]
2108
+ $ commercelayer shipment:ship ID -o <value> [-u [-j -p]]
1988
2109
 
1989
2110
  ARGUMENTS
1990
2111
  ID the unique id of the resource
@@ -2007,7 +2128,7 @@ Execute an action on a resource of type shipping_methods.
2007
2128
 
2008
2129
  ```sh-session
2009
2130
  USAGE
2010
- $ commercelayer shipping_method [ID] -o <value> [-u [-j -p]]
2131
+ $ commercelayer shipping_method ID -o <value> [-u [-j -p]]
2011
2132
 
2012
2133
  ARGUMENTS
2013
2134
  ID the unique id of the resource
@@ -2030,7 +2151,7 @@ Send this attribute if you want to mark the shipping method as disabled.
2030
2151
 
2031
2152
  ```sh-session
2032
2153
  USAGE
2033
- $ commercelayer shipping_method:disable [ID] -o <value> [-u [-j -p]]
2154
+ $ commercelayer shipping_method:disable ID -o <value> [-u [-j -p]]
2034
2155
 
2035
2156
  ARGUMENTS
2036
2157
  ID the unique id of the resource
@@ -2053,7 +2174,7 @@ Send this attribute if you want to mark the shipping method as enabled.
2053
2174
 
2054
2175
  ```sh-session
2055
2176
  USAGE
2056
- $ commercelayer shipping_method:enable [ID] -o <value> [-u [-j -p]]
2177
+ $ commercelayer shipping_method:enable ID -o <value> [-u [-j -p]]
2057
2178
 
2058
2179
  ARGUMENTS
2059
2180
  ID the unique id of the resource
@@ -2076,7 +2197,7 @@ Execute an action on a resource of type stock_transfers.
2076
2197
 
2077
2198
  ```sh-session
2078
2199
  USAGE
2079
- $ commercelayer stock_transfer [ID] -o <value> [-u [-j -p]]
2200
+ $ commercelayer stock_transfer ID -o <value> [-u [-j -p]]
2080
2201
 
2081
2202
  ARGUMENTS
2082
2203
  ID the unique id of the resource
@@ -2099,7 +2220,7 @@ Send this attribute if you want to cancel this stock transfer.
2099
2220
 
2100
2221
  ```sh-session
2101
2222
  USAGE
2102
- $ commercelayer stock_transfer:cancel [ID] -o <value> [-u [-j -p]]
2223
+ $ commercelayer stock_transfer:cancel ID -o <value> [-u [-j -p]]
2103
2224
 
2104
2225
  ARGUMENTS
2105
2226
  ID the unique id of the resource
@@ -2122,7 +2243,7 @@ Send this attribute if you want to complete this stock transfer.
2122
2243
 
2123
2244
  ```sh-session
2124
2245
  USAGE
2125
- $ commercelayer stock_transfer:complete [ID] -o <value> [-u [-j -p]]
2246
+ $ commercelayer stock_transfer:complete ID -o <value> [-u [-j -p]]
2126
2247
 
2127
2248
  ARGUMENTS
2128
2249
  ID the unique id of the resource
@@ -2145,7 +2266,7 @@ Send this attribute if you want to mark this stock transfer as in transit.
2145
2266
 
2146
2267
  ```sh-session
2147
2268
  USAGE
2148
- $ commercelayer stock_transfer:in_transit [ID] -o <value> [-u [-j -p]]
2269
+ $ commercelayer stock_transfer:in_transit ID -o <value> [-u [-j -p]]
2149
2270
 
2150
2271
  ARGUMENTS
2151
2272
  ID the unique id of the resource
@@ -2168,7 +2289,7 @@ Send this attribute if you want to start picking this stock transfer.
2168
2289
 
2169
2290
  ```sh-session
2170
2291
  USAGE
2171
- $ commercelayer stock_transfer:picking [ID] -o <value> [-u [-j -p]]
2292
+ $ commercelayer stock_transfer:picking ID -o <value> [-u [-j -p]]
2172
2293
 
2173
2294
  ARGUMENTS
2174
2295
  ID the unique id of the resource
@@ -2191,7 +2312,7 @@ Send this attribute if you want to mark this stock transfer as upcoming.
2191
2312
 
2192
2313
  ```sh-session
2193
2314
  USAGE
2194
- $ commercelayer stock_transfer:upcoming [ID] -o <value> [-u [-j -p]]
2315
+ $ commercelayer stock_transfer:upcoming ID -o <value> [-u [-j -p]]
2195
2316
 
2196
2317
  ARGUMENTS
2197
2318
  ID the unique id of the resource
@@ -2214,7 +2335,7 @@ Execute an action on a resource of type stripe_payments.
2214
2335
 
2215
2336
  ```sh-session
2216
2337
  USAGE
2217
- $ commercelayer stripe_payment [ID] -o <value> [-u [-j -p]]
2338
+ $ commercelayer stripe_payment ID -o <value> [-u [-j -p]]
2218
2339
 
2219
2340
  ARGUMENTS
2220
2341
  ID the unique id of the resource
@@ -2237,7 +2358,7 @@ Send this attribute if you want to refresh the payment status, can be used as we
2237
2358
 
2238
2359
  ```sh-session
2239
2360
  USAGE
2240
- $ commercelayer stripe_payment:refresh [ID] -o <value> [-u [-j -p]]
2361
+ $ commercelayer stripe_payment:refresh ID -o <value> [-u [-j -p]]
2241
2362
 
2242
2363
  ARGUMENTS
2243
2364
  ID the unique id of the resource
@@ -2260,7 +2381,7 @@ Execute an action on a resource of type webhooks.
2260
2381
 
2261
2382
  ```sh-session
2262
2383
  USAGE
2263
- $ commercelayer webhook [ID] -o <value> [-u [-j -p]]
2384
+ $ commercelayer webhook ID -o <value> [-u [-j -p]]
2264
2385
 
2265
2386
  ARGUMENTS
2266
2387
  ID the unique id of the resource
@@ -2283,7 +2404,7 @@ Send this attribute if you want to reset the circuit breaker associated to this
2283
2404
 
2284
2405
  ```sh-session
2285
2406
  USAGE
2286
- $ commercelayer webhook:reset_circuit [ID] -o <value> [-u [-j -p]]
2407
+ $ commercelayer webhook:reset_circuit ID -o <value> [-u [-j -p]]
2287
2408
 
2288
2409
  ARGUMENTS
2289
2410
  ID the unique id of the resource