@commercelayer/cli-plugin-orders
Advanced tools
Comparing version 4.2.0 to 4.2.1
@@ -19,3 +19,3 @@ import { Order } from '@commercelayer/sdk'; | ||
catch(error: any): Promise<void>; | ||
protected handleError(error: any, flags?: any): void; | ||
protected handleError(error: any, flags?: any, id?: string): void; | ||
protected printOutput(order: Order, flags: any): void; | ||
@@ -22,0 +22,0 @@ protected successMessage(action: string, id: string): void; |
@@ -18,8 +18,11 @@ "use strict"; | ||
} | ||
handleError(error, flags) { | ||
handleError(error, flags, id) { | ||
if (sdk_1.CommerceLayerStatic.isApiError(error)) { | ||
if (error.status === 401) { | ||
const err = error.first(); | ||
this.error(cli_core_1.clColor.msg.error(`${err.title}: ${err.detail}`), { suggestions: ['Execute login to get access to the organization\'s imports'] }); | ||
this.error(cli_core_1.clColor.msg.error(`${err.title}: ${err.detail}`), { suggestions: ['Execute login to get access to the organization\'s orders'] }); | ||
} | ||
else if (error.status === 404) { | ||
this.error(`Unable to find order${id ? ` with id ${cli_core_1.clColor.msg.error(id)}` : ''}`); | ||
} | ||
else | ||
@@ -26,0 +29,0 @@ this.error(cli_core_1.clOutput.formatError(error, flags)); |
@@ -1,1 +0,1 @@ | ||
{"version":"4.2.0","commands":{"orders:approve":{"id":"orders:approve","description":"Send this attribute if you want to approve a placed order.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:approve_and_capture":{"id":"orders:approve_and_capture","description":"Send this attribute if you want to approve and capture a placed order.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:archive":{"id":"orders:archive","description":"Send this attribute if you want to archive the order.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:authorization_amount_cents":{"id":"orders:authorization_amount_cents","description":"The authorization amount, in cents.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:authorize":{"id":"orders:authorize","description":"Send this attribute if you want to authorize the order's payment source.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:billing_address_clone_id":{"id":"orders:billing_address_clone_id","description":"The id of the address that you want to clone to create the order's billing address.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]},"value":{"name":"value","type":"option","char":"v","description":"the trigger attribute value","required":true,"multiple":false}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:billing_address_same_as_shipping":{"id":"orders:billing_address_same_as_shipping","description":"Send this attribute if you want the billing address to be cloned from the order's shipping address.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:cancel":{"id":"orders:cancel","description":"Send this attribute if you want to cancel a placed order. The order's authorization will be automatically voided.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:capture":{"id":"orders:capture","description":"Send this attribute if you want to capture an approved order.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:customer_payment_source_id":{"id":"orders:customer_payment_source_id","description":"The id of the customer payment source (i.e. credit card) that you want to use as the order's payment source.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]},"value":{"name":"value","type":"option","char":"v","description":"the trigger attribute value","required":true,"multiple":false}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders":{"id":"orders","description":"execute an action on an order","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:noc":{"id":"orders:noc","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","hidden":true,"aliases":[],"flags":{},"args":[],"_globalFlags":{}},"orders:nullify_payment_source":{"id":"orders:nullify_payment_source","description":"Send this attribute if you want to nullify the payment source for this order.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:place":{"id":"orders:place","description":"Send this attribute if you want to place the order.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:refresh":{"id":"orders:refresh","description":"Send this attribute if you want to manually refresh the order.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:refund":{"id":"orders:refund","description":"Send this attribute if you want to refund a captured order.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:save_billing_address_to_customer_address_book":{"id":"orders:save_billing_address_to_customer_address_book","description":"Send this attribute if you want the order's billing address to be saved in the customer's address book as a customer address.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:save_payment_source_to_customer_wallet":{"id":"orders:save_payment_source_to_customer_wallet","description":"Send this attribute if you want the order's payment source to be saved in the customer's wallet as a customer payment source.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:save_shipping_address_to_customer_address_book":{"id":"orders:save_shipping_address_to_customer_address_book","description":"Send this attribute if you want the order's shipping address to be saved in the customer's address book as a customer address.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:shipping_address_clone_id":{"id":"orders:shipping_address_clone_id","description":"The id of the address that you want to clone to create the order's shipping address.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]},"value":{"name":"value","type":"option","char":"v","description":"the trigger attribute value","required":true,"multiple":false}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:shipping_address_same_as_billing":{"id":"orders:shipping_address_same_as_billing","description":"Send this attribute if you want the shipping address to be cloned from the order's billing address.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:unarchive":{"id":"orders:unarchive","description":"Send this attribute if you want to unarchive the order.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:update_taxes":{"id":"orders:update_taxes","description":"Send this attribute if you want to force tax calculation for this order (a tax calculator must be associated to the order's market).","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}}}} | ||
{"version":"4.2.1","commands":{"orders:approve":{"id":"orders:approve","description":"Send this attribute if you want to approve a placed order.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:approve_and_capture":{"id":"orders:approve_and_capture","description":"Send this attribute if you want to approve and capture a placed order.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:archive":{"id":"orders:archive","description":"Send this attribute if you want to archive the order.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:authorization_amount_cents":{"id":"orders:authorization_amount_cents","description":"The authorization amount, in cents.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:authorize":{"id":"orders:authorize","description":"Send this attribute if you want to authorize the order's payment source.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:billing_address_clone_id":{"id":"orders:billing_address_clone_id","description":"The id of the address that you want to clone to create the order's billing address.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]},"value":{"name":"value","type":"option","char":"v","description":"the trigger attribute value","required":true,"multiple":false}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:billing_address_same_as_shipping":{"id":"orders:billing_address_same_as_shipping","description":"Send this attribute if you want the billing address to be cloned from the order's shipping address.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:cancel":{"id":"orders:cancel","description":"Send this attribute if you want to cancel a placed order. The order's authorization will be automatically voided.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:capture":{"id":"orders:capture","description":"Send this attribute if you want to capture an approved order.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:customer_payment_source_id":{"id":"orders:customer_payment_source_id","description":"The id of the customer payment source (i.e. credit card) that you want to use as the order's payment source.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]},"value":{"name":"value","type":"option","char":"v","description":"the trigger attribute value","required":true,"multiple":false}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders":{"id":"orders","description":"execute an action on an order","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:noc":{"id":"orders:noc","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","hidden":true,"aliases":[],"flags":{},"args":[],"_globalFlags":{}},"orders:nullify_payment_source":{"id":"orders:nullify_payment_source","description":"Send this attribute if you want to nullify the payment source for this order.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:place":{"id":"orders:place","description":"Send this attribute if you want to place the order.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:refresh":{"id":"orders:refresh","description":"Send this attribute if you want to manually refresh the order.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:refund":{"id":"orders:refund","description":"Send this attribute if you want to refund a captured order.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:save_billing_address_to_customer_address_book":{"id":"orders:save_billing_address_to_customer_address_book","description":"Send this attribute if you want the order's billing address to be saved in the customer's address book as a customer address.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:save_payment_source_to_customer_wallet":{"id":"orders:save_payment_source_to_customer_wallet","description":"Send this attribute if you want the order's payment source to be saved in the customer's wallet as a customer payment source.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:save_shipping_address_to_customer_address_book":{"id":"orders:save_shipping_address_to_customer_address_book","description":"Send this attribute if you want the order's shipping address to be saved in the customer's address book as a customer address.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:shipping_address_clone_id":{"id":"orders:shipping_address_clone_id","description":"The id of the address that you want to clone to create the order's shipping address.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]},"value":{"name":"value","type":"option","char":"v","description":"the trigger attribute value","required":true,"multiple":false}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:shipping_address_same_as_billing":{"id":"orders:shipping_address_same_as_billing","description":"Send this attribute if you want the shipping address to be cloned from the order's billing address.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:unarchive":{"id":"orders:unarchive","description":"Send this attribute if you want to unarchive the order.","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}},"orders:update_taxes":{"id":"orders:update_taxes","description":"Send this attribute if you want to force tax calculation for this order (a tax calculator must be associated to the order's market).","strict":true,"pluginName":"@commercelayer/cli-plugin-orders","pluginAlias":"@commercelayer/cli-plugin-orders","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true,"multiple":false},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false,"multiple":false,"dependsOn":["organization"]},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true,"multiple":false},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified order","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false,"dependsOn":["print"]},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false,"dependsOn":["json"]}},"args":[{"name":"id","description":"the unique id of the order","required":true}],"_globalFlags":{}}}} |
{ | ||
"name": "@commercelayer/cli-plugin-orders", | ||
"description": "Commerce Layer CLI Orders plugin", | ||
"version": "4.2.0", | ||
"version": "4.2.1", | ||
"author": "Pierluigi Viti <pierluigi@commercelayer.io>", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/commercelayer/commercelayer-cli-plugin-orders/issues", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
103518
1213