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