@commercelayer/cli-plugin-triggers 3.1.0 → 3.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +156 -152
- package/lib/commands/adyen_payment/details.js +2 -2
- package/lib/commands/adyen_payment/index.js +4 -4
- package/lib/commands/authorization/capture.js +2 -2
- package/lib/commands/authorization/capture_amount_cents.js +2 -2
- package/lib/commands/authorization/index.js +4 -4
- package/lib/commands/authorization/void.js +2 -2
- package/lib/commands/bundle/compute_compare_at_amount.js +2 -2
- package/lib/commands/bundle/compute_price_amount.js +2 -2
- package/lib/commands/bundle/index.js +4 -4
- package/lib/commands/capture/index.js +4 -4
- package/lib/commands/capture/refund.js +2 -2
- package/lib/commands/capture/refund_amount_cents.js +2 -2
- package/lib/commands/checkout_com_payment/details.js +2 -2
- package/lib/commands/checkout_com_payment/index.js +4 -4
- package/lib/commands/checkout_com_payment/refresh.js +2 -2
- package/lib/commands/customer_password_reset/index.js +4 -4
- package/lib/commands/customer_password_reset/reset_password_token.js +2 -2
- package/lib/commands/gift_card/activate.js +2 -2
- package/lib/commands/gift_card/balance_change_cents.js +2 -2
- package/lib/commands/gift_card/deactivate.js +2 -2
- package/lib/commands/gift_card/index.js +4 -4
- package/lib/commands/gift_card/purchase.js +2 -2
- package/lib/commands/in_stock_subscription/activate.js +2 -2
- package/lib/commands/in_stock_subscription/deactivate.js +2 -2
- package/lib/commands/in_stock_subscription/index.js +4 -4
- package/lib/commands/klarna_payment/index.js +4 -4
- package/lib/commands/klarna_payment/update.js +2 -2
- package/lib/commands/order/approve.js +2 -2
- package/lib/commands/order/approve_and_capture.js +2 -2
- package/lib/commands/order/archive.js +2 -2
- package/lib/commands/order/authorization_amount_cents.js +2 -2
- package/lib/commands/order/authorize.js +2 -2
- package/lib/commands/order/billing_address_clone_id.js +2 -2
- package/lib/commands/order/billing_address_same_as_shipping.js +2 -2
- package/lib/commands/order/cancel.js +2 -2
- package/lib/commands/order/capture.js +2 -2
- package/lib/commands/order/customer_payment_source_id.js +2 -2
- package/lib/commands/order/index.js +4 -4
- package/lib/commands/order/place.js +2 -2
- package/lib/commands/order/refresh.js +2 -2
- package/lib/commands/order/refund.js +2 -2
- package/lib/commands/order/save_billing_address_to_customer_address_book.js +2 -2
- package/lib/commands/order/save_payment_source_to_customer_wallet.js +2 -2
- package/lib/commands/order/save_shipping_address_to_customer_address_book.js +2 -2
- package/lib/commands/order/shipping_address_clone_id.js +2 -2
- package/lib/commands/order/shipping_address_same_as_billing.js +2 -2
- package/lib/commands/order/unarchive.js +2 -2
- package/lib/commands/order/update_taxes.js +2 -2
- package/lib/commands/order_subscription/activate.js +2 -2
- package/lib/commands/order_subscription/cancel.js +2 -2
- package/lib/commands/order_subscription/deactivate.js +2 -2
- package/lib/commands/order_subscription/index.js +4 -4
- package/lib/commands/return/approve.js +2 -2
- package/lib/commands/return/archive.js +2 -2
- package/lib/commands/return/cancel.js +2 -2
- package/lib/commands/return/index.js +4 -4
- package/lib/commands/return/receive.js +2 -2
- package/lib/commands/return/reject.js +2 -2
- package/lib/commands/return/request.js +2 -2
- package/lib/commands/return/restock.js +2 -2
- package/lib/commands/return/ship.js +2 -2
- package/lib/commands/return/unarchive.js +2 -2
- package/lib/commands/return_line_item/index.js +4 -4
- package/lib/commands/return_line_item/restock.js +2 -2
- package/lib/commands/shipment/get_rates.js +2 -2
- package/lib/commands/shipment/index.js +4 -4
- package/lib/commands/shipment/on_hold.js +2 -2
- package/lib/commands/shipment/packing.js +2 -2
- package/lib/commands/shipment/picking.js +2 -2
- package/lib/commands/shipment/purchase.js +2 -2
- package/lib/commands/shipment/ready_to_ship.js +2 -2
- package/lib/commands/shipment/ship.js +2 -2
- package/lib/commands/stock_transfer/cancel.js +2 -2
- package/lib/commands/stock_transfer/complete.js +2 -2
- package/lib/commands/stock_transfer/in_transit.js +2 -2
- package/lib/commands/stock_transfer/index.js +4 -4
- package/lib/commands/stock_transfer/picking.js +2 -2
- package/lib/commands/stock_transfer/upcoming.js +2 -2
- package/lib/commands/stripe_payment/index.js +4 -4
- package/lib/commands/stripe_payment/refresh.js +2 -2
- package/lib/commands/webhook/index.js +4 -4
- package/lib/commands/webhook/reset_circuit.js +2 -2
- package/lib/exec.js +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
commercelayer-cli-plugin-triggers
|
|
2
|
-
=================================
|
|
1
|
+
# commercelayer-cli-plugin-triggers
|
|
3
2
|
|
|
4
3
|
Commerce Layer CLI Triggers plugin
|
|
5
4
|
|
|
@@ -10,14 +9,19 @@ Commerce Layer CLI Triggers plugin
|
|
|
10
9
|
|
|
11
10
|
<!-- toc -->
|
|
12
11
|
|
|
13
|
-
|
|
12
|
+
* [Usage](#usage)
|
|
13
|
+
* [Commands](#commands)
|
|
14
14
|
<!-- tocstop -->
|
|
15
|
-
|
|
15
|
+
## Usage
|
|
16
16
|
<!-- usage -->
|
|
17
17
|
|
|
18
|
+
```sh-session
|
|
19
|
+
$ commercelayer COMMAND
|
|
18
20
|
|
|
21
|
+
$ commercelayer [COMMAND] (--help | -h) for detailed information about plugin commands.
|
|
22
|
+
```
|
|
19
23
|
<!-- usagestop -->
|
|
20
|
-
|
|
24
|
+
## Commands
|
|
21
25
|
<!-- commands -->
|
|
22
26
|
|
|
23
27
|
* [`commercelayer adyen_payment ID`](#commercelayer-adyen_payment-id)
|
|
@@ -107,7 +111,7 @@ Commerce Layer CLI Triggers plugin
|
|
|
107
111
|
|
|
108
112
|
Execute an action on a resource of type adyen_payments.
|
|
109
113
|
|
|
110
|
-
```
|
|
114
|
+
```sh-session
|
|
111
115
|
USAGE
|
|
112
116
|
$ commercelayer adyen_payment [ID] -o <value> [-u [-j -p]]
|
|
113
117
|
|
|
@@ -128,9 +132,9 @@ _See code: [src/commands/adyen_payment/index.ts](https://github.com/commercelaye
|
|
|
128
132
|
|
|
129
133
|
### `commercelayer adyen_payment:details ID`
|
|
130
134
|
|
|
131
|
-
Send this attribute if you want to send additional details the payment request
|
|
135
|
+
Send this attribute if you want to send additional details the payment request.
|
|
132
136
|
|
|
133
|
-
```
|
|
137
|
+
```sh-session
|
|
134
138
|
USAGE
|
|
135
139
|
$ commercelayer adyen_payment:details [ID] -o <value> [-u [-j -p]]
|
|
136
140
|
|
|
@@ -153,7 +157,7 @@ _See code: [src/commands/adyen_payment/details.ts](https://github.com/commercela
|
|
|
153
157
|
|
|
154
158
|
Execute an action on a resource of type authorizations.
|
|
155
159
|
|
|
156
|
-
```
|
|
160
|
+
```sh-session
|
|
157
161
|
USAGE
|
|
158
162
|
$ commercelayer authorization [ID] -o <value> [-u [-j -p]]
|
|
159
163
|
|
|
@@ -174,9 +178,9 @@ _See code: [src/commands/authorization/index.ts](https://github.com/commercelaye
|
|
|
174
178
|
|
|
175
179
|
### `commercelayer authorization:capture ID`
|
|
176
180
|
|
|
177
|
-
Send this attribute if you want to create a capture for this authorization
|
|
181
|
+
Send this attribute if you want to create a capture for this authorization.
|
|
178
182
|
|
|
179
|
-
```
|
|
183
|
+
```sh-session
|
|
180
184
|
USAGE
|
|
181
185
|
$ commercelayer authorization:capture [ID] -o <value> [-u [-j -p]]
|
|
182
186
|
|
|
@@ -197,9 +201,9 @@ _See code: [src/commands/authorization/capture.ts](https://github.com/commercela
|
|
|
197
201
|
|
|
198
202
|
### `commercelayer authorization:capture_amount_cents ID`
|
|
199
203
|
|
|
200
|
-
The associated capture amount, in cents
|
|
204
|
+
The associated capture amount, in cents.
|
|
201
205
|
|
|
202
|
-
```
|
|
206
|
+
```sh-session
|
|
203
207
|
USAGE
|
|
204
208
|
$ commercelayer authorization:capture_amount_cents [ID] -o <value> [-u [-j -p]]
|
|
205
209
|
|
|
@@ -220,9 +224,9 @@ _See code: [src/commands/authorization/capture_amount_cents.ts](https://github.c
|
|
|
220
224
|
|
|
221
225
|
### `commercelayer authorization:void ID`
|
|
222
226
|
|
|
223
|
-
Send this attribute if you want to create a void for this authorization
|
|
227
|
+
Send this attribute if you want to create a void for this authorization.
|
|
224
228
|
|
|
225
|
-
```
|
|
229
|
+
```sh-session
|
|
226
230
|
USAGE
|
|
227
231
|
$ commercelayer authorization:void [ID] -o <value> [-u [-j -p]]
|
|
228
232
|
|
|
@@ -245,7 +249,7 @@ _See code: [src/commands/authorization/void.ts](https://github.com/commercelayer
|
|
|
245
249
|
|
|
246
250
|
Execute an action on a resource of type bundles.
|
|
247
251
|
|
|
248
|
-
```
|
|
252
|
+
```sh-session
|
|
249
253
|
USAGE
|
|
250
254
|
$ commercelayer bundle [ID] -o <value> [-u [-j -p]]
|
|
251
255
|
|
|
@@ -266,9 +270,9 @@ _See code: [src/commands/bundle/index.ts](https://github.com/commercelayer/comme
|
|
|
266
270
|
|
|
267
271
|
### `commercelayer bundle:compute_compare_at_amount ID`
|
|
268
272
|
|
|
269
|
-
Send this attribute if you want to compute the compare_at_amount_cents as the sum of the prices of the bundle SKUs for the market
|
|
273
|
+
Send this attribute if you want to compute the compare_at_amount_cents as the sum of the prices of the bundle SKUs for the market.
|
|
270
274
|
|
|
271
|
-
```
|
|
275
|
+
```sh-session
|
|
272
276
|
USAGE
|
|
273
277
|
$ commercelayer bundle:compute_compare_at_amount [ID] -o <value> [-u [-j -p]]
|
|
274
278
|
|
|
@@ -290,9 +294,9 @@ _See code: [src/commands/bundle/compute_compare_at_amount.ts](https://github.com
|
|
|
290
294
|
|
|
291
295
|
### `commercelayer bundle:compute_price_amount ID`
|
|
292
296
|
|
|
293
|
-
Send this attribute if you want to compute the price_amount_cents as the sum of the prices of the bundle SKUs for the market
|
|
297
|
+
Send this attribute if you want to compute the price_amount_cents as the sum of the prices of the bundle SKUs for the market.
|
|
294
298
|
|
|
295
|
-
```
|
|
299
|
+
```sh-session
|
|
296
300
|
USAGE
|
|
297
301
|
$ commercelayer bundle:compute_price_amount [ID] -o <value> [-u [-j -p]]
|
|
298
302
|
|
|
@@ -316,7 +320,7 @@ _See code: [src/commands/bundle/compute_price_amount.ts](https://github.com/comm
|
|
|
316
320
|
|
|
317
321
|
Execute an action on a resource of type captures.
|
|
318
322
|
|
|
319
|
-
```
|
|
323
|
+
```sh-session
|
|
320
324
|
USAGE
|
|
321
325
|
$ commercelayer capture [ID] -o <value> [-u [-j -p]]
|
|
322
326
|
|
|
@@ -337,9 +341,9 @@ _See code: [src/commands/capture/index.ts](https://github.com/commercelayer/comm
|
|
|
337
341
|
|
|
338
342
|
### `commercelayer capture:refund ID`
|
|
339
343
|
|
|
340
|
-
Send this attribute if you want to create a refund for this capture
|
|
344
|
+
Send this attribute if you want to create a refund for this capture.
|
|
341
345
|
|
|
342
|
-
```
|
|
346
|
+
```sh-session
|
|
343
347
|
USAGE
|
|
344
348
|
$ commercelayer capture:refund [ID] -o <value> [-u [-j -p]]
|
|
345
349
|
|
|
@@ -360,9 +364,9 @@ _See code: [src/commands/capture/refund.ts](https://github.com/commercelayer/com
|
|
|
360
364
|
|
|
361
365
|
### `commercelayer capture:refund_amount_cents ID`
|
|
362
366
|
|
|
363
|
-
The associated refund amount, in cents
|
|
367
|
+
The associated refund amount, in cents.
|
|
364
368
|
|
|
365
|
-
```
|
|
369
|
+
```sh-session
|
|
366
370
|
USAGE
|
|
367
371
|
$ commercelayer capture:refund_amount_cents [ID] -o <value> [-u [-j -p]]
|
|
368
372
|
|
|
@@ -385,7 +389,7 @@ _See code: [src/commands/capture/refund_amount_cents.ts](https://github.com/comm
|
|
|
385
389
|
|
|
386
390
|
Execute an action on a resource of type checkout_com_payments.
|
|
387
391
|
|
|
388
|
-
```
|
|
392
|
+
```sh-session
|
|
389
393
|
USAGE
|
|
390
394
|
$ commercelayer checkout_com_payment [ID] -o <value> [-u [-j -p]]
|
|
391
395
|
|
|
@@ -406,9 +410,9 @@ _See code: [src/commands/checkout_com_payment/index.ts](https://github.com/comme
|
|
|
406
410
|
|
|
407
411
|
### `commercelayer checkout_com_payment:details ID`
|
|
408
412
|
|
|
409
|
-
Send this attribute if you want to send additional details the payment request (i.e. upon 3DS check)
|
|
413
|
+
Send this attribute if you want to send additional details the payment request (i.e. upon 3DS check).
|
|
410
414
|
|
|
411
|
-
```
|
|
415
|
+
```sh-session
|
|
412
416
|
USAGE
|
|
413
417
|
$ commercelayer checkout_com_payment:details [ID] -o <value> [-u [-j -p]]
|
|
414
418
|
|
|
@@ -429,9 +433,9 @@ _See code: [src/commands/checkout_com_payment/details.ts](https://github.com/com
|
|
|
429
433
|
|
|
430
434
|
### `commercelayer checkout_com_payment:refresh ID`
|
|
431
435
|
|
|
432
|
-
Send this attribute if you want to refresh all the pending transactions, can be used as webhooks fallback logic
|
|
436
|
+
Send this attribute if you want to refresh all the pending transactions, can be used as webhooks fallback logic.
|
|
433
437
|
|
|
434
|
-
```
|
|
438
|
+
```sh-session
|
|
435
439
|
USAGE
|
|
436
440
|
$ commercelayer checkout_com_payment:refresh [ID] -o <value> [-u [-j -p]]
|
|
437
441
|
|
|
@@ -454,7 +458,7 @@ _See code: [src/commands/checkout_com_payment/refresh.ts](https://github.com/com
|
|
|
454
458
|
|
|
455
459
|
Execute an action on a resource of type customer_password_resets.
|
|
456
460
|
|
|
457
|
-
```
|
|
461
|
+
```sh-session
|
|
458
462
|
USAGE
|
|
459
463
|
$ commercelayer customer_password_reset [ID] -o <value> [-u [-j -p]]
|
|
460
464
|
|
|
@@ -475,9 +479,9 @@ _See code: [src/commands/customer_password_reset/index.ts](https://github.com/co
|
|
|
475
479
|
|
|
476
480
|
### `commercelayer customer_password_reset:reset_password_token ID`
|
|
477
481
|
|
|
478
|
-
Send the 'reset_password_token' that you got on create when updating the customer password
|
|
482
|
+
Send the 'reset_password_token' that you got on create when updating the customer password.
|
|
479
483
|
|
|
480
|
-
```
|
|
484
|
+
```sh-session
|
|
481
485
|
USAGE
|
|
482
486
|
$ commercelayer customer_password_reset:reset_password_token [ID] -o <value> [-u [-j -p]]
|
|
483
487
|
|
|
@@ -500,7 +504,7 @@ _See code: [src/commands/customer_password_reset/reset_password_token.ts](https:
|
|
|
500
504
|
|
|
501
505
|
Execute an action on a resource of type gift_cards.
|
|
502
506
|
|
|
503
|
-
```
|
|
507
|
+
```sh-session
|
|
504
508
|
USAGE
|
|
505
509
|
$ commercelayer gift_card [ID] -o <value> [-u [-j -p]]
|
|
506
510
|
|
|
@@ -521,9 +525,9 @@ _See code: [src/commands/gift_card/index.ts](https://github.com/commercelayer/co
|
|
|
521
525
|
|
|
522
526
|
### `commercelayer gift_card:activate ID`
|
|
523
527
|
|
|
524
|
-
Send this attribute if you want to activate a gift card
|
|
528
|
+
Send this attribute if you want to activate a gift card.
|
|
525
529
|
|
|
526
|
-
```
|
|
530
|
+
```sh-session
|
|
527
531
|
USAGE
|
|
528
532
|
$ commercelayer gift_card:activate [ID] -o <value> [-u [-j -p]]
|
|
529
533
|
|
|
@@ -544,9 +548,9 @@ _See code: [src/commands/gift_card/activate.ts](https://github.com/commercelayer
|
|
|
544
548
|
|
|
545
549
|
### `commercelayer gift_card:balance_change_cents ID`
|
|
546
550
|
|
|
547
|
-
The balance change, in cents. Send a negative value to reduces the card balance by the specified amount. Send a positive value to recharge the gift card (if rechargeable)
|
|
551
|
+
The balance change, in cents. Send a negative value to reduces the card balance by the specified amount. Send a positive value to recharge the gift card (if rechargeable).
|
|
548
552
|
|
|
549
|
-
```
|
|
553
|
+
```sh-session
|
|
550
554
|
USAGE
|
|
551
555
|
$ commercelayer gift_card:balance_change_cents [ID] -o <value> [-u [-j -p]]
|
|
552
556
|
|
|
@@ -568,9 +572,9 @@ _See code: [src/commands/gift_card/balance_change_cents.ts](https://github.com/c
|
|
|
568
572
|
|
|
569
573
|
### `commercelayer gift_card:deactivate ID`
|
|
570
574
|
|
|
571
|
-
Send this attribute if you want to deactivate a gift card
|
|
575
|
+
Send this attribute if you want to deactivate a gift card.
|
|
572
576
|
|
|
573
|
-
```
|
|
577
|
+
```sh-session
|
|
574
578
|
USAGE
|
|
575
579
|
$ commercelayer gift_card:deactivate [ID] -o <value> [-u [-j -p]]
|
|
576
580
|
|
|
@@ -591,9 +595,9 @@ _See code: [src/commands/gift_card/deactivate.ts](https://github.com/commercelay
|
|
|
591
595
|
|
|
592
596
|
### `commercelayer gift_card:purchase ID`
|
|
593
597
|
|
|
594
|
-
Send this attribute if you want to confirm a draft gift card. The gift card becomes 'inactive', waiting to be activated
|
|
598
|
+
Send this attribute if you want to confirm a draft gift card. The gift card becomes 'inactive', waiting to be activated.
|
|
595
599
|
|
|
596
|
-
```
|
|
600
|
+
```sh-session
|
|
597
601
|
USAGE
|
|
598
602
|
$ commercelayer gift_card:purchase [ID] -o <value> [-u [-j -p]]
|
|
599
603
|
|
|
@@ -617,7 +621,7 @@ _See code: [src/commands/gift_card/purchase.ts](https://github.com/commercelayer
|
|
|
617
621
|
|
|
618
622
|
Execute an action on a resource of type in_stock_subscriptions.
|
|
619
623
|
|
|
620
|
-
```
|
|
624
|
+
```sh-session
|
|
621
625
|
USAGE
|
|
622
626
|
$ commercelayer in_stock_subscription [ID] -o <value> [-u [-j -p]]
|
|
623
627
|
|
|
@@ -638,9 +642,9 @@ _See code: [src/commands/in_stock_subscription/index.ts](https://github.com/comm
|
|
|
638
642
|
|
|
639
643
|
### `commercelayer in_stock_subscription:activate ID`
|
|
640
644
|
|
|
641
|
-
Send this attribute if you want to activate an inactive subscription
|
|
645
|
+
Send this attribute if you want to activate an inactive subscription.
|
|
642
646
|
|
|
643
|
-
```
|
|
647
|
+
```sh-session
|
|
644
648
|
USAGE
|
|
645
649
|
$ commercelayer in_stock_subscription:activate [ID] -o <value> [-u [-j -p]]
|
|
646
650
|
|
|
@@ -661,9 +665,9 @@ _See code: [src/commands/in_stock_subscription/activate.ts](https://github.com/c
|
|
|
661
665
|
|
|
662
666
|
### `commercelayer in_stock_subscription:deactivate ID`
|
|
663
667
|
|
|
664
|
-
Send this attribute if you want to dactivate an active subscription
|
|
668
|
+
Send this attribute if you want to dactivate an active subscription.
|
|
665
669
|
|
|
666
|
-
```
|
|
670
|
+
```sh-session
|
|
667
671
|
USAGE
|
|
668
672
|
$ commercelayer in_stock_subscription:deactivate [ID] -o <value> [-u [-j -p]]
|
|
669
673
|
|
|
@@ -686,7 +690,7 @@ _See code: [src/commands/in_stock_subscription/deactivate.ts](https://github.com
|
|
|
686
690
|
|
|
687
691
|
Execute an action on a resource of type klarna_payments.
|
|
688
692
|
|
|
689
|
-
```
|
|
693
|
+
```sh-session
|
|
690
694
|
USAGE
|
|
691
695
|
$ commercelayer klarna_payment [ID] -o <value> [-u [-j -p]]
|
|
692
696
|
|
|
@@ -707,9 +711,9 @@ _See code: [src/commands/klarna_payment/index.ts](https://github.com/commercelay
|
|
|
707
711
|
|
|
708
712
|
### `commercelayer klarna_payment:update ID`
|
|
709
713
|
|
|
710
|
-
Send this attribute if you want to update the payment session with fresh order data
|
|
714
|
+
Send this attribute if you want to update the payment session with fresh order data.
|
|
711
715
|
|
|
712
|
-
```
|
|
716
|
+
```sh-session
|
|
713
717
|
USAGE
|
|
714
718
|
$ commercelayer klarna_payment:update [ID] -o <value> [-u [-j -p]]
|
|
715
719
|
|
|
@@ -732,7 +736,7 @@ _See code: [src/commands/klarna_payment/update.ts](https://github.com/commercela
|
|
|
732
736
|
|
|
733
737
|
Execute an action on a resource of type orders.
|
|
734
738
|
|
|
735
|
-
```
|
|
739
|
+
```sh-session
|
|
736
740
|
USAGE
|
|
737
741
|
$ commercelayer order [ID] -o <value> [-u [-j -p]]
|
|
738
742
|
|
|
@@ -753,9 +757,9 @@ _See code: [src/commands/order/index.ts](https://github.com/commercelayer/commer
|
|
|
753
757
|
|
|
754
758
|
### `commercelayer order:approve ID`
|
|
755
759
|
|
|
756
|
-
Send this attribute if you want to approve a placed order
|
|
760
|
+
Send this attribute if you want to approve a placed order.
|
|
757
761
|
|
|
758
|
-
```
|
|
762
|
+
```sh-session
|
|
759
763
|
USAGE
|
|
760
764
|
$ commercelayer order:approve [ID] -o <value> [-u [-j -p]]
|
|
761
765
|
|
|
@@ -776,9 +780,9 @@ _See code: [src/commands/order/approve.ts](https://github.com/commercelayer/comm
|
|
|
776
780
|
|
|
777
781
|
### `commercelayer order:approve_and_capture ID`
|
|
778
782
|
|
|
779
|
-
Send this attribute if you want to approve and capture a placed order
|
|
783
|
+
Send this attribute if you want to approve and capture a placed order.
|
|
780
784
|
|
|
781
|
-
```
|
|
785
|
+
```sh-session
|
|
782
786
|
USAGE
|
|
783
787
|
$ commercelayer order:approve_and_capture [ID] -o <value> [-u [-j -p]]
|
|
784
788
|
|
|
@@ -799,9 +803,9 @@ _See code: [src/commands/order/approve_and_capture.ts](https://github.com/commer
|
|
|
799
803
|
|
|
800
804
|
### `commercelayer order:archive ID`
|
|
801
805
|
|
|
802
|
-
Send this attribute if you want to archive the order
|
|
806
|
+
Send this attribute if you want to archive the order.
|
|
803
807
|
|
|
804
|
-
```
|
|
808
|
+
```sh-session
|
|
805
809
|
USAGE
|
|
806
810
|
$ commercelayer order:archive [ID] -o <value> [-u [-j -p]]
|
|
807
811
|
|
|
@@ -822,9 +826,9 @@ _See code: [src/commands/order/archive.ts](https://github.com/commercelayer/comm
|
|
|
822
826
|
|
|
823
827
|
### `commercelayer order:authorization_amount_cents ID`
|
|
824
828
|
|
|
825
|
-
The authorization amount, in cents
|
|
829
|
+
The authorization amount, in cents.
|
|
826
830
|
|
|
827
|
-
```
|
|
831
|
+
```sh-session
|
|
828
832
|
USAGE
|
|
829
833
|
$ commercelayer order:authorization_amount_cents [ID] -o <value> [-u [-j -p]]
|
|
830
834
|
|
|
@@ -845,9 +849,9 @@ _See code: [src/commands/order/authorization_amount_cents.ts](https://github.com
|
|
|
845
849
|
|
|
846
850
|
### `commercelayer order:authorize ID`
|
|
847
851
|
|
|
848
|
-
Send this attribute if you want to authorize the order's payment source
|
|
852
|
+
Send this attribute if you want to authorize the order's payment source.
|
|
849
853
|
|
|
850
|
-
```
|
|
854
|
+
```sh-session
|
|
851
855
|
USAGE
|
|
852
856
|
$ commercelayer order:authorize [ID] -o <value> [-u [-j -p]]
|
|
853
857
|
|
|
@@ -868,9 +872,9 @@ _See code: [src/commands/order/authorize.ts](https://github.com/commercelayer/co
|
|
|
868
872
|
|
|
869
873
|
### `commercelayer order:billing_address_clone_id ID`
|
|
870
874
|
|
|
871
|
-
The id of the address that you want to clone to create the order's billing address
|
|
875
|
+
The id of the address that you want to clone to create the order's billing address.
|
|
872
876
|
|
|
873
|
-
```
|
|
877
|
+
```sh-session
|
|
874
878
|
USAGE
|
|
875
879
|
$ commercelayer order:billing_address_clone_id [ID] -o <value> -v <value> [-u [-j -p]]
|
|
876
880
|
|
|
@@ -892,9 +896,9 @@ _See code: [src/commands/order/billing_address_clone_id.ts](https://github.com/c
|
|
|
892
896
|
|
|
893
897
|
### `commercelayer order:billing_address_same_as_shipping ID`
|
|
894
898
|
|
|
895
|
-
Send this attribute if you want the billing address to be cloned from the order's shipping address
|
|
899
|
+
Send this attribute if you want the billing address to be cloned from the order's shipping address.
|
|
896
900
|
|
|
897
|
-
```
|
|
901
|
+
```sh-session
|
|
898
902
|
USAGE
|
|
899
903
|
$ commercelayer order:billing_address_same_as_shipping [ID] -o <value> [-u [-j -p]]
|
|
900
904
|
|
|
@@ -915,9 +919,9 @@ _See code: [src/commands/order/billing_address_same_as_shipping.ts](https://gith
|
|
|
915
919
|
|
|
916
920
|
### `commercelayer order:cancel ID`
|
|
917
921
|
|
|
918
|
-
Send this attribute if you want to cancel a placed order. The order's authorization will be automatically voided
|
|
922
|
+
Send this attribute if you want to cancel a placed order. The order's authorization will be automatically voided.
|
|
919
923
|
|
|
920
|
-
```
|
|
924
|
+
```sh-session
|
|
921
925
|
USAGE
|
|
922
926
|
$ commercelayer order:cancel [ID] -o <value> [-u [-j -p]]
|
|
923
927
|
|
|
@@ -938,9 +942,9 @@ _See code: [src/commands/order/cancel.ts](https://github.com/commercelayer/comme
|
|
|
938
942
|
|
|
939
943
|
### `commercelayer order:capture ID`
|
|
940
944
|
|
|
941
|
-
Send this attribute if you want to capture an approved order
|
|
945
|
+
Send this attribute if you want to capture an approved order.
|
|
942
946
|
|
|
943
|
-
```
|
|
947
|
+
```sh-session
|
|
944
948
|
USAGE
|
|
945
949
|
$ commercelayer order:capture [ID] -o <value> [-u [-j -p]]
|
|
946
950
|
|
|
@@ -961,9 +965,9 @@ _See code: [src/commands/order/capture.ts](https://github.com/commercelayer/comm
|
|
|
961
965
|
|
|
962
966
|
### `commercelayer order:customer_payment_source_id ID`
|
|
963
967
|
|
|
964
|
-
The id of the customer payment source (i.e. credit card) that you want to use as the order's payment source
|
|
968
|
+
The id of the customer payment source (i.e. credit card) that you want to use as the order's payment source.
|
|
965
969
|
|
|
966
|
-
```
|
|
970
|
+
```sh-session
|
|
967
971
|
USAGE
|
|
968
972
|
$ commercelayer order:customer_payment_source_id [ID] -o <value> -v <value> [-u [-j -p]]
|
|
969
973
|
|
|
@@ -985,9 +989,9 @@ _See code: [src/commands/order/customer_payment_source_id.ts](https://github.com
|
|
|
985
989
|
|
|
986
990
|
### `commercelayer order:place ID`
|
|
987
991
|
|
|
988
|
-
Send this attribute if you want to place the order
|
|
992
|
+
Send this attribute if you want to place the order.
|
|
989
993
|
|
|
990
|
-
```
|
|
994
|
+
```sh-session
|
|
991
995
|
USAGE
|
|
992
996
|
$ commercelayer order:place [ID] -o <value> [-u [-j -p]]
|
|
993
997
|
|
|
@@ -1008,9 +1012,9 @@ _See code: [src/commands/order/place.ts](https://github.com/commercelayer/commer
|
|
|
1008
1012
|
|
|
1009
1013
|
### `commercelayer order:refresh ID`
|
|
1010
1014
|
|
|
1011
|
-
Send this attribute if you want to manually refresh the order
|
|
1015
|
+
Send this attribute if you want to manually refresh the order.
|
|
1012
1016
|
|
|
1013
|
-
```
|
|
1017
|
+
```sh-session
|
|
1014
1018
|
USAGE
|
|
1015
1019
|
$ commercelayer order:refresh [ID] -o <value> [-u [-j -p]]
|
|
1016
1020
|
|
|
@@ -1031,9 +1035,9 @@ _See code: [src/commands/order/refresh.ts](https://github.com/commercelayer/comm
|
|
|
1031
1035
|
|
|
1032
1036
|
### `commercelayer order:refund ID`
|
|
1033
1037
|
|
|
1034
|
-
Send this attribute if you want to refund a captured order
|
|
1038
|
+
Send this attribute if you want to refund a captured order.
|
|
1035
1039
|
|
|
1036
|
-
```
|
|
1040
|
+
```sh-session
|
|
1037
1041
|
USAGE
|
|
1038
1042
|
$ commercelayer order:refund [ID] -o <value> [-u [-j -p]]
|
|
1039
1043
|
|
|
@@ -1054,9 +1058,9 @@ _See code: [src/commands/order/refund.ts](https://github.com/commercelayer/comme
|
|
|
1054
1058
|
|
|
1055
1059
|
### `commercelayer order:save_billing_address_to_customer_address_book ID`
|
|
1056
1060
|
|
|
1057
|
-
Send this attribute if you want the order's billing address to be saved in the customer's address book as a customer address
|
|
1061
|
+
Send this attribute if you want the order's billing address to be saved in the customer's address book as a customer address.
|
|
1058
1062
|
|
|
1059
|
-
```
|
|
1063
|
+
```sh-session
|
|
1060
1064
|
USAGE
|
|
1061
1065
|
$ commercelayer order:save_billing_address_to_customer_address_book [ID] -o <value> [-u [-j -p]]
|
|
1062
1066
|
|
|
@@ -1078,9 +1082,9 @@ _See code: [src/commands/order/save_billing_address_to_customer_address_book.ts]
|
|
|
1078
1082
|
|
|
1079
1083
|
### `commercelayer order:save_payment_source_to_customer_wallet ID`
|
|
1080
1084
|
|
|
1081
|
-
Send this attribute if you want the order's payment source to be saved in the customer's wallet as a customer payment source
|
|
1085
|
+
Send this attribute if you want the order's payment source to be saved in the customer's wallet as a customer payment source.
|
|
1082
1086
|
|
|
1083
|
-
```
|
|
1087
|
+
```sh-session
|
|
1084
1088
|
USAGE
|
|
1085
1089
|
$ commercelayer order:save_payment_source_to_customer_wallet [ID] -o <value> [-u [-j -p]]
|
|
1086
1090
|
|
|
@@ -1102,9 +1106,9 @@ _See code: [src/commands/order/save_payment_source_to_customer_wallet.ts](https:
|
|
|
1102
1106
|
|
|
1103
1107
|
### `commercelayer order:save_shipping_address_to_customer_address_book ID`
|
|
1104
1108
|
|
|
1105
|
-
Send this attribute if you want the order's shipping address to be saved in the customer's address book as a customer address
|
|
1109
|
+
Send this attribute if you want the order's shipping address to be saved in the customer's address book as a customer address.
|
|
1106
1110
|
|
|
1107
|
-
```
|
|
1111
|
+
```sh-session
|
|
1108
1112
|
USAGE
|
|
1109
1113
|
$ commercelayer order:save_shipping_address_to_customer_address_book [ID] -o <value> [-u [-j -p]]
|
|
1110
1114
|
|
|
@@ -1126,9 +1130,9 @@ _See code: [src/commands/order/save_shipping_address_to_customer_address_book.ts
|
|
|
1126
1130
|
|
|
1127
1131
|
### `commercelayer order:shipping_address_clone_id ID`
|
|
1128
1132
|
|
|
1129
|
-
The id of the address that you want to clone to create the order's shipping address
|
|
1133
|
+
The id of the address that you want to clone to create the order's shipping address.
|
|
1130
1134
|
|
|
1131
|
-
```
|
|
1135
|
+
```sh-session
|
|
1132
1136
|
USAGE
|
|
1133
1137
|
$ commercelayer order:shipping_address_clone_id [ID] -o <value> -v <value> [-u [-j -p]]
|
|
1134
1138
|
|
|
@@ -1150,9 +1154,9 @@ _See code: [src/commands/order/shipping_address_clone_id.ts](https://github.com/
|
|
|
1150
1154
|
|
|
1151
1155
|
### `commercelayer order:shipping_address_same_as_billing ID`
|
|
1152
1156
|
|
|
1153
|
-
Send this attribute if you want the shipping address to be cloned from the order's billing address
|
|
1157
|
+
Send this attribute if you want the shipping address to be cloned from the order's billing address.
|
|
1154
1158
|
|
|
1155
|
-
```
|
|
1159
|
+
```sh-session
|
|
1156
1160
|
USAGE
|
|
1157
1161
|
$ commercelayer order:shipping_address_same_as_billing [ID] -o <value> [-u [-j -p]]
|
|
1158
1162
|
|
|
@@ -1173,9 +1177,9 @@ _See code: [src/commands/order/shipping_address_same_as_billing.ts](https://gith
|
|
|
1173
1177
|
|
|
1174
1178
|
### `commercelayer order:unarchive ID`
|
|
1175
1179
|
|
|
1176
|
-
Send this attribute if you want to unarchive the order
|
|
1180
|
+
Send this attribute if you want to unarchive the order.
|
|
1177
1181
|
|
|
1178
|
-
```
|
|
1182
|
+
```sh-session
|
|
1179
1183
|
USAGE
|
|
1180
1184
|
$ commercelayer order:unarchive [ID] -o <value> [-u [-j -p]]
|
|
1181
1185
|
|
|
@@ -1196,9 +1200,9 @@ _See code: [src/commands/order/unarchive.ts](https://github.com/commercelayer/co
|
|
|
1196
1200
|
|
|
1197
1201
|
### `commercelayer order:update_taxes ID`
|
|
1198
1202
|
|
|
1199
|
-
Send this attribute if you want to force tax calculation for this order (a tax calculator must be associated to the order's market)
|
|
1203
|
+
Send this attribute if you want to force tax calculation for this order (a tax calculator must be associated to the order's market).
|
|
1200
1204
|
|
|
1201
|
-
```
|
|
1205
|
+
```sh-session
|
|
1202
1206
|
USAGE
|
|
1203
1207
|
$ commercelayer order:update_taxes [ID] -o <value> [-u [-j -p]]
|
|
1204
1208
|
|
|
@@ -1222,7 +1226,7 @@ _See code: [src/commands/order/update_taxes.ts](https://github.com/commercelayer
|
|
|
1222
1226
|
|
|
1223
1227
|
Execute an action on a resource of type order_subscriptions.
|
|
1224
1228
|
|
|
1225
|
-
```
|
|
1229
|
+
```sh-session
|
|
1226
1230
|
USAGE
|
|
1227
1231
|
$ commercelayer order_subscription [ID] -o <value> [-u [-j -p]]
|
|
1228
1232
|
|
|
@@ -1243,9 +1247,9 @@ _See code: [src/commands/order_subscription/index.ts](https://github.com/commerc
|
|
|
1243
1247
|
|
|
1244
1248
|
### `commercelayer order_subscription:activate ID`
|
|
1245
1249
|
|
|
1246
|
-
Send this attribute if you want to mark this subscription as active
|
|
1250
|
+
Send this attribute if you want to mark this subscription as active.
|
|
1247
1251
|
|
|
1248
|
-
```
|
|
1252
|
+
```sh-session
|
|
1249
1253
|
USAGE
|
|
1250
1254
|
$ commercelayer order_subscription:activate [ID] -o <value> [-u [-j -p]]
|
|
1251
1255
|
|
|
@@ -1266,9 +1270,9 @@ _See code: [src/commands/order_subscription/activate.ts](https://github.com/comm
|
|
|
1266
1270
|
|
|
1267
1271
|
### `commercelayer order_subscription:cancel ID`
|
|
1268
1272
|
|
|
1269
|
-
Send this attribute if you want to mark this subscription as cancelled
|
|
1273
|
+
Send this attribute if you want to mark this subscription as cancelled.
|
|
1270
1274
|
|
|
1271
|
-
```
|
|
1275
|
+
```sh-session
|
|
1272
1276
|
USAGE
|
|
1273
1277
|
$ commercelayer order_subscription:cancel [ID] -o <value> [-u [-j -p]]
|
|
1274
1278
|
|
|
@@ -1289,9 +1293,9 @@ _See code: [src/commands/order_subscription/cancel.ts](https://github.com/commer
|
|
|
1289
1293
|
|
|
1290
1294
|
### `commercelayer order_subscription:deactivate ID`
|
|
1291
1295
|
|
|
1292
|
-
Send this attribute if you want to mark this subscription as inactive
|
|
1296
|
+
Send this attribute if you want to mark this subscription as inactive.
|
|
1293
1297
|
|
|
1294
|
-
```
|
|
1298
|
+
```sh-session
|
|
1295
1299
|
USAGE
|
|
1296
1300
|
$ commercelayer order_subscription:deactivate [ID] -o <value> [-u [-j -p]]
|
|
1297
1301
|
|
|
@@ -1314,7 +1318,7 @@ _See code: [src/commands/order_subscription/deactivate.ts](https://github.com/co
|
|
|
1314
1318
|
|
|
1315
1319
|
Execute an action on a resource of type returns.
|
|
1316
1320
|
|
|
1317
|
-
```
|
|
1321
|
+
```sh-session
|
|
1318
1322
|
USAGE
|
|
1319
1323
|
$ commercelayer return [ID] -o <value> [-u [-j -p]]
|
|
1320
1324
|
|
|
@@ -1335,9 +1339,9 @@ _See code: [src/commands/return/index.ts](https://github.com/commercelayer/comme
|
|
|
1335
1339
|
|
|
1336
1340
|
### `commercelayer return:approve ID`
|
|
1337
1341
|
|
|
1338
|
-
Send this attribute if you want to mark this return as approved
|
|
1342
|
+
Send this attribute if you want to mark this return as approved.
|
|
1339
1343
|
|
|
1340
|
-
```
|
|
1344
|
+
```sh-session
|
|
1341
1345
|
USAGE
|
|
1342
1346
|
$ commercelayer return:approve [ID] -o <value> [-u [-j -p]]
|
|
1343
1347
|
|
|
@@ -1358,9 +1362,9 @@ _See code: [src/commands/return/approve.ts](https://github.com/commercelayer/com
|
|
|
1358
1362
|
|
|
1359
1363
|
### `commercelayer return:archive ID`
|
|
1360
1364
|
|
|
1361
|
-
Send this attribute if you want to archive the return
|
|
1365
|
+
Send this attribute if you want to archive the return.
|
|
1362
1366
|
|
|
1363
|
-
```
|
|
1367
|
+
```sh-session
|
|
1364
1368
|
USAGE
|
|
1365
1369
|
$ commercelayer return:archive [ID] -o <value> [-u [-j -p]]
|
|
1366
1370
|
|
|
@@ -1381,9 +1385,9 @@ _See code: [src/commands/return/archive.ts](https://github.com/commercelayer/com
|
|
|
1381
1385
|
|
|
1382
1386
|
### `commercelayer return:cancel ID`
|
|
1383
1387
|
|
|
1384
|
-
Send this attribute if you want to mark this return as cancelled
|
|
1388
|
+
Send this attribute if you want to mark this return as cancelled.
|
|
1385
1389
|
|
|
1386
|
-
```
|
|
1390
|
+
```sh-session
|
|
1387
1391
|
USAGE
|
|
1388
1392
|
$ commercelayer return:cancel [ID] -o <value> [-u [-j -p]]
|
|
1389
1393
|
|
|
@@ -1404,9 +1408,9 @@ _See code: [src/commands/return/cancel.ts](https://github.com/commercelayer/comm
|
|
|
1404
1408
|
|
|
1405
1409
|
### `commercelayer return:receive ID`
|
|
1406
1410
|
|
|
1407
|
-
Send this attribute if you want to mark this return as received
|
|
1411
|
+
Send this attribute if you want to mark this return as received.
|
|
1408
1412
|
|
|
1409
|
-
```
|
|
1413
|
+
```sh-session
|
|
1410
1414
|
USAGE
|
|
1411
1415
|
$ commercelayer return:receive [ID] -o <value> [-u [-j -p]]
|
|
1412
1416
|
|
|
@@ -1427,9 +1431,9 @@ _See code: [src/commands/return/receive.ts](https://github.com/commercelayer/com
|
|
|
1427
1431
|
|
|
1428
1432
|
### `commercelayer return:reject ID`
|
|
1429
1433
|
|
|
1430
|
-
Send this attribute if you want to mark this return as rejected
|
|
1434
|
+
Send this attribute if you want to mark this return as rejected.
|
|
1431
1435
|
|
|
1432
|
-
```
|
|
1436
|
+
```sh-session
|
|
1433
1437
|
USAGE
|
|
1434
1438
|
$ commercelayer return:reject [ID] -o <value> [-u [-j -p]]
|
|
1435
1439
|
|
|
@@ -1450,9 +1454,9 @@ _See code: [src/commands/return/reject.ts](https://github.com/commercelayer/comm
|
|
|
1450
1454
|
|
|
1451
1455
|
### `commercelayer return:request ID`
|
|
1452
1456
|
|
|
1453
|
-
Send this attribute if you want to activate this return
|
|
1457
|
+
Send this attribute if you want to activate this return.
|
|
1454
1458
|
|
|
1455
|
-
```
|
|
1459
|
+
```sh-session
|
|
1456
1460
|
USAGE
|
|
1457
1461
|
$ commercelayer return:request [ID] -o <value> [-u [-j -p]]
|
|
1458
1462
|
|
|
@@ -1473,9 +1477,9 @@ _See code: [src/commands/return/request.ts](https://github.com/commercelayer/com
|
|
|
1473
1477
|
|
|
1474
1478
|
### `commercelayer return:restock ID`
|
|
1475
1479
|
|
|
1476
|
-
Send this attribute if you want to restock all of the return line items
|
|
1480
|
+
Send this attribute if you want to restock all of the return line items.
|
|
1477
1481
|
|
|
1478
|
-
```
|
|
1482
|
+
```sh-session
|
|
1479
1483
|
USAGE
|
|
1480
1484
|
$ commercelayer return:restock [ID] -o <value> [-u [-j -p]]
|
|
1481
1485
|
|
|
@@ -1496,9 +1500,9 @@ _See code: [src/commands/return/restock.ts](https://github.com/commercelayer/com
|
|
|
1496
1500
|
|
|
1497
1501
|
### `commercelayer return:ship ID`
|
|
1498
1502
|
|
|
1499
|
-
Send this attribute if you want to mark this return as shipped
|
|
1503
|
+
Send this attribute if you want to mark this return as shipped.
|
|
1500
1504
|
|
|
1501
|
-
```
|
|
1505
|
+
```sh-session
|
|
1502
1506
|
USAGE
|
|
1503
1507
|
$ commercelayer return:ship [ID] -o <value> [-u [-j -p]]
|
|
1504
1508
|
|
|
@@ -1519,9 +1523,9 @@ _See code: [src/commands/return/ship.ts](https://github.com/commercelayer/commer
|
|
|
1519
1523
|
|
|
1520
1524
|
### `commercelayer return:unarchive ID`
|
|
1521
1525
|
|
|
1522
|
-
Send this attribute if you want to unarchive the return
|
|
1526
|
+
Send this attribute if you want to unarchive the return.
|
|
1523
1527
|
|
|
1524
|
-
```
|
|
1528
|
+
```sh-session
|
|
1525
1529
|
USAGE
|
|
1526
1530
|
$ commercelayer return:unarchive [ID] -o <value> [-u [-j -p]]
|
|
1527
1531
|
|
|
@@ -1544,7 +1548,7 @@ _See code: [src/commands/return/unarchive.ts](https://github.com/commercelayer/c
|
|
|
1544
1548
|
|
|
1545
1549
|
Execute an action on a resource of type return_line_items.
|
|
1546
1550
|
|
|
1547
|
-
```
|
|
1551
|
+
```sh-session
|
|
1548
1552
|
USAGE
|
|
1549
1553
|
$ commercelayer return_line_item [ID] -o <value> [-u [-j -p]]
|
|
1550
1554
|
|
|
@@ -1565,9 +1569,9 @@ _See code: [src/commands/return_line_item/index.ts](https://github.com/commercel
|
|
|
1565
1569
|
|
|
1566
1570
|
### `commercelayer return_line_item:restock ID`
|
|
1567
1571
|
|
|
1568
|
-
Send this attribute if you want to restock the line item
|
|
1572
|
+
Send this attribute if you want to restock the line item.
|
|
1569
1573
|
|
|
1570
|
-
```
|
|
1574
|
+
```sh-session
|
|
1571
1575
|
USAGE
|
|
1572
1576
|
$ commercelayer return_line_item:restock [ID] -o <value> [-u [-j -p]]
|
|
1573
1577
|
|
|
@@ -1590,7 +1594,7 @@ _See code: [src/commands/return_line_item/restock.ts](https://github.com/commerc
|
|
|
1590
1594
|
|
|
1591
1595
|
Execute an action on a resource of type shipments.
|
|
1592
1596
|
|
|
1593
|
-
```
|
|
1597
|
+
```sh-session
|
|
1594
1598
|
USAGE
|
|
1595
1599
|
$ commercelayer shipment [ID] -o <value> [-u [-j -p]]
|
|
1596
1600
|
|
|
@@ -1611,9 +1615,9 @@ _See code: [src/commands/shipment/index.ts](https://github.com/commercelayer/com
|
|
|
1611
1615
|
|
|
1612
1616
|
### `commercelayer shipment:get_rates ID`
|
|
1613
1617
|
|
|
1614
|
-
Send this attribute if you want get the shipping rates from the associated carrier accounts
|
|
1618
|
+
Send this attribute if you want get the shipping rates from the associated carrier accounts.
|
|
1615
1619
|
|
|
1616
|
-
```
|
|
1620
|
+
```sh-session
|
|
1617
1621
|
USAGE
|
|
1618
1622
|
$ commercelayer shipment:get_rates [ID] -o <value> [-u [-j -p]]
|
|
1619
1623
|
|
|
@@ -1634,9 +1638,9 @@ _See code: [src/commands/shipment/get_rates.ts](https://github.com/commercelayer
|
|
|
1634
1638
|
|
|
1635
1639
|
### `commercelayer shipment:on_hold ID`
|
|
1636
1640
|
|
|
1637
|
-
Send this attribute if you want to put this shipment on hold
|
|
1641
|
+
Send this attribute if you want to put this shipment on hold.
|
|
1638
1642
|
|
|
1639
|
-
```
|
|
1643
|
+
```sh-session
|
|
1640
1644
|
USAGE
|
|
1641
1645
|
$ commercelayer shipment:on_hold [ID] -o <value> [-u [-j -p]]
|
|
1642
1646
|
|
|
@@ -1657,9 +1661,9 @@ _See code: [src/commands/shipment/on_hold.ts](https://github.com/commercelayer/c
|
|
|
1657
1661
|
|
|
1658
1662
|
### `commercelayer shipment:packing ID`
|
|
1659
1663
|
|
|
1660
|
-
Send this attribute if you want to start packing this shipment
|
|
1664
|
+
Send this attribute if you want to start packing this shipment.
|
|
1661
1665
|
|
|
1662
|
-
```
|
|
1666
|
+
```sh-session
|
|
1663
1667
|
USAGE
|
|
1664
1668
|
$ commercelayer shipment:packing [ID] -o <value> [-u [-j -p]]
|
|
1665
1669
|
|
|
@@ -1680,9 +1684,9 @@ _See code: [src/commands/shipment/packing.ts](https://github.com/commercelayer/c
|
|
|
1680
1684
|
|
|
1681
1685
|
### `commercelayer shipment:picking ID`
|
|
1682
1686
|
|
|
1683
|
-
Send this attribute if you want to start picking this shipment
|
|
1687
|
+
Send this attribute if you want to start picking this shipment.
|
|
1684
1688
|
|
|
1685
|
-
```
|
|
1689
|
+
```sh-session
|
|
1686
1690
|
USAGE
|
|
1687
1691
|
$ commercelayer shipment:picking [ID] -o <value> [-u [-j -p]]
|
|
1688
1692
|
|
|
@@ -1703,9 +1707,9 @@ _See code: [src/commands/shipment/picking.ts](https://github.com/commercelayer/c
|
|
|
1703
1707
|
|
|
1704
1708
|
### `commercelayer shipment:purchase ID`
|
|
1705
1709
|
|
|
1706
|
-
Send this attribute if you want to purchase this shipment with the selected rate
|
|
1710
|
+
Send this attribute if you want to purchase this shipment with the selected rate.
|
|
1707
1711
|
|
|
1708
|
-
```
|
|
1712
|
+
```sh-session
|
|
1709
1713
|
USAGE
|
|
1710
1714
|
$ commercelayer shipment:purchase [ID] -o <value> [-u [-j -p]]
|
|
1711
1715
|
|
|
@@ -1726,9 +1730,9 @@ _See code: [src/commands/shipment/purchase.ts](https://github.com/commercelayer/
|
|
|
1726
1730
|
|
|
1727
1731
|
### `commercelayer shipment:ready_to_ship ID`
|
|
1728
1732
|
|
|
1729
|
-
Send this attribute if you want to mark this shipment as ready to ship
|
|
1733
|
+
Send this attribute if you want to mark this shipment as ready to ship.
|
|
1730
1734
|
|
|
1731
|
-
```
|
|
1735
|
+
```sh-session
|
|
1732
1736
|
USAGE
|
|
1733
1737
|
$ commercelayer shipment:ready_to_ship [ID] -o <value> [-u [-j -p]]
|
|
1734
1738
|
|
|
@@ -1749,9 +1753,9 @@ _See code: [src/commands/shipment/ready_to_ship.ts](https://github.com/commercel
|
|
|
1749
1753
|
|
|
1750
1754
|
### `commercelayer shipment:ship ID`
|
|
1751
1755
|
|
|
1752
|
-
Send this attribute if you want to mark this shipment as shipped
|
|
1756
|
+
Send this attribute if you want to mark this shipment as shipped.
|
|
1753
1757
|
|
|
1754
|
-
```
|
|
1758
|
+
```sh-session
|
|
1755
1759
|
USAGE
|
|
1756
1760
|
$ commercelayer shipment:ship [ID] -o <value> [-u [-j -p]]
|
|
1757
1761
|
|
|
@@ -1774,7 +1778,7 @@ _See code: [src/commands/shipment/ship.ts](https://github.com/commercelayer/comm
|
|
|
1774
1778
|
|
|
1775
1779
|
Execute an action on a resource of type stock_transfers.
|
|
1776
1780
|
|
|
1777
|
-
```
|
|
1781
|
+
```sh-session
|
|
1778
1782
|
USAGE
|
|
1779
1783
|
$ commercelayer stock_transfer [ID] -o <value> [-u [-j -p]]
|
|
1780
1784
|
|
|
@@ -1795,9 +1799,9 @@ _See code: [src/commands/stock_transfer/index.ts](https://github.com/commercelay
|
|
|
1795
1799
|
|
|
1796
1800
|
### `commercelayer stock_transfer:cancel ID`
|
|
1797
1801
|
|
|
1798
|
-
Send this attribute if you want to cancel this stock transfer
|
|
1802
|
+
Send this attribute if you want to cancel this stock transfer.
|
|
1799
1803
|
|
|
1800
|
-
```
|
|
1804
|
+
```sh-session
|
|
1801
1805
|
USAGE
|
|
1802
1806
|
$ commercelayer stock_transfer:cancel [ID] -o <value> [-u [-j -p]]
|
|
1803
1807
|
|
|
@@ -1818,9 +1822,9 @@ _See code: [src/commands/stock_transfer/cancel.ts](https://github.com/commercela
|
|
|
1818
1822
|
|
|
1819
1823
|
### `commercelayer stock_transfer:complete ID`
|
|
1820
1824
|
|
|
1821
|
-
Send this attribute if you want to complete this stock transfer
|
|
1825
|
+
Send this attribute if you want to complete this stock transfer.
|
|
1822
1826
|
|
|
1823
|
-
```
|
|
1827
|
+
```sh-session
|
|
1824
1828
|
USAGE
|
|
1825
1829
|
$ commercelayer stock_transfer:complete [ID] -o <value> [-u [-j -p]]
|
|
1826
1830
|
|
|
@@ -1841,9 +1845,9 @@ _See code: [src/commands/stock_transfer/complete.ts](https://github.com/commerce
|
|
|
1841
1845
|
|
|
1842
1846
|
### `commercelayer stock_transfer:in_transit ID`
|
|
1843
1847
|
|
|
1844
|
-
Send this attribute if you want to mark this stock transfer as in transit
|
|
1848
|
+
Send this attribute if you want to mark this stock transfer as in transit.
|
|
1845
1849
|
|
|
1846
|
-
```
|
|
1850
|
+
```sh-session
|
|
1847
1851
|
USAGE
|
|
1848
1852
|
$ commercelayer stock_transfer:in_transit [ID] -o <value> [-u [-j -p]]
|
|
1849
1853
|
|
|
@@ -1864,9 +1868,9 @@ _See code: [src/commands/stock_transfer/in_transit.ts](https://github.com/commer
|
|
|
1864
1868
|
|
|
1865
1869
|
### `commercelayer stock_transfer:picking ID`
|
|
1866
1870
|
|
|
1867
|
-
Send this attribute if you want to start picking this stock transfer
|
|
1871
|
+
Send this attribute if you want to start picking this stock transfer.
|
|
1868
1872
|
|
|
1869
|
-
```
|
|
1873
|
+
```sh-session
|
|
1870
1874
|
USAGE
|
|
1871
1875
|
$ commercelayer stock_transfer:picking [ID] -o <value> [-u [-j -p]]
|
|
1872
1876
|
|
|
@@ -1887,9 +1891,9 @@ _See code: [src/commands/stock_transfer/picking.ts](https://github.com/commercel
|
|
|
1887
1891
|
|
|
1888
1892
|
### `commercelayer stock_transfer:upcoming ID`
|
|
1889
1893
|
|
|
1890
|
-
Send this attribute if you want to mark this stock transfer as upcoming
|
|
1894
|
+
Send this attribute if you want to mark this stock transfer as upcoming.
|
|
1891
1895
|
|
|
1892
|
-
```
|
|
1896
|
+
```sh-session
|
|
1893
1897
|
USAGE
|
|
1894
1898
|
$ commercelayer stock_transfer:upcoming [ID] -o <value> [-u [-j -p]]
|
|
1895
1899
|
|
|
@@ -1912,7 +1916,7 @@ _See code: [src/commands/stock_transfer/upcoming.ts](https://github.com/commerce
|
|
|
1912
1916
|
|
|
1913
1917
|
Execute an action on a resource of type stripe_payments.
|
|
1914
1918
|
|
|
1915
|
-
```
|
|
1919
|
+
```sh-session
|
|
1916
1920
|
USAGE
|
|
1917
1921
|
$ commercelayer stripe_payment [ID] -o <value> [-u [-j -p]]
|
|
1918
1922
|
|
|
@@ -1933,9 +1937,9 @@ _See code: [src/commands/stripe_payment/index.ts](https://github.com/commercelay
|
|
|
1933
1937
|
|
|
1934
1938
|
### `commercelayer stripe_payment:refresh ID`
|
|
1935
1939
|
|
|
1936
|
-
Send this attribute if you want to refresh the payment status, can be used as webhooks fallback logic
|
|
1940
|
+
Send this attribute if you want to refresh the payment status, can be used as webhooks fallback logic.
|
|
1937
1941
|
|
|
1938
|
-
```
|
|
1942
|
+
```sh-session
|
|
1939
1943
|
USAGE
|
|
1940
1944
|
$ commercelayer stripe_payment:refresh [ID] -o <value> [-u [-j -p]]
|
|
1941
1945
|
|
|
@@ -1958,7 +1962,7 @@ _See code: [src/commands/stripe_payment/refresh.ts](https://github.com/commercel
|
|
|
1958
1962
|
|
|
1959
1963
|
Execute an action on a resource of type webhooks.
|
|
1960
1964
|
|
|
1961
|
-
```
|
|
1965
|
+
```sh-session
|
|
1962
1966
|
USAGE
|
|
1963
1967
|
$ commercelayer webhook [ID] -o <value> [-u [-j -p]]
|
|
1964
1968
|
|
|
@@ -1979,9 +1983,9 @@ _See code: [src/commands/webhook/index.ts](https://github.com/commercelayer/comm
|
|
|
1979
1983
|
|
|
1980
1984
|
### `commercelayer webhook:reset_circuit ID`
|
|
1981
1985
|
|
|
1982
|
-
Send this attribute if you want to reset the circuit breaker associated to this webhook to 'closed' state and zero failures count
|
|
1986
|
+
Send this attribute if you want to reset the circuit breaker associated to this webhook to 'closed' state and zero failures count.
|
|
1983
1987
|
|
|
1984
|
-
```
|
|
1988
|
+
```sh-session
|
|
1985
1989
|
USAGE
|
|
1986
1990
|
$ commercelayer webhook:reset_circuit [ID] -o <value> [-u [-j -p]]
|
|
1987
1991
|
|