@commercelayer/cli-plugin-triggers 3.8.0 → 3.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +445 -498
- package/lib/base.js +8 -3
- package/lib/commands/satispay_payment/index.d.ts +9 -0
- package/lib/commands/satispay_payment/index.js +38 -0
- package/lib/commands/satispay_payment/refresh.d.ts +9 -0
- package/lib/commands/satispay_payment/refresh.js +21 -0
- package/lib/triggers/satispay_payments.d.ts +5 -0
- package/lib/triggers/satispay_payments.js +10 -0
- package/oclif.manifest.json +244 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -108,6 +108,8 @@ $ commercelayer plugins:install triggers
|
|
|
108
108
|
* [`commercelayer return:unarchive ID`](#commercelayer-returnunarchive-id)
|
|
109
109
|
* [`commercelayer return_line_item ID`](#commercelayer-return_line_item-id)
|
|
110
110
|
* [`commercelayer return_line_item:restock ID`](#commercelayer-return_line_itemrestock-id)
|
|
111
|
+
* [`commercelayer satispay_payment ID`](#commercelayer-satispay_payment-id)
|
|
112
|
+
* [`commercelayer satispay_payment:refresh ID`](#commercelayer-satispay_paymentrefresh-id)
|
|
111
113
|
* [`commercelayer shipment ID`](#commercelayer-shipment-id)
|
|
112
114
|
* [`commercelayer shipment:get_rates ID`](#commercelayer-shipmentget_rates-id)
|
|
113
115
|
* [`commercelayer shipment:on_hold ID`](#commercelayer-shipmenton_hold-id)
|
|
@@ -136,16 +138,15 @@ Execute an action on a resource of type adyen_payments.
|
|
|
136
138
|
|
|
137
139
|
```sh-session
|
|
138
140
|
USAGE
|
|
139
|
-
$ commercelayer adyen_payment ID
|
|
141
|
+
$ commercelayer adyen_payment ID [-u [-j -p]]
|
|
140
142
|
|
|
141
143
|
ARGUMENTS
|
|
142
144
|
ID the unique id of the resource
|
|
143
145
|
|
|
144
146
|
FLAGS
|
|
145
|
-
-j, --json
|
|
146
|
-
-
|
|
147
|
-
-
|
|
148
|
-
-u, --unformatted print JSON output without indentation
|
|
147
|
+
-j, --json print result in JSON format
|
|
148
|
+
-p, --print print out the modified resource
|
|
149
|
+
-u, --unformatted print JSON output without indentation
|
|
149
150
|
|
|
150
151
|
DESCRIPTION
|
|
151
152
|
execute an action on a resource of type adyen_payments
|
|
@@ -159,16 +160,15 @@ Send this attribute if you want to send additional details the payment request.
|
|
|
159
160
|
|
|
160
161
|
```sh-session
|
|
161
162
|
USAGE
|
|
162
|
-
$ commercelayer adyen_payment:details ID
|
|
163
|
+
$ commercelayer adyen_payment:details ID [-u [-j -p]]
|
|
163
164
|
|
|
164
165
|
ARGUMENTS
|
|
165
166
|
ID the unique id of the resource
|
|
166
167
|
|
|
167
168
|
FLAGS
|
|
168
|
-
-j, --json
|
|
169
|
-
-
|
|
170
|
-
-
|
|
171
|
-
-u, --unformatted print JSON output without indentation
|
|
169
|
+
-j, --json print result in JSON format
|
|
170
|
+
-p, --print print out the modified resource
|
|
171
|
+
-u, --unformatted print JSON output without indentation
|
|
172
172
|
|
|
173
173
|
DESCRIPTION
|
|
174
174
|
Send this attribute if you want to send additional details the payment request.
|
|
@@ -182,16 +182,15 @@ Execute an action on a resource of type authorizations.
|
|
|
182
182
|
|
|
183
183
|
```sh-session
|
|
184
184
|
USAGE
|
|
185
|
-
$ commercelayer authorization ID
|
|
185
|
+
$ commercelayer authorization ID [-u [-j -p]]
|
|
186
186
|
|
|
187
187
|
ARGUMENTS
|
|
188
188
|
ID the unique id of the resource
|
|
189
189
|
|
|
190
190
|
FLAGS
|
|
191
|
-
-j, --json
|
|
192
|
-
-
|
|
193
|
-
-
|
|
194
|
-
-u, --unformatted print JSON output without indentation
|
|
191
|
+
-j, --json print result in JSON format
|
|
192
|
+
-p, --print print out the modified resource
|
|
193
|
+
-u, --unformatted print JSON output without indentation
|
|
195
194
|
|
|
196
195
|
DESCRIPTION
|
|
197
196
|
execute an action on a resource of type authorizations
|
|
@@ -205,16 +204,15 @@ Send this attribute if you want to create a capture for this authorization.
|
|
|
205
204
|
|
|
206
205
|
```sh-session
|
|
207
206
|
USAGE
|
|
208
|
-
$ commercelayer authorization:capture ID
|
|
207
|
+
$ commercelayer authorization:capture ID [-u [-j -p]]
|
|
209
208
|
|
|
210
209
|
ARGUMENTS
|
|
211
210
|
ID the unique id of the resource
|
|
212
211
|
|
|
213
212
|
FLAGS
|
|
214
|
-
-j, --json
|
|
215
|
-
-
|
|
216
|
-
-
|
|
217
|
-
-u, --unformatted print JSON output without indentation
|
|
213
|
+
-j, --json print result in JSON format
|
|
214
|
+
-p, --print print out the modified resource
|
|
215
|
+
-u, --unformatted print JSON output without indentation
|
|
218
216
|
|
|
219
217
|
DESCRIPTION
|
|
220
218
|
Send this attribute if you want to create a capture for this authorization.
|
|
@@ -228,16 +226,15 @@ The associated capture amount, in cents.
|
|
|
228
226
|
|
|
229
227
|
```sh-session
|
|
230
228
|
USAGE
|
|
231
|
-
$ commercelayer authorization:capture_amount_cents ID
|
|
229
|
+
$ commercelayer authorization:capture_amount_cents ID [-u [-j -p]]
|
|
232
230
|
|
|
233
231
|
ARGUMENTS
|
|
234
232
|
ID the unique id of the resource
|
|
235
233
|
|
|
236
234
|
FLAGS
|
|
237
|
-
-j, --json
|
|
238
|
-
-
|
|
239
|
-
-
|
|
240
|
-
-u, --unformatted print JSON output without indentation
|
|
235
|
+
-j, --json print result in JSON format
|
|
236
|
+
-p, --print print out the modified resource
|
|
237
|
+
-u, --unformatted print JSON output without indentation
|
|
241
238
|
|
|
242
239
|
DESCRIPTION
|
|
243
240
|
The associated capture amount, in cents.
|
|
@@ -251,16 +248,15 @@ Send this attribute if you want to create a void for this authorization.
|
|
|
251
248
|
|
|
252
249
|
```sh-session
|
|
253
250
|
USAGE
|
|
254
|
-
$ commercelayer authorization:void ID
|
|
251
|
+
$ commercelayer authorization:void ID [-u [-j -p]]
|
|
255
252
|
|
|
256
253
|
ARGUMENTS
|
|
257
254
|
ID the unique id of the resource
|
|
258
255
|
|
|
259
256
|
FLAGS
|
|
260
|
-
-j, --json
|
|
261
|
-
-
|
|
262
|
-
-
|
|
263
|
-
-u, --unformatted print JSON output without indentation
|
|
257
|
+
-j, --json print result in JSON format
|
|
258
|
+
-p, --print print out the modified resource
|
|
259
|
+
-u, --unformatted print JSON output without indentation
|
|
264
260
|
|
|
265
261
|
DESCRIPTION
|
|
266
262
|
Send this attribute if you want to create a void for this authorization.
|
|
@@ -274,16 +270,15 @@ Execute an action on a resource of type axerve_payments.
|
|
|
274
270
|
|
|
275
271
|
```sh-session
|
|
276
272
|
USAGE
|
|
277
|
-
$ commercelayer axerve_payment ID
|
|
273
|
+
$ commercelayer axerve_payment ID [-u [-j -p]]
|
|
278
274
|
|
|
279
275
|
ARGUMENTS
|
|
280
276
|
ID the unique id of the resource
|
|
281
277
|
|
|
282
278
|
FLAGS
|
|
283
|
-
-j, --json
|
|
284
|
-
-
|
|
285
|
-
-
|
|
286
|
-
-u, --unformatted print JSON output without indentation
|
|
279
|
+
-j, --json print result in JSON format
|
|
280
|
+
-p, --print print out the modified resource
|
|
281
|
+
-u, --unformatted print JSON output without indentation
|
|
287
282
|
|
|
288
283
|
DESCRIPTION
|
|
289
284
|
execute an action on a resource of type axerve_payments
|
|
@@ -297,16 +292,15 @@ Send this attribute if you want to update the payment with fresh order data.
|
|
|
297
292
|
|
|
298
293
|
```sh-session
|
|
299
294
|
USAGE
|
|
300
|
-
$ commercelayer axerve_payment:update ID
|
|
295
|
+
$ commercelayer axerve_payment:update ID [-u [-j -p]]
|
|
301
296
|
|
|
302
297
|
ARGUMENTS
|
|
303
298
|
ID the unique id of the resource
|
|
304
299
|
|
|
305
300
|
FLAGS
|
|
306
|
-
-j, --json
|
|
307
|
-
-
|
|
308
|
-
-
|
|
309
|
-
-u, --unformatted print JSON output without indentation
|
|
301
|
+
-j, --json print result in JSON format
|
|
302
|
+
-p, --print print out the modified resource
|
|
303
|
+
-u, --unformatted print JSON output without indentation
|
|
310
304
|
|
|
311
305
|
DESCRIPTION
|
|
312
306
|
Send this attribute if you want to update the payment with fresh order data.
|
|
@@ -320,16 +314,15 @@ Execute an action on a resource of type bundles.
|
|
|
320
314
|
|
|
321
315
|
```sh-session
|
|
322
316
|
USAGE
|
|
323
|
-
$ commercelayer bundle ID
|
|
317
|
+
$ commercelayer bundle ID [-u [-j -p]]
|
|
324
318
|
|
|
325
319
|
ARGUMENTS
|
|
326
320
|
ID the unique id of the resource
|
|
327
321
|
|
|
328
322
|
FLAGS
|
|
329
|
-
-j, --json
|
|
330
|
-
-
|
|
331
|
-
-
|
|
332
|
-
-u, --unformatted print JSON output without indentation
|
|
323
|
+
-j, --json print result in JSON format
|
|
324
|
+
-p, --print print out the modified resource
|
|
325
|
+
-u, --unformatted print JSON output without indentation
|
|
333
326
|
|
|
334
327
|
DESCRIPTION
|
|
335
328
|
execute an action on a resource of type bundles
|
|
@@ -343,16 +336,15 @@ Send this attribute if you want to compute the compare_at_amount_cents as the su
|
|
|
343
336
|
|
|
344
337
|
```sh-session
|
|
345
338
|
USAGE
|
|
346
|
-
$ commercelayer bundle:compute_compare_at_amount ID
|
|
339
|
+
$ commercelayer bundle:compute_compare_at_amount ID [-u [-j -p]]
|
|
347
340
|
|
|
348
341
|
ARGUMENTS
|
|
349
342
|
ID the unique id of the resource
|
|
350
343
|
|
|
351
344
|
FLAGS
|
|
352
|
-
-j, --json
|
|
353
|
-
-
|
|
354
|
-
-
|
|
355
|
-
-u, --unformatted print JSON output without indentation
|
|
345
|
+
-j, --json print result in JSON format
|
|
346
|
+
-p, --print print out the modified resource
|
|
347
|
+
-u, --unformatted print JSON output without indentation
|
|
356
348
|
|
|
357
349
|
DESCRIPTION
|
|
358
350
|
Send this attribute if you want to compute the compare_at_amount_cents as the sum of the prices of the bundle SKUs for
|
|
@@ -367,16 +359,15 @@ Send this attribute if you want to compute the price_amount_cents as the sum of
|
|
|
367
359
|
|
|
368
360
|
```sh-session
|
|
369
361
|
USAGE
|
|
370
|
-
$ commercelayer bundle:compute_price_amount ID
|
|
362
|
+
$ commercelayer bundle:compute_price_amount ID [-u [-j -p]]
|
|
371
363
|
|
|
372
364
|
ARGUMENTS
|
|
373
365
|
ID the unique id of the resource
|
|
374
366
|
|
|
375
367
|
FLAGS
|
|
376
|
-
-j, --json
|
|
377
|
-
-
|
|
378
|
-
-
|
|
379
|
-
-u, --unformatted print JSON output without indentation
|
|
368
|
+
-j, --json print result in JSON format
|
|
369
|
+
-p, --print print out the modified resource
|
|
370
|
+
-u, --unformatted print JSON output without indentation
|
|
380
371
|
|
|
381
372
|
DESCRIPTION
|
|
382
373
|
Send this attribute if you want to compute the price_amount_cents as the sum of the prices of the bundle SKUs for the
|
|
@@ -391,16 +382,15 @@ Execute an action on a resource of type captures.
|
|
|
391
382
|
|
|
392
383
|
```sh-session
|
|
393
384
|
USAGE
|
|
394
|
-
$ commercelayer capture ID
|
|
385
|
+
$ commercelayer capture ID [-u [-j -p]]
|
|
395
386
|
|
|
396
387
|
ARGUMENTS
|
|
397
388
|
ID the unique id of the resource
|
|
398
389
|
|
|
399
390
|
FLAGS
|
|
400
|
-
-j, --json
|
|
401
|
-
-
|
|
402
|
-
-
|
|
403
|
-
-u, --unformatted print JSON output without indentation
|
|
391
|
+
-j, --json print result in JSON format
|
|
392
|
+
-p, --print print out the modified resource
|
|
393
|
+
-u, --unformatted print JSON output without indentation
|
|
404
394
|
|
|
405
395
|
DESCRIPTION
|
|
406
396
|
execute an action on a resource of type captures
|
|
@@ -414,16 +404,15 @@ Send this attribute if you want to create a refund for this capture.
|
|
|
414
404
|
|
|
415
405
|
```sh-session
|
|
416
406
|
USAGE
|
|
417
|
-
$ commercelayer capture:refund ID
|
|
407
|
+
$ commercelayer capture:refund ID [-u [-j -p]]
|
|
418
408
|
|
|
419
409
|
ARGUMENTS
|
|
420
410
|
ID the unique id of the resource
|
|
421
411
|
|
|
422
412
|
FLAGS
|
|
423
|
-
-j, --json
|
|
424
|
-
-
|
|
425
|
-
-
|
|
426
|
-
-u, --unformatted print JSON output without indentation
|
|
413
|
+
-j, --json print result in JSON format
|
|
414
|
+
-p, --print print out the modified resource
|
|
415
|
+
-u, --unformatted print JSON output without indentation
|
|
427
416
|
|
|
428
417
|
DESCRIPTION
|
|
429
418
|
Send this attribute if you want to create a refund for this capture.
|
|
@@ -437,16 +426,15 @@ The associated refund amount, in cents.
|
|
|
437
426
|
|
|
438
427
|
```sh-session
|
|
439
428
|
USAGE
|
|
440
|
-
$ commercelayer capture:refund_amount_cents ID
|
|
429
|
+
$ commercelayer capture:refund_amount_cents ID [-u [-j -p]]
|
|
441
430
|
|
|
442
431
|
ARGUMENTS
|
|
443
432
|
ID the unique id of the resource
|
|
444
433
|
|
|
445
434
|
FLAGS
|
|
446
|
-
-j, --json
|
|
447
|
-
-
|
|
448
|
-
-
|
|
449
|
-
-u, --unformatted print JSON output without indentation
|
|
435
|
+
-j, --json print result in JSON format
|
|
436
|
+
-p, --print print out the modified resource
|
|
437
|
+
-u, --unformatted print JSON output without indentation
|
|
450
438
|
|
|
451
439
|
DESCRIPTION
|
|
452
440
|
The associated refund amount, in cents.
|
|
@@ -460,16 +448,15 @@ Execute an action on a resource of type checkout_com_payments.
|
|
|
460
448
|
|
|
461
449
|
```sh-session
|
|
462
450
|
USAGE
|
|
463
|
-
$ commercelayer checkout_com_payment ID
|
|
451
|
+
$ commercelayer checkout_com_payment ID [-u [-j -p]]
|
|
464
452
|
|
|
465
453
|
ARGUMENTS
|
|
466
454
|
ID the unique id of the resource
|
|
467
455
|
|
|
468
456
|
FLAGS
|
|
469
|
-
-j, --json
|
|
470
|
-
-
|
|
471
|
-
-
|
|
472
|
-
-u, --unformatted print JSON output without indentation
|
|
457
|
+
-j, --json print result in JSON format
|
|
458
|
+
-p, --print print out the modified resource
|
|
459
|
+
-u, --unformatted print JSON output without indentation
|
|
473
460
|
|
|
474
461
|
DESCRIPTION
|
|
475
462
|
execute an action on a resource of type checkout_com_payments
|
|
@@ -483,16 +470,15 @@ Send this attribute if you want to send additional details the payment request (
|
|
|
483
470
|
|
|
484
471
|
```sh-session
|
|
485
472
|
USAGE
|
|
486
|
-
$ commercelayer checkout_com_payment:details ID
|
|
473
|
+
$ commercelayer checkout_com_payment:details ID [-u [-j -p]]
|
|
487
474
|
|
|
488
475
|
ARGUMENTS
|
|
489
476
|
ID the unique id of the resource
|
|
490
477
|
|
|
491
478
|
FLAGS
|
|
492
|
-
-j, --json
|
|
493
|
-
-
|
|
494
|
-
-
|
|
495
|
-
-u, --unformatted print JSON output without indentation
|
|
479
|
+
-j, --json print result in JSON format
|
|
480
|
+
-p, --print print out the modified resource
|
|
481
|
+
-u, --unformatted print JSON output without indentation
|
|
496
482
|
|
|
497
483
|
DESCRIPTION
|
|
498
484
|
Send this attribute if you want to send additional details the payment request (i.e. upon 3DS check).
|
|
@@ -506,16 +492,15 @@ Send this attribute if you want to refresh all the pending transactions, can be
|
|
|
506
492
|
|
|
507
493
|
```sh-session
|
|
508
494
|
USAGE
|
|
509
|
-
$ commercelayer checkout_com_payment:refresh ID
|
|
495
|
+
$ commercelayer checkout_com_payment:refresh ID [-u [-j -p]]
|
|
510
496
|
|
|
511
497
|
ARGUMENTS
|
|
512
498
|
ID the unique id of the resource
|
|
513
499
|
|
|
514
500
|
FLAGS
|
|
515
|
-
-j, --json
|
|
516
|
-
-
|
|
517
|
-
-
|
|
518
|
-
-u, --unformatted print JSON output without indentation
|
|
501
|
+
-j, --json print result in JSON format
|
|
502
|
+
-p, --print print out the modified resource
|
|
503
|
+
-u, --unformatted print JSON output without indentation
|
|
519
504
|
|
|
520
505
|
DESCRIPTION
|
|
521
506
|
Send this attribute if you want to refresh all the pending transactions, can be used as webhooks fallback logic.
|
|
@@ -529,16 +514,15 @@ Execute an action on a resource of type customer_password_resets.
|
|
|
529
514
|
|
|
530
515
|
```sh-session
|
|
531
516
|
USAGE
|
|
532
|
-
$ commercelayer customer_password_reset ID
|
|
517
|
+
$ commercelayer customer_password_reset ID [-u [-j -p]]
|
|
533
518
|
|
|
534
519
|
ARGUMENTS
|
|
535
520
|
ID the unique id of the resource
|
|
536
521
|
|
|
537
522
|
FLAGS
|
|
538
|
-
-j, --json
|
|
539
|
-
-
|
|
540
|
-
-
|
|
541
|
-
-u, --unformatted print JSON output without indentation
|
|
523
|
+
-j, --json print result in JSON format
|
|
524
|
+
-p, --print print out the modified resource
|
|
525
|
+
-u, --unformatted print JSON output without indentation
|
|
542
526
|
|
|
543
527
|
DESCRIPTION
|
|
544
528
|
execute an action on a resource of type customer_password_resets
|
|
@@ -552,16 +536,15 @@ Send the 'reset_password_token' that you got on create when updating the custome
|
|
|
552
536
|
|
|
553
537
|
```sh-session
|
|
554
538
|
USAGE
|
|
555
|
-
$ commercelayer customer_password_reset:reset_password_token ID
|
|
539
|
+
$ commercelayer customer_password_reset:reset_password_token ID [-u [-j -p]]
|
|
556
540
|
|
|
557
541
|
ARGUMENTS
|
|
558
542
|
ID the unique id of the resource
|
|
559
543
|
|
|
560
544
|
FLAGS
|
|
561
|
-
-j, --json
|
|
562
|
-
-
|
|
563
|
-
-
|
|
564
|
-
-u, --unformatted print JSON output without indentation
|
|
545
|
+
-j, --json print result in JSON format
|
|
546
|
+
-p, --print print out the modified resource
|
|
547
|
+
-u, --unformatted print JSON output without indentation
|
|
565
548
|
|
|
566
549
|
DESCRIPTION
|
|
567
550
|
Send the 'reset_password_token' that you got on create when updating the customer password.
|
|
@@ -575,16 +558,15 @@ Execute an action on a resource of type gift_cards.
|
|
|
575
558
|
|
|
576
559
|
```sh-session
|
|
577
560
|
USAGE
|
|
578
|
-
$ commercelayer gift_card ID
|
|
561
|
+
$ commercelayer gift_card ID [-u [-j -p]]
|
|
579
562
|
|
|
580
563
|
ARGUMENTS
|
|
581
564
|
ID the unique id of the resource
|
|
582
565
|
|
|
583
566
|
FLAGS
|
|
584
|
-
-j, --json
|
|
585
|
-
-
|
|
586
|
-
-
|
|
587
|
-
-u, --unformatted print JSON output without indentation
|
|
567
|
+
-j, --json print result in JSON format
|
|
568
|
+
-p, --print print out the modified resource
|
|
569
|
+
-u, --unformatted print JSON output without indentation
|
|
588
570
|
|
|
589
571
|
DESCRIPTION
|
|
590
572
|
execute an action on a resource of type gift_cards
|
|
@@ -598,16 +580,15 @@ Send this attribute if you want to activate a gift card.
|
|
|
598
580
|
|
|
599
581
|
```sh-session
|
|
600
582
|
USAGE
|
|
601
|
-
$ commercelayer gift_card:activate ID
|
|
583
|
+
$ commercelayer gift_card:activate ID [-u [-j -p]]
|
|
602
584
|
|
|
603
585
|
ARGUMENTS
|
|
604
586
|
ID the unique id of the resource
|
|
605
587
|
|
|
606
588
|
FLAGS
|
|
607
|
-
-j, --json
|
|
608
|
-
-
|
|
609
|
-
-
|
|
610
|
-
-u, --unformatted print JSON output without indentation
|
|
589
|
+
-j, --json print result in JSON format
|
|
590
|
+
-p, --print print out the modified resource
|
|
591
|
+
-u, --unformatted print JSON output without indentation
|
|
611
592
|
|
|
612
593
|
DESCRIPTION
|
|
613
594
|
Send this attribute if you want to activate a gift card.
|
|
@@ -621,16 +602,15 @@ The balance change, in cents. Send a negative value to reduces the card balance
|
|
|
621
602
|
|
|
622
603
|
```sh-session
|
|
623
604
|
USAGE
|
|
624
|
-
$ commercelayer gift_card:balance_change_cents ID
|
|
605
|
+
$ commercelayer gift_card:balance_change_cents ID [-u [-j -p]]
|
|
625
606
|
|
|
626
607
|
ARGUMENTS
|
|
627
608
|
ID the unique id of the resource
|
|
628
609
|
|
|
629
610
|
FLAGS
|
|
630
|
-
-j, --json
|
|
631
|
-
-
|
|
632
|
-
-
|
|
633
|
-
-u, --unformatted print JSON output without indentation
|
|
611
|
+
-j, --json print result in JSON format
|
|
612
|
+
-p, --print print out the modified resource
|
|
613
|
+
-u, --unformatted print JSON output without indentation
|
|
634
614
|
|
|
635
615
|
DESCRIPTION
|
|
636
616
|
The balance change, in cents. Send a negative value to reduces the card balance by the specified amount. Send a
|
|
@@ -645,16 +625,15 @@ Send this attribute if you want to deactivate a gift card.
|
|
|
645
625
|
|
|
646
626
|
```sh-session
|
|
647
627
|
USAGE
|
|
648
|
-
$ commercelayer gift_card:deactivate ID
|
|
628
|
+
$ commercelayer gift_card:deactivate ID [-u [-j -p]]
|
|
649
629
|
|
|
650
630
|
ARGUMENTS
|
|
651
631
|
ID the unique id of the resource
|
|
652
632
|
|
|
653
633
|
FLAGS
|
|
654
|
-
-j, --json
|
|
655
|
-
-
|
|
656
|
-
-
|
|
657
|
-
-u, --unformatted print JSON output without indentation
|
|
634
|
+
-j, --json print result in JSON format
|
|
635
|
+
-p, --print print out the modified resource
|
|
636
|
+
-u, --unformatted print JSON output without indentation
|
|
658
637
|
|
|
659
638
|
DESCRIPTION
|
|
660
639
|
Send this attribute if you want to deactivate a gift card.
|
|
@@ -668,16 +647,15 @@ Send this attribute if you want to confirm a draft gift card. The gift card beco
|
|
|
668
647
|
|
|
669
648
|
```sh-session
|
|
670
649
|
USAGE
|
|
671
|
-
$ commercelayer gift_card:purchase ID
|
|
650
|
+
$ commercelayer gift_card:purchase ID [-u [-j -p]]
|
|
672
651
|
|
|
673
652
|
ARGUMENTS
|
|
674
653
|
ID the unique id of the resource
|
|
675
654
|
|
|
676
655
|
FLAGS
|
|
677
|
-
-j, --json
|
|
678
|
-
-
|
|
679
|
-
-
|
|
680
|
-
-u, --unformatted print JSON output without indentation
|
|
656
|
+
-j, --json print result in JSON format
|
|
657
|
+
-p, --print print out the modified resource
|
|
658
|
+
-u, --unformatted print JSON output without indentation
|
|
681
659
|
|
|
682
660
|
DESCRIPTION
|
|
683
661
|
Send this attribute if you want to confirm a draft gift card. The gift card becomes 'inactive', waiting to be
|
|
@@ -692,16 +670,15 @@ Execute an action on a resource of type in_stock_subscriptions.
|
|
|
692
670
|
|
|
693
671
|
```sh-session
|
|
694
672
|
USAGE
|
|
695
|
-
$ commercelayer in_stock_subscription ID
|
|
673
|
+
$ commercelayer in_stock_subscription ID [-u [-j -p]]
|
|
696
674
|
|
|
697
675
|
ARGUMENTS
|
|
698
676
|
ID the unique id of the resource
|
|
699
677
|
|
|
700
678
|
FLAGS
|
|
701
|
-
-j, --json
|
|
702
|
-
-
|
|
703
|
-
-
|
|
704
|
-
-u, --unformatted print JSON output without indentation
|
|
679
|
+
-j, --json print result in JSON format
|
|
680
|
+
-p, --print print out the modified resource
|
|
681
|
+
-u, --unformatted print JSON output without indentation
|
|
705
682
|
|
|
706
683
|
DESCRIPTION
|
|
707
684
|
execute an action on a resource of type in_stock_subscriptions
|
|
@@ -715,16 +692,15 @@ Send this attribute if you want to activate an inactive subscription.
|
|
|
715
692
|
|
|
716
693
|
```sh-session
|
|
717
694
|
USAGE
|
|
718
|
-
$ commercelayer in_stock_subscription:activate ID
|
|
695
|
+
$ commercelayer in_stock_subscription:activate ID [-u [-j -p]]
|
|
719
696
|
|
|
720
697
|
ARGUMENTS
|
|
721
698
|
ID the unique id of the resource
|
|
722
699
|
|
|
723
700
|
FLAGS
|
|
724
|
-
-j, --json
|
|
725
|
-
-
|
|
726
|
-
-
|
|
727
|
-
-u, --unformatted print JSON output without indentation
|
|
701
|
+
-j, --json print result in JSON format
|
|
702
|
+
-p, --print print out the modified resource
|
|
703
|
+
-u, --unformatted print JSON output without indentation
|
|
728
704
|
|
|
729
705
|
DESCRIPTION
|
|
730
706
|
Send this attribute if you want to activate an inactive subscription.
|
|
@@ -738,16 +714,15 @@ Send this attribute if you want to dactivate an active subscription.
|
|
|
738
714
|
|
|
739
715
|
```sh-session
|
|
740
716
|
USAGE
|
|
741
|
-
$ commercelayer in_stock_subscription:deactivate ID
|
|
717
|
+
$ commercelayer in_stock_subscription:deactivate ID [-u [-j -p]]
|
|
742
718
|
|
|
743
719
|
ARGUMENTS
|
|
744
720
|
ID the unique id of the resource
|
|
745
721
|
|
|
746
722
|
FLAGS
|
|
747
|
-
-j, --json
|
|
748
|
-
-
|
|
749
|
-
-
|
|
750
|
-
-u, --unformatted print JSON output without indentation
|
|
723
|
+
-j, --json print result in JSON format
|
|
724
|
+
-p, --print print out the modified resource
|
|
725
|
+
-u, --unformatted print JSON output without indentation
|
|
751
726
|
|
|
752
727
|
DESCRIPTION
|
|
753
728
|
Send this attribute if you want to dactivate an active subscription.
|
|
@@ -761,16 +736,15 @@ Execute an action on a resource of type klarna_payments.
|
|
|
761
736
|
|
|
762
737
|
```sh-session
|
|
763
738
|
USAGE
|
|
764
|
-
$ commercelayer klarna_payment ID
|
|
739
|
+
$ commercelayer klarna_payment ID [-u [-j -p]]
|
|
765
740
|
|
|
766
741
|
ARGUMENTS
|
|
767
742
|
ID the unique id of the resource
|
|
768
743
|
|
|
769
744
|
FLAGS
|
|
770
|
-
-j, --json
|
|
771
|
-
-
|
|
772
|
-
-
|
|
773
|
-
-u, --unformatted print JSON output without indentation
|
|
745
|
+
-j, --json print result in JSON format
|
|
746
|
+
-p, --print print out the modified resource
|
|
747
|
+
-u, --unformatted print JSON output without indentation
|
|
774
748
|
|
|
775
749
|
DESCRIPTION
|
|
776
750
|
execute an action on a resource of type klarna_payments
|
|
@@ -784,16 +758,15 @@ Send this attribute if you want to update the payment session with fresh order d
|
|
|
784
758
|
|
|
785
759
|
```sh-session
|
|
786
760
|
USAGE
|
|
787
|
-
$ commercelayer klarna_payment:update ID
|
|
761
|
+
$ commercelayer klarna_payment:update ID [-u [-j -p]]
|
|
788
762
|
|
|
789
763
|
ARGUMENTS
|
|
790
764
|
ID the unique id of the resource
|
|
791
765
|
|
|
792
766
|
FLAGS
|
|
793
|
-
-j, --json
|
|
794
|
-
-
|
|
795
|
-
-
|
|
796
|
-
-u, --unformatted print JSON output without indentation
|
|
767
|
+
-j, --json print result in JSON format
|
|
768
|
+
-p, --print print out the modified resource
|
|
769
|
+
-u, --unformatted print JSON output without indentation
|
|
797
770
|
|
|
798
771
|
DESCRIPTION
|
|
799
772
|
Send this attribute if you want to update the payment session with fresh order data.
|
|
@@ -807,16 +780,15 @@ Execute an action on a resource of type line_items.
|
|
|
807
780
|
|
|
808
781
|
```sh-session
|
|
809
782
|
USAGE
|
|
810
|
-
$ commercelayer line_item ID
|
|
783
|
+
$ commercelayer line_item ID [-u [-j -p]]
|
|
811
784
|
|
|
812
785
|
ARGUMENTS
|
|
813
786
|
ID the unique id of the resource
|
|
814
787
|
|
|
815
788
|
FLAGS
|
|
816
|
-
-j, --json
|
|
817
|
-
-
|
|
818
|
-
-
|
|
819
|
-
-u, --unformatted print JSON output without indentation
|
|
789
|
+
-j, --json print result in JSON format
|
|
790
|
+
-p, --print print out the modified resource
|
|
791
|
+
-u, --unformatted print JSON output without indentation
|
|
820
792
|
|
|
821
793
|
DESCRIPTION
|
|
822
794
|
execute an action on a resource of type line_items
|
|
@@ -830,16 +802,15 @@ When creating or updating a new line item, set this attribute to '1' if you want
|
|
|
830
802
|
|
|
831
803
|
```sh-session
|
|
832
804
|
USAGE
|
|
833
|
-
$ commercelayer line_item:external_price ID
|
|
805
|
+
$ commercelayer line_item:external_price ID [-u [-j -p]]
|
|
834
806
|
|
|
835
807
|
ARGUMENTS
|
|
836
808
|
ID the unique id of the resource
|
|
837
809
|
|
|
838
810
|
FLAGS
|
|
839
|
-
-j, --json
|
|
840
|
-
-
|
|
841
|
-
-
|
|
842
|
-
-u, --unformatted print JSON output without indentation
|
|
811
|
+
-j, --json print result in JSON format
|
|
812
|
+
-p, --print print out the modified resource
|
|
813
|
+
-u, --unformatted print JSON output without indentation
|
|
843
814
|
|
|
844
815
|
DESCRIPTION
|
|
845
816
|
When creating or updating a new line item, set this attribute to '1' if you want to inject the unit_amount_cents price
|
|
@@ -854,16 +825,15 @@ Execute an action on a resource of type markets.
|
|
|
854
825
|
|
|
855
826
|
```sh-session
|
|
856
827
|
USAGE
|
|
857
|
-
$ commercelayer market ID
|
|
828
|
+
$ commercelayer market ID [-u [-j -p]]
|
|
858
829
|
|
|
859
830
|
ARGUMENTS
|
|
860
831
|
ID the unique id of the resource
|
|
861
832
|
|
|
862
833
|
FLAGS
|
|
863
|
-
-j, --json
|
|
864
|
-
-
|
|
865
|
-
-
|
|
866
|
-
-u, --unformatted print JSON output without indentation
|
|
834
|
+
-j, --json print result in JSON format
|
|
835
|
+
-p, --print print out the modified resource
|
|
836
|
+
-u, --unformatted print JSON output without indentation
|
|
867
837
|
|
|
868
838
|
DESCRIPTION
|
|
869
839
|
execute an action on a resource of type markets
|
|
@@ -877,16 +847,15 @@ Send this attribute if you want to mark the market as disabled.
|
|
|
877
847
|
|
|
878
848
|
```sh-session
|
|
879
849
|
USAGE
|
|
880
|
-
$ commercelayer market:disable ID
|
|
850
|
+
$ commercelayer market:disable ID [-u [-j -p]]
|
|
881
851
|
|
|
882
852
|
ARGUMENTS
|
|
883
853
|
ID the unique id of the resource
|
|
884
854
|
|
|
885
855
|
FLAGS
|
|
886
|
-
-j, --json
|
|
887
|
-
-
|
|
888
|
-
-
|
|
889
|
-
-u, --unformatted print JSON output without indentation
|
|
856
|
+
-j, --json print result in JSON format
|
|
857
|
+
-p, --print print out the modified resource
|
|
858
|
+
-u, --unformatted print JSON output without indentation
|
|
890
859
|
|
|
891
860
|
DESCRIPTION
|
|
892
861
|
Send this attribute if you want to mark the market as disabled.
|
|
@@ -900,16 +869,15 @@ Send this attribute if you want to mark the market as enabled.
|
|
|
900
869
|
|
|
901
870
|
```sh-session
|
|
902
871
|
USAGE
|
|
903
|
-
$ commercelayer market:enable ID
|
|
872
|
+
$ commercelayer market:enable ID [-u [-j -p]]
|
|
904
873
|
|
|
905
874
|
ARGUMENTS
|
|
906
875
|
ID the unique id of the resource
|
|
907
876
|
|
|
908
877
|
FLAGS
|
|
909
|
-
-j, --json
|
|
910
|
-
-
|
|
911
|
-
-
|
|
912
|
-
-u, --unformatted print JSON output without indentation
|
|
878
|
+
-j, --json print result in JSON format
|
|
879
|
+
-p, --print print out the modified resource
|
|
880
|
+
-u, --unformatted print JSON output without indentation
|
|
913
881
|
|
|
914
882
|
DESCRIPTION
|
|
915
883
|
Send this attribute if you want to mark the market as enabled.
|
|
@@ -923,16 +891,15 @@ Execute an action on a resource of type orders.
|
|
|
923
891
|
|
|
924
892
|
```sh-session
|
|
925
893
|
USAGE
|
|
926
|
-
$ commercelayer order ID
|
|
894
|
+
$ commercelayer order ID [-u [-j -p]]
|
|
927
895
|
|
|
928
896
|
ARGUMENTS
|
|
929
897
|
ID the unique id of the resource
|
|
930
898
|
|
|
931
899
|
FLAGS
|
|
932
|
-
-j, --json
|
|
933
|
-
-
|
|
934
|
-
-
|
|
935
|
-
-u, --unformatted print JSON output without indentation
|
|
900
|
+
-j, --json print result in JSON format
|
|
901
|
+
-p, --print print out the modified resource
|
|
902
|
+
-u, --unformatted print JSON output without indentation
|
|
936
903
|
|
|
937
904
|
DESCRIPTION
|
|
938
905
|
execute an action on a resource of type orders
|
|
@@ -946,16 +913,15 @@ Send this attribute if you want to approve a placed order.
|
|
|
946
913
|
|
|
947
914
|
```sh-session
|
|
948
915
|
USAGE
|
|
949
|
-
$ commercelayer order:approve ID
|
|
916
|
+
$ commercelayer order:approve ID [-u [-j -p]]
|
|
950
917
|
|
|
951
918
|
ARGUMENTS
|
|
952
919
|
ID the unique id of the resource
|
|
953
920
|
|
|
954
921
|
FLAGS
|
|
955
|
-
-j, --json
|
|
956
|
-
-
|
|
957
|
-
-
|
|
958
|
-
-u, --unformatted print JSON output without indentation
|
|
922
|
+
-j, --json print result in JSON format
|
|
923
|
+
-p, --print print out the modified resource
|
|
924
|
+
-u, --unformatted print JSON output without indentation
|
|
959
925
|
|
|
960
926
|
DESCRIPTION
|
|
961
927
|
Send this attribute if you want to approve a placed order.
|
|
@@ -969,16 +935,15 @@ Send this attribute if you want to approve and capture a placed order.
|
|
|
969
935
|
|
|
970
936
|
```sh-session
|
|
971
937
|
USAGE
|
|
972
|
-
$ commercelayer order:approve_and_capture ID
|
|
938
|
+
$ commercelayer order:approve_and_capture ID [-u [-j -p]]
|
|
973
939
|
|
|
974
940
|
ARGUMENTS
|
|
975
941
|
ID the unique id of the resource
|
|
976
942
|
|
|
977
943
|
FLAGS
|
|
978
|
-
-j, --json
|
|
979
|
-
-
|
|
980
|
-
-
|
|
981
|
-
-u, --unformatted print JSON output without indentation
|
|
944
|
+
-j, --json print result in JSON format
|
|
945
|
+
-p, --print print out the modified resource
|
|
946
|
+
-u, --unformatted print JSON output without indentation
|
|
982
947
|
|
|
983
948
|
DESCRIPTION
|
|
984
949
|
Send this attribute if you want to approve and capture a placed order.
|
|
@@ -992,16 +957,15 @@ Send this attribute if you want to archive the order.
|
|
|
992
957
|
|
|
993
958
|
```sh-session
|
|
994
959
|
USAGE
|
|
995
|
-
$ commercelayer order:archive ID
|
|
960
|
+
$ commercelayer order:archive ID [-u [-j -p]]
|
|
996
961
|
|
|
997
962
|
ARGUMENTS
|
|
998
963
|
ID the unique id of the resource
|
|
999
964
|
|
|
1000
965
|
FLAGS
|
|
1001
|
-
-j, --json
|
|
1002
|
-
-
|
|
1003
|
-
-
|
|
1004
|
-
-u, --unformatted print JSON output without indentation
|
|
966
|
+
-j, --json print result in JSON format
|
|
967
|
+
-p, --print print out the modified resource
|
|
968
|
+
-u, --unformatted print JSON output without indentation
|
|
1005
969
|
|
|
1006
970
|
DESCRIPTION
|
|
1007
971
|
Send this attribute if you want to archive the order.
|
|
@@ -1015,16 +979,15 @@ The authorization amount, in cents.
|
|
|
1015
979
|
|
|
1016
980
|
```sh-session
|
|
1017
981
|
USAGE
|
|
1018
|
-
$ commercelayer order:authorization_amount_cents ID
|
|
982
|
+
$ commercelayer order:authorization_amount_cents ID [-u [-j -p]]
|
|
1019
983
|
|
|
1020
984
|
ARGUMENTS
|
|
1021
985
|
ID the unique id of the resource
|
|
1022
986
|
|
|
1023
987
|
FLAGS
|
|
1024
|
-
-j, --json
|
|
1025
|
-
-
|
|
1026
|
-
-
|
|
1027
|
-
-u, --unformatted print JSON output without indentation
|
|
988
|
+
-j, --json print result in JSON format
|
|
989
|
+
-p, --print print out the modified resource
|
|
990
|
+
-u, --unformatted print JSON output without indentation
|
|
1028
991
|
|
|
1029
992
|
DESCRIPTION
|
|
1030
993
|
The authorization amount, in cents.
|
|
@@ -1038,16 +1001,15 @@ Send this attribute if you want to authorize the order's payment source.
|
|
|
1038
1001
|
|
|
1039
1002
|
```sh-session
|
|
1040
1003
|
USAGE
|
|
1041
|
-
$ commercelayer order:authorize ID
|
|
1004
|
+
$ commercelayer order:authorize ID [-u [-j -p]]
|
|
1042
1005
|
|
|
1043
1006
|
ARGUMENTS
|
|
1044
1007
|
ID the unique id of the resource
|
|
1045
1008
|
|
|
1046
1009
|
FLAGS
|
|
1047
|
-
-j, --json
|
|
1048
|
-
-
|
|
1049
|
-
-
|
|
1050
|
-
-u, --unformatted print JSON output without indentation
|
|
1010
|
+
-j, --json print result in JSON format
|
|
1011
|
+
-p, --print print out the modified resource
|
|
1012
|
+
-u, --unformatted print JSON output without indentation
|
|
1051
1013
|
|
|
1052
1014
|
DESCRIPTION
|
|
1053
1015
|
Send this attribute if you want to authorize the order's payment source.
|
|
@@ -1061,17 +1023,16 @@ The id of the address that you want to clone to create the order's billing addre
|
|
|
1061
1023
|
|
|
1062
1024
|
```sh-session
|
|
1063
1025
|
USAGE
|
|
1064
|
-
$ commercelayer order:billing_address_clone_id ID -
|
|
1026
|
+
$ commercelayer order:billing_address_clone_id ID -v <value> [-u [-j -p]]
|
|
1065
1027
|
|
|
1066
1028
|
ARGUMENTS
|
|
1067
1029
|
ID the unique id of the resource
|
|
1068
1030
|
|
|
1069
1031
|
FLAGS
|
|
1070
|
-
-j, --json
|
|
1071
|
-
-
|
|
1072
|
-
-
|
|
1073
|
-
-
|
|
1074
|
-
-v, --value=<value> (required) the trigger attribute value
|
|
1032
|
+
-j, --json print result in JSON format
|
|
1033
|
+
-p, --print print out the modified resource
|
|
1034
|
+
-u, --unformatted print JSON output without indentation
|
|
1035
|
+
-v, --value=<value> (required) the trigger attribute value
|
|
1075
1036
|
|
|
1076
1037
|
DESCRIPTION
|
|
1077
1038
|
The id of the address that you want to clone to create the order's billing address.
|
|
@@ -1085,16 +1046,15 @@ Send this attribute if you want the billing address to be cloned from the order'
|
|
|
1085
1046
|
|
|
1086
1047
|
```sh-session
|
|
1087
1048
|
USAGE
|
|
1088
|
-
$ commercelayer order:billing_address_same_as_shipping ID
|
|
1049
|
+
$ commercelayer order:billing_address_same_as_shipping ID [-u [-j -p]]
|
|
1089
1050
|
|
|
1090
1051
|
ARGUMENTS
|
|
1091
1052
|
ID the unique id of the resource
|
|
1092
1053
|
|
|
1093
1054
|
FLAGS
|
|
1094
|
-
-j, --json
|
|
1095
|
-
-
|
|
1096
|
-
-
|
|
1097
|
-
-u, --unformatted print JSON output without indentation
|
|
1055
|
+
-j, --json print result in JSON format
|
|
1056
|
+
-p, --print print out the modified resource
|
|
1057
|
+
-u, --unformatted print JSON output without indentation
|
|
1098
1058
|
|
|
1099
1059
|
DESCRIPTION
|
|
1100
1060
|
Send this attribute if you want the billing address to be cloned from the order's shipping address.
|
|
@@ -1108,16 +1068,15 @@ Send this attribute if you want to cancel a placed order. The order's authorizat
|
|
|
1108
1068
|
|
|
1109
1069
|
```sh-session
|
|
1110
1070
|
USAGE
|
|
1111
|
-
$ commercelayer order:cancel ID
|
|
1071
|
+
$ commercelayer order:cancel ID [-u [-j -p]]
|
|
1112
1072
|
|
|
1113
1073
|
ARGUMENTS
|
|
1114
1074
|
ID the unique id of the resource
|
|
1115
1075
|
|
|
1116
1076
|
FLAGS
|
|
1117
|
-
-j, --json
|
|
1118
|
-
-
|
|
1119
|
-
-
|
|
1120
|
-
-u, --unformatted print JSON output without indentation
|
|
1077
|
+
-j, --json print result in JSON format
|
|
1078
|
+
-p, --print print out the modified resource
|
|
1079
|
+
-u, --unformatted print JSON output without indentation
|
|
1121
1080
|
|
|
1122
1081
|
DESCRIPTION
|
|
1123
1082
|
Send this attribute if you want to cancel a placed order. The order's authorization will be automatically voided.
|
|
@@ -1131,16 +1090,15 @@ Send this attribute if you want to capture an authorized order.
|
|
|
1131
1090
|
|
|
1132
1091
|
```sh-session
|
|
1133
1092
|
USAGE
|
|
1134
|
-
$ commercelayer order:capture ID
|
|
1093
|
+
$ commercelayer order:capture ID [-u [-j -p]]
|
|
1135
1094
|
|
|
1136
1095
|
ARGUMENTS
|
|
1137
1096
|
ID the unique id of the resource
|
|
1138
1097
|
|
|
1139
1098
|
FLAGS
|
|
1140
|
-
-j, --json
|
|
1141
|
-
-
|
|
1142
|
-
-
|
|
1143
|
-
-u, --unformatted print JSON output without indentation
|
|
1099
|
+
-j, --json print result in JSON format
|
|
1100
|
+
-p, --print print out the modified resource
|
|
1101
|
+
-u, --unformatted print JSON output without indentation
|
|
1144
1102
|
|
|
1145
1103
|
DESCRIPTION
|
|
1146
1104
|
Send this attribute if you want to capture an authorized order.
|
|
@@ -1154,16 +1112,15 @@ Send this attribute if you want commit the sales tax invoice to the associated t
|
|
|
1154
1112
|
|
|
1155
1113
|
```sh-session
|
|
1156
1114
|
USAGE
|
|
1157
|
-
$ commercelayer order:commit_invoice ID
|
|
1115
|
+
$ commercelayer order:commit_invoice ID [-u [-j -p]]
|
|
1158
1116
|
|
|
1159
1117
|
ARGUMENTS
|
|
1160
1118
|
ID the unique id of the resource
|
|
1161
1119
|
|
|
1162
1120
|
FLAGS
|
|
1163
|
-
-j, --json
|
|
1164
|
-
-
|
|
1165
|
-
-
|
|
1166
|
-
-u, --unformatted print JSON output without indentation
|
|
1121
|
+
-j, --json print result in JSON format
|
|
1122
|
+
-p, --print print out the modified resource
|
|
1123
|
+
-u, --unformatted print JSON output without indentation
|
|
1167
1124
|
|
|
1168
1125
|
DESCRIPTION
|
|
1169
1126
|
Send this attribute if you want commit the sales tax invoice to the associated tax calculator (currently supported by
|
|
@@ -1178,17 +1135,16 @@ The id of the customer payment source (i.e. credit card) that you want to use as
|
|
|
1178
1135
|
|
|
1179
1136
|
```sh-session
|
|
1180
1137
|
USAGE
|
|
1181
|
-
$ commercelayer order:customer_payment_source_id ID -
|
|
1138
|
+
$ commercelayer order:customer_payment_source_id ID -v <value> [-u [-j -p]]
|
|
1182
1139
|
|
|
1183
1140
|
ARGUMENTS
|
|
1184
1141
|
ID the unique id of the resource
|
|
1185
1142
|
|
|
1186
1143
|
FLAGS
|
|
1187
|
-
-j, --json
|
|
1188
|
-
-
|
|
1189
|
-
-
|
|
1190
|
-
-
|
|
1191
|
-
-v, --value=<value> (required) the trigger attribute value
|
|
1144
|
+
-j, --json print result in JSON format
|
|
1145
|
+
-p, --print print out the modified resource
|
|
1146
|
+
-u, --unformatted print JSON output without indentation
|
|
1147
|
+
-v, --value=<value> (required) the trigger attribute value
|
|
1192
1148
|
|
|
1193
1149
|
DESCRIPTION
|
|
1194
1150
|
The id of the customer payment source (i.e. credit card) that you want to use as the order's payment source.
|
|
@@ -1202,16 +1158,15 @@ Send this attribute if you want to nullify the payment source for this order.
|
|
|
1202
1158
|
|
|
1203
1159
|
```sh-session
|
|
1204
1160
|
USAGE
|
|
1205
|
-
$ commercelayer order:nullify_payment_source ID
|
|
1161
|
+
$ commercelayer order:nullify_payment_source ID [-u [-j -p]]
|
|
1206
1162
|
|
|
1207
1163
|
ARGUMENTS
|
|
1208
1164
|
ID the unique id of the resource
|
|
1209
1165
|
|
|
1210
1166
|
FLAGS
|
|
1211
|
-
-j, --json
|
|
1212
|
-
-
|
|
1213
|
-
-
|
|
1214
|
-
-u, --unformatted print JSON output without indentation
|
|
1167
|
+
-j, --json print result in JSON format
|
|
1168
|
+
-p, --print print out the modified resource
|
|
1169
|
+
-u, --unformatted print JSON output without indentation
|
|
1215
1170
|
|
|
1216
1171
|
DESCRIPTION
|
|
1217
1172
|
Send this attribute if you want to nullify the payment source for this order.
|
|
@@ -1225,16 +1180,15 @@ Send this attribute if you want to place the order.
|
|
|
1225
1180
|
|
|
1226
1181
|
```sh-session
|
|
1227
1182
|
USAGE
|
|
1228
|
-
$ commercelayer order:place ID
|
|
1183
|
+
$ commercelayer order:place ID [-u [-j -p]]
|
|
1229
1184
|
|
|
1230
1185
|
ARGUMENTS
|
|
1231
1186
|
ID the unique id of the resource
|
|
1232
1187
|
|
|
1233
1188
|
FLAGS
|
|
1234
|
-
-j, --json
|
|
1235
|
-
-
|
|
1236
|
-
-
|
|
1237
|
-
-u, --unformatted print JSON output without indentation
|
|
1189
|
+
-j, --json print result in JSON format
|
|
1190
|
+
-p, --print print out the modified resource
|
|
1191
|
+
-u, --unformatted print JSON output without indentation
|
|
1238
1192
|
|
|
1239
1193
|
DESCRIPTION
|
|
1240
1194
|
Send this attribute if you want to place the order.
|
|
@@ -1248,16 +1202,15 @@ Send this attribute if you want to manually refresh the order.
|
|
|
1248
1202
|
|
|
1249
1203
|
```sh-session
|
|
1250
1204
|
USAGE
|
|
1251
|
-
$ commercelayer order:refresh ID
|
|
1205
|
+
$ commercelayer order:refresh ID [-u [-j -p]]
|
|
1252
1206
|
|
|
1253
1207
|
ARGUMENTS
|
|
1254
1208
|
ID the unique id of the resource
|
|
1255
1209
|
|
|
1256
1210
|
FLAGS
|
|
1257
|
-
-j, --json
|
|
1258
|
-
-
|
|
1259
|
-
-
|
|
1260
|
-
-u, --unformatted print JSON output without indentation
|
|
1211
|
+
-j, --json print result in JSON format
|
|
1212
|
+
-p, --print print out the modified resource
|
|
1213
|
+
-u, --unformatted print JSON output without indentation
|
|
1261
1214
|
|
|
1262
1215
|
DESCRIPTION
|
|
1263
1216
|
Send this attribute if you want to manually refresh the order.
|
|
@@ -1271,16 +1224,15 @@ Send this attribute if you want to refund a captured order.
|
|
|
1271
1224
|
|
|
1272
1225
|
```sh-session
|
|
1273
1226
|
USAGE
|
|
1274
|
-
$ commercelayer order:refund ID
|
|
1227
|
+
$ commercelayer order:refund ID [-u [-j -p]]
|
|
1275
1228
|
|
|
1276
1229
|
ARGUMENTS
|
|
1277
1230
|
ID the unique id of the resource
|
|
1278
1231
|
|
|
1279
1232
|
FLAGS
|
|
1280
|
-
-j, --json
|
|
1281
|
-
-
|
|
1282
|
-
-
|
|
1283
|
-
-u, --unformatted print JSON output without indentation
|
|
1233
|
+
-j, --json print result in JSON format
|
|
1234
|
+
-p, --print print out the modified resource
|
|
1235
|
+
-u, --unformatted print JSON output without indentation
|
|
1284
1236
|
|
|
1285
1237
|
DESCRIPTION
|
|
1286
1238
|
Send this attribute if you want to refund a captured order.
|
|
@@ -1294,16 +1246,15 @@ Send this attribute if you want refund the sales tax invoice to the associated t
|
|
|
1294
1246
|
|
|
1295
1247
|
```sh-session
|
|
1296
1248
|
USAGE
|
|
1297
|
-
$ commercelayer order:refund_invoice ID
|
|
1249
|
+
$ commercelayer order:refund_invoice ID [-u [-j -p]]
|
|
1298
1250
|
|
|
1299
1251
|
ARGUMENTS
|
|
1300
1252
|
ID the unique id of the resource
|
|
1301
1253
|
|
|
1302
1254
|
FLAGS
|
|
1303
|
-
-j, --json
|
|
1304
|
-
-
|
|
1305
|
-
-
|
|
1306
|
-
-u, --unformatted print JSON output without indentation
|
|
1255
|
+
-j, --json print result in JSON format
|
|
1256
|
+
-p, --print print out the modified resource
|
|
1257
|
+
-u, --unformatted print JSON output without indentation
|
|
1307
1258
|
|
|
1308
1259
|
DESCRIPTION
|
|
1309
1260
|
Send this attribute if you want refund the sales tax invoice to the associated tax calculator (currently supported by
|
|
@@ -1318,16 +1269,15 @@ Send this attribute if you want the order's billing address to be saved in the c
|
|
|
1318
1269
|
|
|
1319
1270
|
```sh-session
|
|
1320
1271
|
USAGE
|
|
1321
|
-
$ commercelayer order:save_billing_address_to_customer_address_book ID
|
|
1272
|
+
$ commercelayer order:save_billing_address_to_customer_address_book ID [-u [-j -p]]
|
|
1322
1273
|
|
|
1323
1274
|
ARGUMENTS
|
|
1324
1275
|
ID the unique id of the resource
|
|
1325
1276
|
|
|
1326
1277
|
FLAGS
|
|
1327
|
-
-j, --json
|
|
1328
|
-
-
|
|
1329
|
-
-
|
|
1330
|
-
-u, --unformatted print JSON output without indentation
|
|
1278
|
+
-j, --json print result in JSON format
|
|
1279
|
+
-p, --print print out the modified resource
|
|
1280
|
+
-u, --unformatted print JSON output without indentation
|
|
1331
1281
|
|
|
1332
1282
|
DESCRIPTION
|
|
1333
1283
|
Send this attribute if you want the order's billing address to be saved in the customer's address book as a customer
|
|
@@ -1342,16 +1292,15 @@ Send this attribute if you want the order's payment source to be saved in the cu
|
|
|
1342
1292
|
|
|
1343
1293
|
```sh-session
|
|
1344
1294
|
USAGE
|
|
1345
|
-
$ commercelayer order:save_payment_source_to_customer_wallet ID
|
|
1295
|
+
$ commercelayer order:save_payment_source_to_customer_wallet ID [-u [-j -p]]
|
|
1346
1296
|
|
|
1347
1297
|
ARGUMENTS
|
|
1348
1298
|
ID the unique id of the resource
|
|
1349
1299
|
|
|
1350
1300
|
FLAGS
|
|
1351
|
-
-j, --json
|
|
1352
|
-
-
|
|
1353
|
-
-
|
|
1354
|
-
-u, --unformatted print JSON output without indentation
|
|
1301
|
+
-j, --json print result in JSON format
|
|
1302
|
+
-p, --print print out the modified resource
|
|
1303
|
+
-u, --unformatted print JSON output without indentation
|
|
1355
1304
|
|
|
1356
1305
|
DESCRIPTION
|
|
1357
1306
|
Send this attribute if you want the order's payment source to be saved in the customer's wallet as a customer payment
|
|
@@ -1366,16 +1315,15 @@ Send this attribute if you want the order's shipping address to be saved in the
|
|
|
1366
1315
|
|
|
1367
1316
|
```sh-session
|
|
1368
1317
|
USAGE
|
|
1369
|
-
$ commercelayer order:save_shipping_address_to_customer_address_book ID
|
|
1318
|
+
$ commercelayer order:save_shipping_address_to_customer_address_book ID [-u [-j -p]]
|
|
1370
1319
|
|
|
1371
1320
|
ARGUMENTS
|
|
1372
1321
|
ID the unique id of the resource
|
|
1373
1322
|
|
|
1374
1323
|
FLAGS
|
|
1375
|
-
-j, --json
|
|
1376
|
-
-
|
|
1377
|
-
-
|
|
1378
|
-
-u, --unformatted print JSON output without indentation
|
|
1324
|
+
-j, --json print result in JSON format
|
|
1325
|
+
-p, --print print out the modified resource
|
|
1326
|
+
-u, --unformatted print JSON output without indentation
|
|
1379
1327
|
|
|
1380
1328
|
DESCRIPTION
|
|
1381
1329
|
Send this attribute if you want the order's shipping address to be saved in the customer's address book as a customer
|
|
@@ -1390,17 +1338,16 @@ The id of the address that you want to clone to create the order's shipping addr
|
|
|
1390
1338
|
|
|
1391
1339
|
```sh-session
|
|
1392
1340
|
USAGE
|
|
1393
|
-
$ commercelayer order:shipping_address_clone_id ID -
|
|
1341
|
+
$ commercelayer order:shipping_address_clone_id ID -v <value> [-u [-j -p]]
|
|
1394
1342
|
|
|
1395
1343
|
ARGUMENTS
|
|
1396
1344
|
ID the unique id of the resource
|
|
1397
1345
|
|
|
1398
1346
|
FLAGS
|
|
1399
|
-
-j, --json
|
|
1400
|
-
-
|
|
1401
|
-
-
|
|
1402
|
-
-
|
|
1403
|
-
-v, --value=<value> (required) the trigger attribute value
|
|
1347
|
+
-j, --json print result in JSON format
|
|
1348
|
+
-p, --print print out the modified resource
|
|
1349
|
+
-u, --unformatted print JSON output without indentation
|
|
1350
|
+
-v, --value=<value> (required) the trigger attribute value
|
|
1404
1351
|
|
|
1405
1352
|
DESCRIPTION
|
|
1406
1353
|
The id of the address that you want to clone to create the order's shipping address.
|
|
@@ -1414,16 +1361,15 @@ Send this attribute if you want the shipping address to be cloned from the order
|
|
|
1414
1361
|
|
|
1415
1362
|
```sh-session
|
|
1416
1363
|
USAGE
|
|
1417
|
-
$ commercelayer order:shipping_address_same_as_billing ID
|
|
1364
|
+
$ commercelayer order:shipping_address_same_as_billing ID [-u [-j -p]]
|
|
1418
1365
|
|
|
1419
1366
|
ARGUMENTS
|
|
1420
1367
|
ID the unique id of the resource
|
|
1421
1368
|
|
|
1422
1369
|
FLAGS
|
|
1423
|
-
-j, --json
|
|
1424
|
-
-
|
|
1425
|
-
-
|
|
1426
|
-
-u, --unformatted print JSON output without indentation
|
|
1370
|
+
-j, --json print result in JSON format
|
|
1371
|
+
-p, --print print out the modified resource
|
|
1372
|
+
-u, --unformatted print JSON output without indentation
|
|
1427
1373
|
|
|
1428
1374
|
DESCRIPTION
|
|
1429
1375
|
Send this attribute if you want the shipping address to be cloned from the order's billing address.
|
|
@@ -1437,16 +1383,15 @@ Send this attribute if you want to unarchive the order.
|
|
|
1437
1383
|
|
|
1438
1384
|
```sh-session
|
|
1439
1385
|
USAGE
|
|
1440
|
-
$ commercelayer order:unarchive ID
|
|
1386
|
+
$ commercelayer order:unarchive ID [-u [-j -p]]
|
|
1441
1387
|
|
|
1442
1388
|
ARGUMENTS
|
|
1443
1389
|
ID the unique id of the resource
|
|
1444
1390
|
|
|
1445
1391
|
FLAGS
|
|
1446
|
-
-j, --json
|
|
1447
|
-
-
|
|
1448
|
-
-
|
|
1449
|
-
-u, --unformatted print JSON output without indentation
|
|
1392
|
+
-j, --json print result in JSON format
|
|
1393
|
+
-p, --print print out the modified resource
|
|
1394
|
+
-u, --unformatted print JSON output without indentation
|
|
1450
1395
|
|
|
1451
1396
|
DESCRIPTION
|
|
1452
1397
|
Send this attribute if you want to unarchive the order.
|
|
@@ -1460,16 +1405,15 @@ Send this attribute if you want to force tax calculation for this order (a tax c
|
|
|
1460
1405
|
|
|
1461
1406
|
```sh-session
|
|
1462
1407
|
USAGE
|
|
1463
|
-
$ commercelayer order:update_taxes ID
|
|
1408
|
+
$ commercelayer order:update_taxes ID [-u [-j -p]]
|
|
1464
1409
|
|
|
1465
1410
|
ARGUMENTS
|
|
1466
1411
|
ID the unique id of the resource
|
|
1467
1412
|
|
|
1468
1413
|
FLAGS
|
|
1469
|
-
-j, --json
|
|
1470
|
-
-
|
|
1471
|
-
-
|
|
1472
|
-
-u, --unformatted print JSON output without indentation
|
|
1414
|
+
-j, --json print result in JSON format
|
|
1415
|
+
-p, --print print out the modified resource
|
|
1416
|
+
-u, --unformatted print JSON output without indentation
|
|
1473
1417
|
|
|
1474
1418
|
DESCRIPTION
|
|
1475
1419
|
Send this attribute if you want to force tax calculation for this order (a tax calculator must be associated to the
|
|
@@ -1484,16 +1428,15 @@ Send this attribute if you want to trigger the external validation for the order
|
|
|
1484
1428
|
|
|
1485
1429
|
```sh-session
|
|
1486
1430
|
USAGE
|
|
1487
|
-
$ commercelayer order:validate ID
|
|
1431
|
+
$ commercelayer order:validate ID [-u [-j -p]]
|
|
1488
1432
|
|
|
1489
1433
|
ARGUMENTS
|
|
1490
1434
|
ID the unique id of the resource
|
|
1491
1435
|
|
|
1492
1436
|
FLAGS
|
|
1493
|
-
-j, --json
|
|
1494
|
-
-
|
|
1495
|
-
-
|
|
1496
|
-
-u, --unformatted print JSON output without indentation
|
|
1437
|
+
-j, --json print result in JSON format
|
|
1438
|
+
-p, --print print out the modified resource
|
|
1439
|
+
-u, --unformatted print JSON output without indentation
|
|
1497
1440
|
|
|
1498
1441
|
DESCRIPTION
|
|
1499
1442
|
Send this attribute if you want to trigger the external validation for the order.
|
|
@@ -1507,16 +1450,15 @@ Execute an action on a resource of type order_subscriptions.
|
|
|
1507
1450
|
|
|
1508
1451
|
```sh-session
|
|
1509
1452
|
USAGE
|
|
1510
|
-
$ commercelayer order_subscription ID
|
|
1453
|
+
$ commercelayer order_subscription ID [-u [-j -p]]
|
|
1511
1454
|
|
|
1512
1455
|
ARGUMENTS
|
|
1513
1456
|
ID the unique id of the resource
|
|
1514
1457
|
|
|
1515
1458
|
FLAGS
|
|
1516
|
-
-j, --json
|
|
1517
|
-
-
|
|
1518
|
-
-
|
|
1519
|
-
-u, --unformatted print JSON output without indentation
|
|
1459
|
+
-j, --json print result in JSON format
|
|
1460
|
+
-p, --print print out the modified resource
|
|
1461
|
+
-u, --unformatted print JSON output without indentation
|
|
1520
1462
|
|
|
1521
1463
|
DESCRIPTION
|
|
1522
1464
|
execute an action on a resource of type order_subscriptions
|
|
@@ -1530,16 +1472,15 @@ Send this attribute if you want to mark this subscription as active.
|
|
|
1530
1472
|
|
|
1531
1473
|
```sh-session
|
|
1532
1474
|
USAGE
|
|
1533
|
-
$ commercelayer order_subscription:activate ID
|
|
1475
|
+
$ commercelayer order_subscription:activate ID [-u [-j -p]]
|
|
1534
1476
|
|
|
1535
1477
|
ARGUMENTS
|
|
1536
1478
|
ID the unique id of the resource
|
|
1537
1479
|
|
|
1538
1480
|
FLAGS
|
|
1539
|
-
-j, --json
|
|
1540
|
-
-
|
|
1541
|
-
-
|
|
1542
|
-
-u, --unformatted print JSON output without indentation
|
|
1481
|
+
-j, --json print result in JSON format
|
|
1482
|
+
-p, --print print out the modified resource
|
|
1483
|
+
-u, --unformatted print JSON output without indentation
|
|
1543
1484
|
|
|
1544
1485
|
DESCRIPTION
|
|
1545
1486
|
Send this attribute if you want to mark this subscription as active.
|
|
@@ -1553,16 +1494,15 @@ Send this attribute if you want to mark this subscription as cancelled.
|
|
|
1553
1494
|
|
|
1554
1495
|
```sh-session
|
|
1555
1496
|
USAGE
|
|
1556
|
-
$ commercelayer order_subscription:cancel ID
|
|
1497
|
+
$ commercelayer order_subscription:cancel ID [-u [-j -p]]
|
|
1557
1498
|
|
|
1558
1499
|
ARGUMENTS
|
|
1559
1500
|
ID the unique id of the resource
|
|
1560
1501
|
|
|
1561
1502
|
FLAGS
|
|
1562
|
-
-j, --json
|
|
1563
|
-
-
|
|
1564
|
-
-
|
|
1565
|
-
-u, --unformatted print JSON output without indentation
|
|
1503
|
+
-j, --json print result in JSON format
|
|
1504
|
+
-p, --print print out the modified resource
|
|
1505
|
+
-u, --unformatted print JSON output without indentation
|
|
1566
1506
|
|
|
1567
1507
|
DESCRIPTION
|
|
1568
1508
|
Send this attribute if you want to mark this subscription as cancelled.
|
|
@@ -1576,16 +1516,15 @@ Send this attribute if you want to mark this subscription as inactive.
|
|
|
1576
1516
|
|
|
1577
1517
|
```sh-session
|
|
1578
1518
|
USAGE
|
|
1579
|
-
$ commercelayer order_subscription:deactivate ID
|
|
1519
|
+
$ commercelayer order_subscription:deactivate ID [-u [-j -p]]
|
|
1580
1520
|
|
|
1581
1521
|
ARGUMENTS
|
|
1582
1522
|
ID the unique id of the resource
|
|
1583
1523
|
|
|
1584
1524
|
FLAGS
|
|
1585
|
-
-j, --json
|
|
1586
|
-
-
|
|
1587
|
-
-
|
|
1588
|
-
-u, --unformatted print JSON output without indentation
|
|
1525
|
+
-j, --json print result in JSON format
|
|
1526
|
+
-p, --print print out the modified resource
|
|
1527
|
+
-u, --unformatted print JSON output without indentation
|
|
1589
1528
|
|
|
1590
1529
|
DESCRIPTION
|
|
1591
1530
|
Send this attribute if you want to mark this subscription as inactive.
|
|
@@ -1599,16 +1538,15 @@ Execute an action on a resource of type payment_methods.
|
|
|
1599
1538
|
|
|
1600
1539
|
```sh-session
|
|
1601
1540
|
USAGE
|
|
1602
|
-
$ commercelayer payment_method ID
|
|
1541
|
+
$ commercelayer payment_method ID [-u [-j -p]]
|
|
1603
1542
|
|
|
1604
1543
|
ARGUMENTS
|
|
1605
1544
|
ID the unique id of the resource
|
|
1606
1545
|
|
|
1607
1546
|
FLAGS
|
|
1608
|
-
-j, --json
|
|
1609
|
-
-
|
|
1610
|
-
-
|
|
1611
|
-
-u, --unformatted print JSON output without indentation
|
|
1547
|
+
-j, --json print result in JSON format
|
|
1548
|
+
-p, --print print out the modified resource
|
|
1549
|
+
-u, --unformatted print JSON output without indentation
|
|
1612
1550
|
|
|
1613
1551
|
DESCRIPTION
|
|
1614
1552
|
execute an action on a resource of type payment_methods
|
|
@@ -1622,16 +1560,15 @@ Send this attribute if you want to mark the payment method as disabled.
|
|
|
1622
1560
|
|
|
1623
1561
|
```sh-session
|
|
1624
1562
|
USAGE
|
|
1625
|
-
$ commercelayer payment_method:disable ID
|
|
1563
|
+
$ commercelayer payment_method:disable ID [-u [-j -p]]
|
|
1626
1564
|
|
|
1627
1565
|
ARGUMENTS
|
|
1628
1566
|
ID the unique id of the resource
|
|
1629
1567
|
|
|
1630
1568
|
FLAGS
|
|
1631
|
-
-j, --json
|
|
1632
|
-
-
|
|
1633
|
-
-
|
|
1634
|
-
-u, --unformatted print JSON output without indentation
|
|
1569
|
+
-j, --json print result in JSON format
|
|
1570
|
+
-p, --print print out the modified resource
|
|
1571
|
+
-u, --unformatted print JSON output without indentation
|
|
1635
1572
|
|
|
1636
1573
|
DESCRIPTION
|
|
1637
1574
|
Send this attribute if you want to mark the payment method as disabled.
|
|
@@ -1645,16 +1582,15 @@ Send this attribute if you want to mark the payment method as enabled.
|
|
|
1645
1582
|
|
|
1646
1583
|
```sh-session
|
|
1647
1584
|
USAGE
|
|
1648
|
-
$ commercelayer payment_method:enable ID
|
|
1585
|
+
$ commercelayer payment_method:enable ID [-u [-j -p]]
|
|
1649
1586
|
|
|
1650
1587
|
ARGUMENTS
|
|
1651
1588
|
ID the unique id of the resource
|
|
1652
1589
|
|
|
1653
1590
|
FLAGS
|
|
1654
|
-
-j, --json
|
|
1655
|
-
-
|
|
1656
|
-
-
|
|
1657
|
-
-u, --unformatted print JSON output without indentation
|
|
1591
|
+
-j, --json print result in JSON format
|
|
1592
|
+
-p, --print print out the modified resource
|
|
1593
|
+
-u, --unformatted print JSON output without indentation
|
|
1658
1594
|
|
|
1659
1595
|
DESCRIPTION
|
|
1660
1596
|
Send this attribute if you want to mark the payment method as enabled.
|
|
@@ -1668,16 +1604,15 @@ Execute an action on a resource of type returns.
|
|
|
1668
1604
|
|
|
1669
1605
|
```sh-session
|
|
1670
1606
|
USAGE
|
|
1671
|
-
$ commercelayer return ID
|
|
1607
|
+
$ commercelayer return ID [-u [-j -p]]
|
|
1672
1608
|
|
|
1673
1609
|
ARGUMENTS
|
|
1674
1610
|
ID the unique id of the resource
|
|
1675
1611
|
|
|
1676
1612
|
FLAGS
|
|
1677
|
-
-j, --json
|
|
1678
|
-
-
|
|
1679
|
-
-
|
|
1680
|
-
-u, --unformatted print JSON output without indentation
|
|
1613
|
+
-j, --json print result in JSON format
|
|
1614
|
+
-p, --print print out the modified resource
|
|
1615
|
+
-u, --unformatted print JSON output without indentation
|
|
1681
1616
|
|
|
1682
1617
|
DESCRIPTION
|
|
1683
1618
|
execute an action on a resource of type returns
|
|
@@ -1691,16 +1626,15 @@ Send this attribute if you want to mark this return as approved.
|
|
|
1691
1626
|
|
|
1692
1627
|
```sh-session
|
|
1693
1628
|
USAGE
|
|
1694
|
-
$ commercelayer return:approve ID
|
|
1629
|
+
$ commercelayer return:approve ID [-u [-j -p]]
|
|
1695
1630
|
|
|
1696
1631
|
ARGUMENTS
|
|
1697
1632
|
ID the unique id of the resource
|
|
1698
1633
|
|
|
1699
1634
|
FLAGS
|
|
1700
|
-
-j, --json
|
|
1701
|
-
-
|
|
1702
|
-
-
|
|
1703
|
-
-u, --unformatted print JSON output without indentation
|
|
1635
|
+
-j, --json print result in JSON format
|
|
1636
|
+
-p, --print print out the modified resource
|
|
1637
|
+
-u, --unformatted print JSON output without indentation
|
|
1704
1638
|
|
|
1705
1639
|
DESCRIPTION
|
|
1706
1640
|
Send this attribute if you want to mark this return as approved.
|
|
@@ -1714,16 +1648,15 @@ Send this attribute if you want to archive the return.
|
|
|
1714
1648
|
|
|
1715
1649
|
```sh-session
|
|
1716
1650
|
USAGE
|
|
1717
|
-
$ commercelayer return:archive ID
|
|
1651
|
+
$ commercelayer return:archive ID [-u [-j -p]]
|
|
1718
1652
|
|
|
1719
1653
|
ARGUMENTS
|
|
1720
1654
|
ID the unique id of the resource
|
|
1721
1655
|
|
|
1722
1656
|
FLAGS
|
|
1723
|
-
-j, --json
|
|
1724
|
-
-
|
|
1725
|
-
-
|
|
1726
|
-
-u, --unformatted print JSON output without indentation
|
|
1657
|
+
-j, --json print result in JSON format
|
|
1658
|
+
-p, --print print out the modified resource
|
|
1659
|
+
-u, --unformatted print JSON output without indentation
|
|
1727
1660
|
|
|
1728
1661
|
DESCRIPTION
|
|
1729
1662
|
Send this attribute if you want to archive the return.
|
|
@@ -1737,16 +1670,15 @@ Send this attribute if you want to mark this return as cancelled.
|
|
|
1737
1670
|
|
|
1738
1671
|
```sh-session
|
|
1739
1672
|
USAGE
|
|
1740
|
-
$ commercelayer return:cancel ID
|
|
1673
|
+
$ commercelayer return:cancel ID [-u [-j -p]]
|
|
1741
1674
|
|
|
1742
1675
|
ARGUMENTS
|
|
1743
1676
|
ID the unique id of the resource
|
|
1744
1677
|
|
|
1745
1678
|
FLAGS
|
|
1746
|
-
-j, --json
|
|
1747
|
-
-
|
|
1748
|
-
-
|
|
1749
|
-
-u, --unformatted print JSON output without indentation
|
|
1679
|
+
-j, --json print result in JSON format
|
|
1680
|
+
-p, --print print out the modified resource
|
|
1681
|
+
-u, --unformatted print JSON output without indentation
|
|
1750
1682
|
|
|
1751
1683
|
DESCRIPTION
|
|
1752
1684
|
Send this attribute if you want to mark this return as cancelled.
|
|
@@ -1760,16 +1692,15 @@ Send this attribute if you want to mark this return as received.
|
|
|
1760
1692
|
|
|
1761
1693
|
```sh-session
|
|
1762
1694
|
USAGE
|
|
1763
|
-
$ commercelayer return:receive ID
|
|
1695
|
+
$ commercelayer return:receive ID [-u [-j -p]]
|
|
1764
1696
|
|
|
1765
1697
|
ARGUMENTS
|
|
1766
1698
|
ID the unique id of the resource
|
|
1767
1699
|
|
|
1768
1700
|
FLAGS
|
|
1769
|
-
-j, --json
|
|
1770
|
-
-
|
|
1771
|
-
-
|
|
1772
|
-
-u, --unformatted print JSON output without indentation
|
|
1701
|
+
-j, --json print result in JSON format
|
|
1702
|
+
-p, --print print out the modified resource
|
|
1703
|
+
-u, --unformatted print JSON output without indentation
|
|
1773
1704
|
|
|
1774
1705
|
DESCRIPTION
|
|
1775
1706
|
Send this attribute if you want to mark this return as received.
|
|
@@ -1783,16 +1714,15 @@ Send this attribute if you want to mark this return as rejected.
|
|
|
1783
1714
|
|
|
1784
1715
|
```sh-session
|
|
1785
1716
|
USAGE
|
|
1786
|
-
$ commercelayer return:reject ID
|
|
1717
|
+
$ commercelayer return:reject ID [-u [-j -p]]
|
|
1787
1718
|
|
|
1788
1719
|
ARGUMENTS
|
|
1789
1720
|
ID the unique id of the resource
|
|
1790
1721
|
|
|
1791
1722
|
FLAGS
|
|
1792
|
-
-j, --json
|
|
1793
|
-
-
|
|
1794
|
-
-
|
|
1795
|
-
-u, --unformatted print JSON output without indentation
|
|
1723
|
+
-j, --json print result in JSON format
|
|
1724
|
+
-p, --print print out the modified resource
|
|
1725
|
+
-u, --unformatted print JSON output without indentation
|
|
1796
1726
|
|
|
1797
1727
|
DESCRIPTION
|
|
1798
1728
|
Send this attribute if you want to mark this return as rejected.
|
|
@@ -1806,16 +1736,15 @@ Send this attribute if you want to activate this return.
|
|
|
1806
1736
|
|
|
1807
1737
|
```sh-session
|
|
1808
1738
|
USAGE
|
|
1809
|
-
$ commercelayer return:request ID
|
|
1739
|
+
$ commercelayer return:request ID [-u [-j -p]]
|
|
1810
1740
|
|
|
1811
1741
|
ARGUMENTS
|
|
1812
1742
|
ID the unique id of the resource
|
|
1813
1743
|
|
|
1814
1744
|
FLAGS
|
|
1815
|
-
-j, --json
|
|
1816
|
-
-
|
|
1817
|
-
-
|
|
1818
|
-
-u, --unformatted print JSON output without indentation
|
|
1745
|
+
-j, --json print result in JSON format
|
|
1746
|
+
-p, --print print out the modified resource
|
|
1747
|
+
-u, --unformatted print JSON output without indentation
|
|
1819
1748
|
|
|
1820
1749
|
DESCRIPTION
|
|
1821
1750
|
Send this attribute if you want to activate this return.
|
|
@@ -1829,16 +1758,15 @@ Send this attribute if you want to restock all of the return line items.
|
|
|
1829
1758
|
|
|
1830
1759
|
```sh-session
|
|
1831
1760
|
USAGE
|
|
1832
|
-
$ commercelayer return:restock ID
|
|
1761
|
+
$ commercelayer return:restock ID [-u [-j -p]]
|
|
1833
1762
|
|
|
1834
1763
|
ARGUMENTS
|
|
1835
1764
|
ID the unique id of the resource
|
|
1836
1765
|
|
|
1837
1766
|
FLAGS
|
|
1838
|
-
-j, --json
|
|
1839
|
-
-
|
|
1840
|
-
-
|
|
1841
|
-
-u, --unformatted print JSON output without indentation
|
|
1767
|
+
-j, --json print result in JSON format
|
|
1768
|
+
-p, --print print out the modified resource
|
|
1769
|
+
-u, --unformatted print JSON output without indentation
|
|
1842
1770
|
|
|
1843
1771
|
DESCRIPTION
|
|
1844
1772
|
Send this attribute if you want to restock all of the return line items.
|
|
@@ -1852,16 +1780,15 @@ Send this attribute if you want to mark this return as shipped.
|
|
|
1852
1780
|
|
|
1853
1781
|
```sh-session
|
|
1854
1782
|
USAGE
|
|
1855
|
-
$ commercelayer return:ship ID
|
|
1783
|
+
$ commercelayer return:ship ID [-u [-j -p]]
|
|
1856
1784
|
|
|
1857
1785
|
ARGUMENTS
|
|
1858
1786
|
ID the unique id of the resource
|
|
1859
1787
|
|
|
1860
1788
|
FLAGS
|
|
1861
|
-
-j, --json
|
|
1862
|
-
-
|
|
1863
|
-
-
|
|
1864
|
-
-u, --unformatted print JSON output without indentation
|
|
1789
|
+
-j, --json print result in JSON format
|
|
1790
|
+
-p, --print print out the modified resource
|
|
1791
|
+
-u, --unformatted print JSON output without indentation
|
|
1865
1792
|
|
|
1866
1793
|
DESCRIPTION
|
|
1867
1794
|
Send this attribute if you want to mark this return as shipped.
|
|
@@ -1875,16 +1802,15 @@ Send this attribute if you want to unarchive the return.
|
|
|
1875
1802
|
|
|
1876
1803
|
```sh-session
|
|
1877
1804
|
USAGE
|
|
1878
|
-
$ commercelayer return:unarchive ID
|
|
1805
|
+
$ commercelayer return:unarchive ID [-u [-j -p]]
|
|
1879
1806
|
|
|
1880
1807
|
ARGUMENTS
|
|
1881
1808
|
ID the unique id of the resource
|
|
1882
1809
|
|
|
1883
1810
|
FLAGS
|
|
1884
|
-
-j, --json
|
|
1885
|
-
-
|
|
1886
|
-
-
|
|
1887
|
-
-u, --unformatted print JSON output without indentation
|
|
1811
|
+
-j, --json print result in JSON format
|
|
1812
|
+
-p, --print print out the modified resource
|
|
1813
|
+
-u, --unformatted print JSON output without indentation
|
|
1888
1814
|
|
|
1889
1815
|
DESCRIPTION
|
|
1890
1816
|
Send this attribute if you want to unarchive the return.
|
|
@@ -1898,16 +1824,15 @@ Execute an action on a resource of type return_line_items.
|
|
|
1898
1824
|
|
|
1899
1825
|
```sh-session
|
|
1900
1826
|
USAGE
|
|
1901
|
-
$ commercelayer return_line_item ID
|
|
1827
|
+
$ commercelayer return_line_item ID [-u [-j -p]]
|
|
1902
1828
|
|
|
1903
1829
|
ARGUMENTS
|
|
1904
1830
|
ID the unique id of the resource
|
|
1905
1831
|
|
|
1906
1832
|
FLAGS
|
|
1907
|
-
-j, --json
|
|
1908
|
-
-
|
|
1909
|
-
-
|
|
1910
|
-
-u, --unformatted print JSON output without indentation
|
|
1833
|
+
-j, --json print result in JSON format
|
|
1834
|
+
-p, --print print out the modified resource
|
|
1835
|
+
-u, --unformatted print JSON output without indentation
|
|
1911
1836
|
|
|
1912
1837
|
DESCRIPTION
|
|
1913
1838
|
execute an action on a resource of type return_line_items
|
|
@@ -1921,16 +1846,15 @@ Send this attribute if you want to restock the line item.
|
|
|
1921
1846
|
|
|
1922
1847
|
```sh-session
|
|
1923
1848
|
USAGE
|
|
1924
|
-
$ commercelayer return_line_item:restock ID
|
|
1849
|
+
$ commercelayer return_line_item:restock ID [-u [-j -p]]
|
|
1925
1850
|
|
|
1926
1851
|
ARGUMENTS
|
|
1927
1852
|
ID the unique id of the resource
|
|
1928
1853
|
|
|
1929
1854
|
FLAGS
|
|
1930
|
-
-j, --json
|
|
1931
|
-
-
|
|
1932
|
-
-
|
|
1933
|
-
-u, --unformatted print JSON output without indentation
|
|
1855
|
+
-j, --json print result in JSON format
|
|
1856
|
+
-p, --print print out the modified resource
|
|
1857
|
+
-u, --unformatted print JSON output without indentation
|
|
1934
1858
|
|
|
1935
1859
|
DESCRIPTION
|
|
1936
1860
|
Send this attribute if you want to restock the line item.
|
|
@@ -1938,22 +1862,65 @@ DESCRIPTION
|
|
|
1938
1862
|
|
|
1939
1863
|
_See code: [src/commands/return_line_item/restock.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/return_line_item/restock.ts)_
|
|
1940
1864
|
|
|
1865
|
+
### `commercelayer satispay_payment ID`
|
|
1866
|
+
|
|
1867
|
+
Execute an action on a resource of type satispay_payments.
|
|
1868
|
+
|
|
1869
|
+
```sh-session
|
|
1870
|
+
USAGE
|
|
1871
|
+
$ commercelayer satispay_payment ID [-u [-j -p]]
|
|
1872
|
+
|
|
1873
|
+
ARGUMENTS
|
|
1874
|
+
ID the unique id of the resource
|
|
1875
|
+
|
|
1876
|
+
FLAGS
|
|
1877
|
+
-j, --json print result in JSON format
|
|
1878
|
+
-p, --print print out the modified resource
|
|
1879
|
+
-u, --unformatted print JSON output without indentation
|
|
1880
|
+
|
|
1881
|
+
DESCRIPTION
|
|
1882
|
+
execute an action on a resource of type satispay_payments
|
|
1883
|
+
```
|
|
1884
|
+
|
|
1885
|
+
_See code: [src/commands/satispay_payment/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/satispay_payment/index.ts)_
|
|
1886
|
+
|
|
1887
|
+
### `commercelayer satispay_payment:refresh ID`
|
|
1888
|
+
|
|
1889
|
+
Send this attribute if you want to refresh all the pending transactions, can be used as webhooks fallback logic.
|
|
1890
|
+
|
|
1891
|
+
```sh-session
|
|
1892
|
+
USAGE
|
|
1893
|
+
$ commercelayer satispay_payment:refresh ID [-u [-j -p]]
|
|
1894
|
+
|
|
1895
|
+
ARGUMENTS
|
|
1896
|
+
ID the unique id of the resource
|
|
1897
|
+
|
|
1898
|
+
FLAGS
|
|
1899
|
+
-j, --json print result in JSON format
|
|
1900
|
+
-p, --print print out the modified resource
|
|
1901
|
+
-u, --unformatted print JSON output without indentation
|
|
1902
|
+
|
|
1903
|
+
DESCRIPTION
|
|
1904
|
+
Send this attribute if you want to refresh all the pending transactions, can be used as webhooks fallback logic.
|
|
1905
|
+
```
|
|
1906
|
+
|
|
1907
|
+
_See code: [src/commands/satispay_payment/refresh.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/satispay_payment/refresh.ts)_
|
|
1908
|
+
|
|
1941
1909
|
### `commercelayer shipment ID`
|
|
1942
1910
|
|
|
1943
1911
|
Execute an action on a resource of type shipments.
|
|
1944
1912
|
|
|
1945
1913
|
```sh-session
|
|
1946
1914
|
USAGE
|
|
1947
|
-
$ commercelayer shipment ID
|
|
1915
|
+
$ commercelayer shipment ID [-u [-j -p]]
|
|
1948
1916
|
|
|
1949
1917
|
ARGUMENTS
|
|
1950
1918
|
ID the unique id of the resource
|
|
1951
1919
|
|
|
1952
1920
|
FLAGS
|
|
1953
|
-
-j, --json
|
|
1954
|
-
-
|
|
1955
|
-
-
|
|
1956
|
-
-u, --unformatted print JSON output without indentation
|
|
1921
|
+
-j, --json print result in JSON format
|
|
1922
|
+
-p, --print print out the modified resource
|
|
1923
|
+
-u, --unformatted print JSON output without indentation
|
|
1957
1924
|
|
|
1958
1925
|
DESCRIPTION
|
|
1959
1926
|
execute an action on a resource of type shipments
|
|
@@ -1967,16 +1934,15 @@ Send this attribute if you want get the shipping rates from the associated carri
|
|
|
1967
1934
|
|
|
1968
1935
|
```sh-session
|
|
1969
1936
|
USAGE
|
|
1970
|
-
$ commercelayer shipment:get_rates ID
|
|
1937
|
+
$ commercelayer shipment:get_rates ID [-u [-j -p]]
|
|
1971
1938
|
|
|
1972
1939
|
ARGUMENTS
|
|
1973
1940
|
ID the unique id of the resource
|
|
1974
1941
|
|
|
1975
1942
|
FLAGS
|
|
1976
|
-
-j, --json
|
|
1977
|
-
-
|
|
1978
|
-
-
|
|
1979
|
-
-u, --unformatted print JSON output without indentation
|
|
1943
|
+
-j, --json print result in JSON format
|
|
1944
|
+
-p, --print print out the modified resource
|
|
1945
|
+
-u, --unformatted print JSON output without indentation
|
|
1980
1946
|
|
|
1981
1947
|
DESCRIPTION
|
|
1982
1948
|
Send this attribute if you want get the shipping rates from the associated carrier accounts.
|
|
@@ -1990,16 +1956,15 @@ Send this attribute if you want to put this shipment on hold.
|
|
|
1990
1956
|
|
|
1991
1957
|
```sh-session
|
|
1992
1958
|
USAGE
|
|
1993
|
-
$ commercelayer shipment:on_hold ID
|
|
1959
|
+
$ commercelayer shipment:on_hold ID [-u [-j -p]]
|
|
1994
1960
|
|
|
1995
1961
|
ARGUMENTS
|
|
1996
1962
|
ID the unique id of the resource
|
|
1997
1963
|
|
|
1998
1964
|
FLAGS
|
|
1999
|
-
-j, --json
|
|
2000
|
-
-
|
|
2001
|
-
-
|
|
2002
|
-
-u, --unformatted print JSON output without indentation
|
|
1965
|
+
-j, --json print result in JSON format
|
|
1966
|
+
-p, --print print out the modified resource
|
|
1967
|
+
-u, --unformatted print JSON output without indentation
|
|
2003
1968
|
|
|
2004
1969
|
DESCRIPTION
|
|
2005
1970
|
Send this attribute if you want to put this shipment on hold.
|
|
@@ -2013,16 +1978,15 @@ Send this attribute if you want to start packing this shipment.
|
|
|
2013
1978
|
|
|
2014
1979
|
```sh-session
|
|
2015
1980
|
USAGE
|
|
2016
|
-
$ commercelayer shipment:packing ID
|
|
1981
|
+
$ commercelayer shipment:packing ID [-u [-j -p]]
|
|
2017
1982
|
|
|
2018
1983
|
ARGUMENTS
|
|
2019
1984
|
ID the unique id of the resource
|
|
2020
1985
|
|
|
2021
1986
|
FLAGS
|
|
2022
|
-
-j, --json
|
|
2023
|
-
-
|
|
2024
|
-
-
|
|
2025
|
-
-u, --unformatted print JSON output without indentation
|
|
1987
|
+
-j, --json print result in JSON format
|
|
1988
|
+
-p, --print print out the modified resource
|
|
1989
|
+
-u, --unformatted print JSON output without indentation
|
|
2026
1990
|
|
|
2027
1991
|
DESCRIPTION
|
|
2028
1992
|
Send this attribute if you want to start packing this shipment.
|
|
@@ -2036,16 +2000,15 @@ Send this attribute if you want to start picking this shipment.
|
|
|
2036
2000
|
|
|
2037
2001
|
```sh-session
|
|
2038
2002
|
USAGE
|
|
2039
|
-
$ commercelayer shipment:picking ID
|
|
2003
|
+
$ commercelayer shipment:picking ID [-u [-j -p]]
|
|
2040
2004
|
|
|
2041
2005
|
ARGUMENTS
|
|
2042
2006
|
ID the unique id of the resource
|
|
2043
2007
|
|
|
2044
2008
|
FLAGS
|
|
2045
|
-
-j, --json
|
|
2046
|
-
-
|
|
2047
|
-
-
|
|
2048
|
-
-u, --unformatted print JSON output without indentation
|
|
2009
|
+
-j, --json print result in JSON format
|
|
2010
|
+
-p, --print print out the modified resource
|
|
2011
|
+
-u, --unformatted print JSON output without indentation
|
|
2049
2012
|
|
|
2050
2013
|
DESCRIPTION
|
|
2051
2014
|
Send this attribute if you want to start picking this shipment.
|
|
@@ -2059,16 +2022,15 @@ Send this attribute if you want to purchase this shipment with the selected rate
|
|
|
2059
2022
|
|
|
2060
2023
|
```sh-session
|
|
2061
2024
|
USAGE
|
|
2062
|
-
$ commercelayer shipment:purchase ID
|
|
2025
|
+
$ commercelayer shipment:purchase ID [-u [-j -p]]
|
|
2063
2026
|
|
|
2064
2027
|
ARGUMENTS
|
|
2065
2028
|
ID the unique id of the resource
|
|
2066
2029
|
|
|
2067
2030
|
FLAGS
|
|
2068
|
-
-j, --json
|
|
2069
|
-
-
|
|
2070
|
-
-
|
|
2071
|
-
-u, --unformatted print JSON output without indentation
|
|
2031
|
+
-j, --json print result in JSON format
|
|
2032
|
+
-p, --print print out the modified resource
|
|
2033
|
+
-u, --unformatted print JSON output without indentation
|
|
2072
2034
|
|
|
2073
2035
|
DESCRIPTION
|
|
2074
2036
|
Send this attribute if you want to purchase this shipment with the selected rate.
|
|
@@ -2082,16 +2044,15 @@ Send this attribute if you want to mark this shipment as ready to ship.
|
|
|
2082
2044
|
|
|
2083
2045
|
```sh-session
|
|
2084
2046
|
USAGE
|
|
2085
|
-
$ commercelayer shipment:ready_to_ship ID
|
|
2047
|
+
$ commercelayer shipment:ready_to_ship ID [-u [-j -p]]
|
|
2086
2048
|
|
|
2087
2049
|
ARGUMENTS
|
|
2088
2050
|
ID the unique id of the resource
|
|
2089
2051
|
|
|
2090
2052
|
FLAGS
|
|
2091
|
-
-j, --json
|
|
2092
|
-
-
|
|
2093
|
-
-
|
|
2094
|
-
-u, --unformatted print JSON output without indentation
|
|
2053
|
+
-j, --json print result in JSON format
|
|
2054
|
+
-p, --print print out the modified resource
|
|
2055
|
+
-u, --unformatted print JSON output without indentation
|
|
2095
2056
|
|
|
2096
2057
|
DESCRIPTION
|
|
2097
2058
|
Send this attribute if you want to mark this shipment as ready to ship.
|
|
@@ -2105,16 +2066,15 @@ Send this attribute if you want to mark this shipment as shipped.
|
|
|
2105
2066
|
|
|
2106
2067
|
```sh-session
|
|
2107
2068
|
USAGE
|
|
2108
|
-
$ commercelayer shipment:ship ID
|
|
2069
|
+
$ commercelayer shipment:ship ID [-u [-j -p]]
|
|
2109
2070
|
|
|
2110
2071
|
ARGUMENTS
|
|
2111
2072
|
ID the unique id of the resource
|
|
2112
2073
|
|
|
2113
2074
|
FLAGS
|
|
2114
|
-
-j, --json
|
|
2115
|
-
-
|
|
2116
|
-
-
|
|
2117
|
-
-u, --unformatted print JSON output without indentation
|
|
2075
|
+
-j, --json print result in JSON format
|
|
2076
|
+
-p, --print print out the modified resource
|
|
2077
|
+
-u, --unformatted print JSON output without indentation
|
|
2118
2078
|
|
|
2119
2079
|
DESCRIPTION
|
|
2120
2080
|
Send this attribute if you want to mark this shipment as shipped.
|
|
@@ -2128,16 +2088,15 @@ Execute an action on a resource of type shipping_methods.
|
|
|
2128
2088
|
|
|
2129
2089
|
```sh-session
|
|
2130
2090
|
USAGE
|
|
2131
|
-
$ commercelayer shipping_method ID
|
|
2091
|
+
$ commercelayer shipping_method ID [-u [-j -p]]
|
|
2132
2092
|
|
|
2133
2093
|
ARGUMENTS
|
|
2134
2094
|
ID the unique id of the resource
|
|
2135
2095
|
|
|
2136
2096
|
FLAGS
|
|
2137
|
-
-j, --json
|
|
2138
|
-
-
|
|
2139
|
-
-
|
|
2140
|
-
-u, --unformatted print JSON output without indentation
|
|
2097
|
+
-j, --json print result in JSON format
|
|
2098
|
+
-p, --print print out the modified resource
|
|
2099
|
+
-u, --unformatted print JSON output without indentation
|
|
2141
2100
|
|
|
2142
2101
|
DESCRIPTION
|
|
2143
2102
|
execute an action on a resource of type shipping_methods
|
|
@@ -2151,16 +2110,15 @@ Send this attribute if you want to mark the shipping method as disabled.
|
|
|
2151
2110
|
|
|
2152
2111
|
```sh-session
|
|
2153
2112
|
USAGE
|
|
2154
|
-
$ commercelayer shipping_method:disable ID
|
|
2113
|
+
$ commercelayer shipping_method:disable ID [-u [-j -p]]
|
|
2155
2114
|
|
|
2156
2115
|
ARGUMENTS
|
|
2157
2116
|
ID the unique id of the resource
|
|
2158
2117
|
|
|
2159
2118
|
FLAGS
|
|
2160
|
-
-j, --json
|
|
2161
|
-
-
|
|
2162
|
-
-
|
|
2163
|
-
-u, --unformatted print JSON output without indentation
|
|
2119
|
+
-j, --json print result in JSON format
|
|
2120
|
+
-p, --print print out the modified resource
|
|
2121
|
+
-u, --unformatted print JSON output without indentation
|
|
2164
2122
|
|
|
2165
2123
|
DESCRIPTION
|
|
2166
2124
|
Send this attribute if you want to mark the shipping method as disabled.
|
|
@@ -2174,16 +2132,15 @@ Send this attribute if you want to mark the shipping method as enabled.
|
|
|
2174
2132
|
|
|
2175
2133
|
```sh-session
|
|
2176
2134
|
USAGE
|
|
2177
|
-
$ commercelayer shipping_method:enable ID
|
|
2135
|
+
$ commercelayer shipping_method:enable ID [-u [-j -p]]
|
|
2178
2136
|
|
|
2179
2137
|
ARGUMENTS
|
|
2180
2138
|
ID the unique id of the resource
|
|
2181
2139
|
|
|
2182
2140
|
FLAGS
|
|
2183
|
-
-j, --json
|
|
2184
|
-
-
|
|
2185
|
-
-
|
|
2186
|
-
-u, --unformatted print JSON output without indentation
|
|
2141
|
+
-j, --json print result in JSON format
|
|
2142
|
+
-p, --print print out the modified resource
|
|
2143
|
+
-u, --unformatted print JSON output without indentation
|
|
2187
2144
|
|
|
2188
2145
|
DESCRIPTION
|
|
2189
2146
|
Send this attribute if you want to mark the shipping method as enabled.
|
|
@@ -2197,16 +2154,15 @@ Execute an action on a resource of type stock_transfers.
|
|
|
2197
2154
|
|
|
2198
2155
|
```sh-session
|
|
2199
2156
|
USAGE
|
|
2200
|
-
$ commercelayer stock_transfer ID
|
|
2157
|
+
$ commercelayer stock_transfer ID [-u [-j -p]]
|
|
2201
2158
|
|
|
2202
2159
|
ARGUMENTS
|
|
2203
2160
|
ID the unique id of the resource
|
|
2204
2161
|
|
|
2205
2162
|
FLAGS
|
|
2206
|
-
-j, --json
|
|
2207
|
-
-
|
|
2208
|
-
-
|
|
2209
|
-
-u, --unformatted print JSON output without indentation
|
|
2163
|
+
-j, --json print result in JSON format
|
|
2164
|
+
-p, --print print out the modified resource
|
|
2165
|
+
-u, --unformatted print JSON output without indentation
|
|
2210
2166
|
|
|
2211
2167
|
DESCRIPTION
|
|
2212
2168
|
execute an action on a resource of type stock_transfers
|
|
@@ -2220,16 +2176,15 @@ Send this attribute if you want to cancel this stock transfer.
|
|
|
2220
2176
|
|
|
2221
2177
|
```sh-session
|
|
2222
2178
|
USAGE
|
|
2223
|
-
$ commercelayer stock_transfer:cancel ID
|
|
2179
|
+
$ commercelayer stock_transfer:cancel ID [-u [-j -p]]
|
|
2224
2180
|
|
|
2225
2181
|
ARGUMENTS
|
|
2226
2182
|
ID the unique id of the resource
|
|
2227
2183
|
|
|
2228
2184
|
FLAGS
|
|
2229
|
-
-j, --json
|
|
2230
|
-
-
|
|
2231
|
-
-
|
|
2232
|
-
-u, --unformatted print JSON output without indentation
|
|
2185
|
+
-j, --json print result in JSON format
|
|
2186
|
+
-p, --print print out the modified resource
|
|
2187
|
+
-u, --unformatted print JSON output without indentation
|
|
2233
2188
|
|
|
2234
2189
|
DESCRIPTION
|
|
2235
2190
|
Send this attribute if you want to cancel this stock transfer.
|
|
@@ -2243,16 +2198,15 @@ Send this attribute if you want to complete this stock transfer.
|
|
|
2243
2198
|
|
|
2244
2199
|
```sh-session
|
|
2245
2200
|
USAGE
|
|
2246
|
-
$ commercelayer stock_transfer:complete ID
|
|
2201
|
+
$ commercelayer stock_transfer:complete ID [-u [-j -p]]
|
|
2247
2202
|
|
|
2248
2203
|
ARGUMENTS
|
|
2249
2204
|
ID the unique id of the resource
|
|
2250
2205
|
|
|
2251
2206
|
FLAGS
|
|
2252
|
-
-j, --json
|
|
2253
|
-
-
|
|
2254
|
-
-
|
|
2255
|
-
-u, --unformatted print JSON output without indentation
|
|
2207
|
+
-j, --json print result in JSON format
|
|
2208
|
+
-p, --print print out the modified resource
|
|
2209
|
+
-u, --unformatted print JSON output without indentation
|
|
2256
2210
|
|
|
2257
2211
|
DESCRIPTION
|
|
2258
2212
|
Send this attribute if you want to complete this stock transfer.
|
|
@@ -2266,16 +2220,15 @@ Send this attribute if you want to mark this stock transfer as in transit.
|
|
|
2266
2220
|
|
|
2267
2221
|
```sh-session
|
|
2268
2222
|
USAGE
|
|
2269
|
-
$ commercelayer stock_transfer:in_transit ID
|
|
2223
|
+
$ commercelayer stock_transfer:in_transit ID [-u [-j -p]]
|
|
2270
2224
|
|
|
2271
2225
|
ARGUMENTS
|
|
2272
2226
|
ID the unique id of the resource
|
|
2273
2227
|
|
|
2274
2228
|
FLAGS
|
|
2275
|
-
-j, --json
|
|
2276
|
-
-
|
|
2277
|
-
-
|
|
2278
|
-
-u, --unformatted print JSON output without indentation
|
|
2229
|
+
-j, --json print result in JSON format
|
|
2230
|
+
-p, --print print out the modified resource
|
|
2231
|
+
-u, --unformatted print JSON output without indentation
|
|
2279
2232
|
|
|
2280
2233
|
DESCRIPTION
|
|
2281
2234
|
Send this attribute if you want to mark this stock transfer as in transit.
|
|
@@ -2289,16 +2242,15 @@ Send this attribute if you want to start picking this stock transfer.
|
|
|
2289
2242
|
|
|
2290
2243
|
```sh-session
|
|
2291
2244
|
USAGE
|
|
2292
|
-
$ commercelayer stock_transfer:picking ID
|
|
2245
|
+
$ commercelayer stock_transfer:picking ID [-u [-j -p]]
|
|
2293
2246
|
|
|
2294
2247
|
ARGUMENTS
|
|
2295
2248
|
ID the unique id of the resource
|
|
2296
2249
|
|
|
2297
2250
|
FLAGS
|
|
2298
|
-
-j, --json
|
|
2299
|
-
-
|
|
2300
|
-
-
|
|
2301
|
-
-u, --unformatted print JSON output without indentation
|
|
2251
|
+
-j, --json print result in JSON format
|
|
2252
|
+
-p, --print print out the modified resource
|
|
2253
|
+
-u, --unformatted print JSON output without indentation
|
|
2302
2254
|
|
|
2303
2255
|
DESCRIPTION
|
|
2304
2256
|
Send this attribute if you want to start picking this stock transfer.
|
|
@@ -2312,16 +2264,15 @@ Send this attribute if you want to mark this stock transfer as upcoming.
|
|
|
2312
2264
|
|
|
2313
2265
|
```sh-session
|
|
2314
2266
|
USAGE
|
|
2315
|
-
$ commercelayer stock_transfer:upcoming ID
|
|
2267
|
+
$ commercelayer stock_transfer:upcoming ID [-u [-j -p]]
|
|
2316
2268
|
|
|
2317
2269
|
ARGUMENTS
|
|
2318
2270
|
ID the unique id of the resource
|
|
2319
2271
|
|
|
2320
2272
|
FLAGS
|
|
2321
|
-
-j, --json
|
|
2322
|
-
-
|
|
2323
|
-
-
|
|
2324
|
-
-u, --unformatted print JSON output without indentation
|
|
2273
|
+
-j, --json print result in JSON format
|
|
2274
|
+
-p, --print print out the modified resource
|
|
2275
|
+
-u, --unformatted print JSON output without indentation
|
|
2325
2276
|
|
|
2326
2277
|
DESCRIPTION
|
|
2327
2278
|
Send this attribute if you want to mark this stock transfer as upcoming.
|
|
@@ -2335,16 +2286,15 @@ Execute an action on a resource of type stripe_payments.
|
|
|
2335
2286
|
|
|
2336
2287
|
```sh-session
|
|
2337
2288
|
USAGE
|
|
2338
|
-
$ commercelayer stripe_payment ID
|
|
2289
|
+
$ commercelayer stripe_payment ID [-u [-j -p]]
|
|
2339
2290
|
|
|
2340
2291
|
ARGUMENTS
|
|
2341
2292
|
ID the unique id of the resource
|
|
2342
2293
|
|
|
2343
2294
|
FLAGS
|
|
2344
|
-
-j, --json
|
|
2345
|
-
-
|
|
2346
|
-
-
|
|
2347
|
-
-u, --unformatted print JSON output without indentation
|
|
2295
|
+
-j, --json print result in JSON format
|
|
2296
|
+
-p, --print print out the modified resource
|
|
2297
|
+
-u, --unformatted print JSON output without indentation
|
|
2348
2298
|
|
|
2349
2299
|
DESCRIPTION
|
|
2350
2300
|
execute an action on a resource of type stripe_payments
|
|
@@ -2358,16 +2308,15 @@ Send this attribute if you want to refresh the payment status, can be used as we
|
|
|
2358
2308
|
|
|
2359
2309
|
```sh-session
|
|
2360
2310
|
USAGE
|
|
2361
|
-
$ commercelayer stripe_payment:refresh ID
|
|
2311
|
+
$ commercelayer stripe_payment:refresh ID [-u [-j -p]]
|
|
2362
2312
|
|
|
2363
2313
|
ARGUMENTS
|
|
2364
2314
|
ID the unique id of the resource
|
|
2365
2315
|
|
|
2366
2316
|
FLAGS
|
|
2367
|
-
-j, --json
|
|
2368
|
-
-
|
|
2369
|
-
-
|
|
2370
|
-
-u, --unformatted print JSON output without indentation
|
|
2317
|
+
-j, --json print result in JSON format
|
|
2318
|
+
-p, --print print out the modified resource
|
|
2319
|
+
-u, --unformatted print JSON output without indentation
|
|
2371
2320
|
|
|
2372
2321
|
DESCRIPTION
|
|
2373
2322
|
Send this attribute if you want to refresh the payment status, can be used as webhooks fallback logic.
|
|
@@ -2381,16 +2330,15 @@ Execute an action on a resource of type webhooks.
|
|
|
2381
2330
|
|
|
2382
2331
|
```sh-session
|
|
2383
2332
|
USAGE
|
|
2384
|
-
$ commercelayer webhook ID
|
|
2333
|
+
$ commercelayer webhook ID [-u [-j -p]]
|
|
2385
2334
|
|
|
2386
2335
|
ARGUMENTS
|
|
2387
2336
|
ID the unique id of the resource
|
|
2388
2337
|
|
|
2389
2338
|
FLAGS
|
|
2390
|
-
-j, --json
|
|
2391
|
-
-
|
|
2392
|
-
-
|
|
2393
|
-
-u, --unformatted print JSON output without indentation
|
|
2339
|
+
-j, --json print result in JSON format
|
|
2340
|
+
-p, --print print out the modified resource
|
|
2341
|
+
-u, --unformatted print JSON output without indentation
|
|
2394
2342
|
|
|
2395
2343
|
DESCRIPTION
|
|
2396
2344
|
execute an action on a resource of type webhooks
|
|
@@ -2404,16 +2352,15 @@ Send this attribute if you want to reset the circuit breaker associated to this
|
|
|
2404
2352
|
|
|
2405
2353
|
```sh-session
|
|
2406
2354
|
USAGE
|
|
2407
|
-
$ commercelayer webhook:reset_circuit ID
|
|
2355
|
+
$ commercelayer webhook:reset_circuit ID [-u [-j -p]]
|
|
2408
2356
|
|
|
2409
2357
|
ARGUMENTS
|
|
2410
2358
|
ID the unique id of the resource
|
|
2411
2359
|
|
|
2412
2360
|
FLAGS
|
|
2413
|
-
-j, --json
|
|
2414
|
-
-
|
|
2415
|
-
-
|
|
2416
|
-
-u, --unformatted print JSON output without indentation
|
|
2361
|
+
-j, --json print result in JSON format
|
|
2362
|
+
-p, --print print out the modified resource
|
|
2363
|
+
-u, --unformatted print JSON output without indentation
|
|
2417
2364
|
|
|
2418
2365
|
DESCRIPTION
|
|
2419
2366
|
Send this attribute if you want to reset the circuit breaker associated to this webhook to 'closed' state and zero
|