From 9f7e019d026166983812107967398e67d10b0920 Mon Sep 17 00:00:00 2001 From: Jacklyn Biggin Date: Tue, 12 Mar 2024 11:06:37 -0400 Subject: [PATCH] Fix character encoding issues across the docs site (#45518) * Fix character encoding issues across the docs site * Fix manifest --- docs/docs-manifest.json | 20 +- .../building-your-first-extension.md | 28 +- .../handling-merchant-onboarding.md | 14 +- docs/extension-development/logging.md | 8 +- docs/wc-cli/cli-faq.md | 6 +- docs/wc-cli/wc-cli-commands.md | 1704 ++++++++--------- 6 files changed, 890 insertions(+), 890 deletions(-) diff --git a/docs/docs-manifest.json b/docs/docs-manifest.json index 0e4e7844540..106ec6d744f 100644 --- a/docs/docs-manifest.json +++ b/docs/docs-manifest.json @@ -350,7 +350,7 @@ { "post_title": "Logging in WooCommerce", "edit_url": "https://github.com/woocommerce/woocommerce/edit/trunk/docs/extension-development/logging.md", - "hash": "7f5777df46d83e49b024ae205111e0a0960d8c53466d351a8744999d256cb0c0", + "hash": "14deebc3eaaf821ade3f84b5b16d154b36b4cceae59b04b6cb18f6ba9588fa56", "url": "https://raw.githubusercontent.com/woocommerce/woocommerce/trunk/docs/extension-development/logging.md", "id": "c684e2efba45051a4e1f98eb5e6ef6bab194f25c" }, @@ -386,7 +386,7 @@ "menu_title": "Implement merchant onboarding", "tags": "how-to", "edit_url": "https://github.com/woocommerce/woocommerce/edit/trunk/docs/extension-development/handling-merchant-onboarding.md", - "hash": "238d7b7d6b52bbf1840bf2e264d0724cde220f6dab343e7620fee1a7fd715c08", + "hash": "e5fd467caece98bb1d18a5d150c375b2c575cb956980a7054b89b3cfcfbcdae9", "url": "https://raw.githubusercontent.com/woocommerce/woocommerce/trunk/docs/extension-development/handling-merchant-onboarding.md", "id": "89fe15dc232379f546852822230c334d3d940b93", "links": { @@ -458,7 +458,7 @@ "menu_title": "Build your first extension", "tags": "how-to", "edit_url": "https://github.com/woocommerce/woocommerce/edit/trunk/docs/extension-development/building-your-first-extension.md", - "hash": "6b3af5e8e96294df9625e843654adddcf97b26c81ec43b47c41be2b2ad835783", + "hash": "6c97092279436171fa847119ea8813a35b8ad7b8784bc3c993236648687064c1", "url": "https://raw.githubusercontent.com/woocommerce/woocommerce/trunk/docs/extension-development/building-your-first-extension.md", "id": "278c2822fe06f1ab72499a757ef0c4981cfbffb5" }, @@ -1004,7 +1004,7 @@ "post_title": "User Experience Guidelines - Payments Onboarding and Setup", "menu_title": "Payments Onboarding and Setup", "edit_url": "https://github.com/woocommerce/woocommerce/edit/trunk/docs/ux-guidelines-payments/payments-onboarding.md", - "hash": "b627aa75171e4ba4a7f9802a09df2de4026b1496ca2c448693abf010480ec0eb", + "hash": "aa2429f5322cb3f4e2168117e7c42cd3a090fc2665c6e09264a0d69c03216c9c", "url": "https://raw.githubusercontent.com/woocommerce/woocommerce/trunk/docs/ux-guidelines-payments/payments-onboarding.md", "id": "9e100f5d1c5e52bb337a294456f75cd60929d9e3" }, @@ -1012,7 +1012,7 @@ "post_title": "User Experience Guidelines - Payment Button Style", "menu_title": "Payment Button Style", "edit_url": "https://github.com/woocommerce/woocommerce/edit/trunk/docs/ux-guidelines-payments/payment-button-style.md", - "hash": "ddaf6af31bbbba2e03feb852b650ac442d7937c7437464eeef1418c4c421939e", + "hash": "f302ec65394f21436f5886263f95aa8b24f7b3dc67a65ce7f6c0704923337612", "url": "https://raw.githubusercontent.com/woocommerce/woocommerce/trunk/docs/ux-guidelines-payments/payment-button-style.md", "id": "83d869cec0b2268ae30a6517c7c8f424de284cad" }, @@ -1020,7 +1020,7 @@ "post_title": "User Experience Guidelines - Payment Button Size and Anatomy", "menu_title": "Payment Button Size", "edit_url": "https://github.com/woocommerce/woocommerce/edit/trunk/docs/ux-guidelines-payments/payment-button-size.md", - "hash": "bec66a7aae90a2995d948f27510a12978f48676cf440fc3ac5c07db9f9d9de4b", + "hash": "f369880a1e4cc0841820c1ec690aac46ac4629cd105f8405f18d755a2346ba8e", "url": "https://raw.githubusercontent.com/woocommerce/woocommerce/trunk/docs/ux-guidelines-payments/payment-button-size.md", "id": "0920df1611e1b1b3e2f33c810a8f8e8ae09dd67c" }, @@ -1028,7 +1028,7 @@ "post_title": "User Experience Guidelines - Payment Button Layout", "menu_title": "Payment Button Layout", "edit_url": "https://github.com/woocommerce/woocommerce/edit/trunk/docs/ux-guidelines-payments/payment-button-layout.md", - "hash": "59b75f884b59d42f4950543a255afa4297e6aeec918fa86b57cfbe56a79461cc", + "hash": "c1a2014232650e5dcf2a37288df2c7a552a6e69e4919dd3ce27c71ff28175c2c", "url": "https://raw.githubusercontent.com/woocommerce/woocommerce/trunk/docs/ux-guidelines-payments/payment-button-layout.md", "id": "96caecc340794e5c80af271e5cc844e0b3d80a04" } @@ -1175,7 +1175,7 @@ "menu_title": "Commands", "tags": "reference", "edit_url": "https://github.com/woocommerce/woocommerce/edit/trunk/docs/wc-cli/wc-cli-commands.md", - "hash": "b928cc77a9ff6bfb023b35f16989a0cdfb5e1a4877679aa61e894e9d0318d4eb", + "hash": "a926ff45642539e0edc6b4e3dfeba4b31c2d01082700af132a2e8d56cfa25ec5", "url": "https://raw.githubusercontent.com/woocommerce/woocommerce/trunk/docs/wc-cli/wc-cli-commands.md", "id": "73d6bc6468d23a9e93d16d574399105b143e43af" }, @@ -1196,7 +1196,7 @@ "menu_title": "Frequently Asked Questions", "tags": "reference", "edit_url": "https://github.com/woocommerce/woocommerce/edit/trunk/docs/wc-cli/cli-faq.md", - "hash": "f33cd9e92983e4351b7d3df23290391b6815673dd02b2843b23b4babb02c06a4", + "hash": "cdf02b0a30693f3659f26a774953cb56c85e0319c9472447a4b9563ac3d9b2a4", "url": "https://raw.githubusercontent.com/woocommerce/woocommerce/trunk/docs/wc-cli/cli-faq.md", "id": "86857f8924e3bd3fe6fdcc06cd8f4351f5e6f4c1" } @@ -1204,5 +1204,5 @@ "categories": [] } ], - "hash": "494b0c55a9312202c17bf17b4e50f1f574790788c1606be4c61c99ad479b279a" + "hash": "54c558ffb682cee4ce5f81069690e47439b174cffac8e4d0950d014145dcad9e" } \ No newline at end of file diff --git a/docs/extension-development/building-your-first-extension.md b/docs/extension-development/building-your-first-extension.md index 6b7613b6767..94b8279f3da 100644 --- a/docs/extension-development/building-your-first-extension.md +++ b/docs/extension-development/building-your-first-extension.md @@ -7,22 +7,22 @@ tags: how-to This guide will teach you how to use [create-woo-extension](https://www.npmjs.com/package/@woocommerce/create-woo-extension) to scaffold a WooCommerce extension. There are various benefits to using create-woo-extension over manually creating one from scratch, including: -There’s less boilerplate code to write, and less dependencies to manually setup +There's less boilerplate code to write, and less dependencies to manually setup Modern features such as Blocks are automatically supported Unit testing, linting, and Prettier IDE configuration are ready to use -Once your extension is set up, we’ll show you how to instantly spin up a development environment using [wp-env](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-env/). +Once your extension is set up, we'll show you how to instantly spin up a development environment using [wp-env](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-env/). ## Requirements -Before getting started, you’ll need the following tools installed on your device: +Before getting started, you'll need the following tools installed on your device: - [Node.js](https://nodejs.org/en/learn/getting-started/how-to-install-nodejs) with NPM - [Docker](https://docs.docker.com/engine/install/) (must be running to use wp-env) - [Composer](https://getcomposer.org/doc/00-intro.md) -This guide also presumes you’re familiar with working with the command line. +This guide also presumes you're familiar with working with the command line. ## Bootstrapping Your Extension @@ -33,29 +33,29 @@ Open your terminal and run @woocommerce/create-woo-extension my-extension-name ``` -If you’d like to set a custom extension name, you can replace `my-extension-name` with any slug. Please note that your slug must not have any spaces. +If you'd like to set a custom extension name, you can replace `my-extension-name` with any slug. Please note that your slug must not have any spaces. If you see a prompt similar to Need to install the following packages: `@wordpress/create-block@4.34.0. Ok to proceed?`, press `Y`. -Once the package finishes generating your extension, navigate into the extension’s folder using +Once the package finishes generating your extension, navigate into the extension's folder using ```sh cd my-extension-name ``` -You should then install your extension’s dependencies using `npm install` and build it using `npm run build`. +You should then install your extension's dependencies using `npm install` and build it using `npm run build`. Congratulations! You just spun up a WooCommerce extension! Your extension will have the following file structure: - `my-extension-name` - `block.json` - contains metadata used to register your custom blocks with WordPress. Learn more. - - `build` - the built version of your extension which is generated using npm run build. You shouldn’t directly modify any of the files in this folder. + - `build` - the built version of your extension which is generated using npm run build. You shouldn't directly modify any of the files in this folder. - `composer.json` - contains a list of your PHP dependencies which is referenced by Composer. - `composer.lock` - this file allows you to control when and how to update these dependencies - `includes` - The primary purpose of an "includes" folder in PHP development is to store reusable code or files that need to be included or required in multiple parts of a project. This is a PHP developer convention. - `languages` - contains POT files that are used to localize your plugin. - - `my-extension-name.php` - your plugin’s entry point that registers your plugin with WordPress. + - `my-extension-name.php` - your plugin's entry point that registers your plugin with WordPress. - `node-modules` - help you form the building blocks of your application and write more structured code - `package.json` - is considered the heart of a Node project. It records metadata, and installs functional dependencies, runs scripts, and defines the entry point of your application. - `README.md` - An introduction and instructional overview of your application. Any special instructions, updates from the author, and details about the application can be written in text here. @@ -67,20 +67,20 @@ Congratulations! You just spun up a WooCommerce extension! Your extension will h ## Setting Up a Developer Environment -We recommend using `wp-env` to spin up local development environments. You can [learn more about wp-env here](https://make.wordpress.org/core/2020/03/03/wp-env-simple-local-environments-for-wordpress/). If you don’t already have wp-env installed locally, you can install it using +We recommend using `wp-env` to spin up local development environments. You can [learn more about wp-env here](https://make.wordpress.org/core/2020/03/03/wp-env-simple-local-environments-for-wordpress/). If you don't already have wp-env installed locally, you can install it using `npm -g i @wordpress/env`. -Once you’ve installed `wp-env`, and while still inside your `my-extension-name` folder, run `wp-env` start. After a few seconds, a test WordPress site with your WooCommerce and your extension installed will be running on `localhost:8888`. +Once you've installed `wp-env`, and while still inside your `my-extension-name` folder, run `wp-env` start. After a few seconds, a test WordPress site with your WooCommerce and your extension installed will be running on `localhost:8888`. -If you didn’t set a custom name for your extension, you can visit [here](http://localhost:8888/wp-admin/admin.php?page=wc-admin&path=%2Fmy-extension-name) to see the settings page generated by /src/index.js. The default username/password combination for `wp-env` is `admin` / `password`. +If you didn't set a custom name for your extension, you can visit [here](http://localhost:8888/wp-admin/admin.php?page=wc-admin&path=%2Fmy-extension-name) to see the settings page generated by /src/index.js. The default username/password combination for `wp-env` is `admin` / `password`. ## Next Steps -Now that you’ve bootstrapped your extension, it’s time to add some features! Here’s some simple ones you could include: +Now that you've bootstrapped your extension, it's time to add some features! Here's some simple ones you could include: [How to add a custom field to simple and variable products](https://developer.woo.com/docs/how-to-add-a-custom-field-to-simple-and-variable-products/) ## Reference [Visit @woocommerce/create-woo-extension on NPM for package reference](https://www.npmjs.com/package/@woocommerce/create-woo-extension) -[Check out wp-env’s command reference to learn more about advanced functionality](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-env/#command-reference) +[Check out wp-env's command reference to learn more about advanced functionality](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-env/#command-reference) diff --git a/docs/extension-development/handling-merchant-onboarding.md b/docs/extension-development/handling-merchant-onboarding.md index 6905881dc03..50fe26bc21f 100644 --- a/docs/extension-development/handling-merchant-onboarding.md +++ b/docs/extension-development/handling-merchant-onboarding.md @@ -23,7 +23,7 @@ Setup tasks appear on the WooCommerce Admin home screen and prompt a merchant to ### Registering the task with PHP -To register your task as an extended task list item, you’ll need to start by creating a new PHP class that extends the Task class. This class will define the properties and behavior of your custom task. +To register your task as an extended task list item, you'll need to start by creating a new PHP class that extends the Task class. This class will define the properties and behavior of your custom task. ```php { @@ -207,7 +207,7 @@ In the example above, we're using the `Card` and `CardBody` components to constr #### Register the Plugin for Task Content -Next, we register the Task component as a plugin named "add-task-content" using [SlotFills](https://developer.wordpress.org/block-editor/reference-guides/slotfills/). This plugin nests the Task component within a WooOnboardingTask component and passes the necessary properties. We also specify the scope of the plugin as "woocommerce-tasks" to make it effective only within WooCommerce’s task list. +Next, we register the Task component as a plugin named "add-task-content" using [SlotFills](https://developer.wordpress.org/block-editor/reference-guides/slotfills/). This plugin nests the Task component within a WooOnboardingTask component and passes the necessary properties. We also specify the scope of the plugin as "woocommerce-tasks" to make it effective only within WooCommerce's task list. ```js registerPlugin( 'add-task-content', { @@ -227,7 +227,7 @@ registerPlugin( 'add-task-content', { #### Register the Plugin for Task List Item Customization -Finally, we register another plugin named "my-task-list-item-plugin." This plugin is used to customize the appearance of task list items. It also targets WooCommerce’s task list and wraps the DefaultTaskItem component within a custom wrapper with additional styling. +Finally, we register another plugin named "my-task-list-item-plugin." This plugin is used to customize the appearance of task list items. It also targets WooCommerce's task list and wraps the DefaultTaskItem component within a custom wrapper with additional styling. ```js registerPlugin( 'my-task-list-item-plugin', { @@ -250,11 +250,11 @@ registerPlugin( 'my-task-list-item-plugin', { } ); ``` -In summary, the JavaScript file for a simple task extends and customizes the functionality of WooCommerce’s task list, allowing users to better manage tasks and personalize the appearance of task list items. +In summary, the JavaScript file for a simple task extends and customizes the functionality of WooCommerce's task list, allowing users to better manage tasks and personalize the appearance of task list items. ### Registering the task with JavaScript -In addition to registering the task in php, you’ll also need to register and enqueue the transpiled JavaScript file containing your task component and its configuration. A common way to do this is to create a dedicated registration function that hooks into the `admin_enqueue_scripts` action in WordPress. Below is an annotated example of how this registration might look: +In addition to registering the task in php, you'll also need to register and enqueue the transpiled JavaScript file containing your task component and its configuration. A common way to do this is to create a dedicated registration function that hooks into the `admin_enqueue_scripts` action in WordPress. Below is an annotated example of how this registration might look: ```php /** diff --git a/docs/extension-development/logging.md b/docs/extension-development/logging.md index 16fe42ace5a..68fc589e034 100644 --- a/docs/extension-development/logging.md +++ b/docs/extension-development/logging.md @@ -136,13 +136,13 @@ wc_get_logger()->info( ### When _not_ to use logging -* To let a developer know that they’re using a method or API incorrectly. This can lead to a large volume of useless log entries, especially if it will get triggered on every page request. Better to give them immediate feedback in the form of an error or exception (e.g. `wc_doing_it_wrong()`). +* To let a developer know that they're using a method or API incorrectly. This can lead to a large volume of useless log entries, especially if it will get triggered on every page request. Better to give them immediate feedback in the form of an error or exception (e.g. `wc_doing_it_wrong()`). ### Best practices -* Rather than using the `WC_Logger`‘s `log()` method directly, it’s better to use one of the wrapper methods that’s specific to the log level. E.g. `info()` or `error()`. -* Write a message that is a complete, coherent sentence. This will make it more useful for people who aren’t familiar with the codebase. -* Log messages should not be translatable (see the discussion about this in the comments). Keeping the message in English makes it easier to search for solutions based on the message contents, and also makes it easier for Happiness Engineers to understand what’s happening, since they may not speak the same language as the site owner. +* Rather than using the `WC_Logger`‘s `log()` method directly, it's better to use one of the wrapper methods that's specific to the log level. E.g. `info()` or `error()`. +* Write a message that is a complete, coherent sentence. This will make it more useful for people who aren't familiar with the codebase. +* Log messages should not be translatable (see the discussion about this in the comments). Keeping the message in English makes it easier to search for solutions based on the message contents, and also makes it easier for Happiness Engineers to understand what's happening, since they may not speak the same language as the site owner. * Ideally, each log entry message should be a single line (i.e. no line breaks within the message string). Additional lines or extra data should be put in the context array. * Avoid outputting structured data in the message string. Put it in a key in the context array instead. The logger will handle converting it to JSON and making it legible in the log viewer. * If you need to include a stack trace, let the logger generate it for you. diff --git a/docs/wc-cli/cli-faq.md b/docs/wc-cli/cli-faq.md index 4c0aa9c9001..7ba42c4d212 100644 --- a/docs/wc-cli/cli-faq.md +++ b/docs/wc-cli/cli-faq.md @@ -38,13 +38,13 @@ tags: reference - Check for typos and verify the command syntax with --help. If the issue persists, consult the Command Reference or seek support from the WooCommerce community. -**What do I do if I get 404 errors when using commands? +### What do I do if I get 404 errors when using commands? If you are getting a 401 error like `Error: Sorry, you cannot list resources. {"status":401}`, you are trying to use the command unauthenticated. The WooCommerce CLI as of 3.0 requires you to provide a proper user to run the action as. Pass in your user ID using the `--user` flag. -### I am trying to update a list of X, but it’s not saving +### I am trying to update a list of X, but it's not saving -Some ‘lists’ are actually objects. For example, if you want to set categories for a product, the REST API expects an array of objects. +Some ‘lists' are actually objects. For example, if you want to set categories for a product, the REST API expects an array of objects. To set this you would use JSON like this: diff --git a/docs/wc-cli/wc-cli-commands.md b/docs/wc-cli/wc-cli-commands.md index 3fb2c7fe125..06606bdb500 100644 --- a/docs/wc-cli/wc-cli-commands.md +++ b/docs/wc-cli/wc-cli-commands.md @@ -28,21 +28,21 @@ wp wc [command] --help #### wc shop_coupon list -- `--context` — Scope under which the request is made; determines fields present in response. -- `--page` — Current page of the collection. -- `--per_page` — Maximum number of items to be returned in result set. Defaults to 100 items. -- `--search` — Limit results to those matching a string. -- `--after` — Limit response to resources published after a given ISO8601 compliant date. -- `--before` — Limit response to resources published before a given ISO8601 compliant date. -- `--exclude` — Ensure result set excludes specific IDs. -- `--include` — Limit result set to specific ids. -- `--offset` — Offset the result set by a specific number of items. -- `--order` — Order sort attribute ascending or descending. -- `--orderby` — Sort collection by object attribute. -- `--code` — Limit result set to resources with a specific code. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--page` - Current page of the collection. +- `--per_page` - Maximum number of items to be returned in result set. Defaults to 100 items. +- `--search` - Limit results to those matching a string. +- `--after` - Limit response to resources published after a given ISO8601 compliant date. +- `--before` - Limit response to resources published before a given ISO8601 compliant date. +- `--exclude` - Ensure result set excludes specific IDs. +- `--include` - Limit result set to specific ids. +- `--offset` - Offset the result set by a specific number of items. +- `--order` - Order sort attribute ascending or descending. +- `--orderby` - Sort collection by object attribute. +- `--code` - Limit result set to resources with a specific code. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -50,35 +50,35 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc shop_coupon create -- `--code` — Coupon code. (*Required*) -- `--amount` — The amount of discount. Should always be numeric, even if setting a percentage. -- `--discount_type` — Determines the type of discount that will be applied. -- `--description` — Coupon description. -- `--date_expires` — The date the coupon expires, in the site's timezone. -- `--date_expires_gmt` — The date the coupon expires, as GMT. -- `--individual_use` — If true, the coupon can only be used individually. Other applied coupons will be removed from the cart. -- `--product_ids` — List of product IDs the coupon can be used on. -- `--excluded_product_ids` — List of product IDs the coupon cannot be used on. -- `--usage_limit` — How many times the coupon can be used in total. -- `--usage_limit_per_user` — How many times the coupon can be used per customer. -- `--limit_usage_to_x_items` — Max number of items in the cart the coupon can be applied to. -- `--free_shipping` — If true and if the free shipping method requires a coupon, this coupon will enable free shipping. -- `--product_categories` — List of category IDs the coupon applies to. -- `--excluded_product_categories` — List of category IDs the coupon does not apply to. -- `--exclude_sale_items` — If true, this coupon will not be applied to items that have sale prices. -- `--minimum_amount` — Minimum order amount that needs to be in the cart before coupon applies. -- `--maximum_amount` — Maximum order amount allowed when using the coupon. -- `--email_restrictions` — List of email addresses that can use this coupon. -- `--meta_data` — Meta data. -- `--porcelain` — Output just the id when the operation is successful. +- `--code` - Coupon code. (*Required*) +- `--amount` - The amount of discount. Should always be numeric, even if setting a percentage. +- `--discount_type` - Determines the type of discount that will be applied. +- `--description` - Coupon description. +- `--date_expires` - The date the coupon expires, in the site's timezone. +- `--date_expires_gmt` - The date the coupon expires, as GMT. +- `--individual_use` - If true, the coupon can only be used individually. Other applied coupons will be removed from the cart. +- `--product_ids` - List of product IDs the coupon can be used on. +- `--excluded_product_ids` - List of product IDs the coupon cannot be used on. +- `--usage_limit` - How many times the coupon can be used in total. +- `--usage_limit_per_user` - How many times the coupon can be used per customer. +- `--limit_usage_to_x_items` - Max number of items in the cart the coupon can be applied to. +- `--free_shipping` - If true and if the free shipping method requires a coupon, this coupon will enable free shipping. +- `--product_categories` - List of category IDs the coupon applies to. +- `--excluded_product_categories` - List of category IDs the coupon does not apply to. +- `--exclude_sale_items` - If true, this coupon will not be applied to items that have sale prices. +- `--minimum_amount` - Minimum order amount that needs to be in the cart before coupon applies. +- `--maximum_amount` - Maximum order amount allowed when using the coupon. +- `--email_restrictions` - List of email addresses that can use this coupon. +- `--meta_data` - Meta data. +- `--porcelain` - Output just the id when the operation is successful. #### wc shop_coupon get [id] -- `--id` — Unique identifier for the resource. -- `--context` — Scope under which the request is made; determines fields present in response. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--id` - Unique identifier for the resource. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -86,44 +86,44 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc shop_coupon update [id] -- `--id` — Unique identifier for the resource. -- `--code` — Coupon code. -- `--amount` — The amount of discount. Should always be numeric, even if setting a percentage. -- `--discount_type` — Determines the type of discount that will be applied. -- `--description` — Coupon description. -- `--date_expires` — The date the coupon expires, in the site's timezone. -- `--date_expires_gmt` — The date the coupon expires, as GMT. -- `--individual_use` — If true, the coupon can only be used individually. Other applied coupons will be removed from the cart. -- `--product_ids` — List of product IDs the coupon can be used on. -- `--excluded_product_ids` — List of product IDs the coupon cannot be used on. -- `--usage_limit` — How many times the coupon can be used in total. -- `--usage_limit_per_user` — How many times the coupon can be used per customer. -- `--limit_usage_to_x_items` — Max number of items in the cart the coupon can be applied to. -- `--free_shipping` — If true and if the free shipping method requires a coupon, this coupon will enable free shipping. -- `--product_categories` — List of category IDs the coupon applies to. -- `--excluded_product_categories` — List of category IDs the coupon does not apply to. -- `--exclude_sale_items` — If true, this coupon will not be applied to items that have sale prices. -- `--minimum_amount` — Minimum order amount that needs to be in the cart before coupon applies. -- `--maximum_amount` — Maximum order amount allowed when using the coupon. -- `--email_restrictions` — List of email addresses that can use this coupon. -- `--meta_data` — Meta data. -- `--porcelain` — Output just the id when the operation is successful. +- `--id` - Unique identifier for the resource. +- `--code` - Coupon code. +- `--amount` - The amount of discount. Should always be numeric, even if setting a percentage. +- `--discount_type` - Determines the type of discount that will be applied. +- `--description` - Coupon description. +- `--date_expires` - The date the coupon expires, in the site's timezone. +- `--date_expires_gmt` - The date the coupon expires, as GMT. +- `--individual_use` - If true, the coupon can only be used individually. Other applied coupons will be removed from the cart. +- `--product_ids` - List of product IDs the coupon can be used on. +- `--excluded_product_ids` - List of product IDs the coupon cannot be used on. +- `--usage_limit` - How many times the coupon can be used in total. +- `--usage_limit_per_user` - How many times the coupon can be used per customer. +- `--limit_usage_to_x_items` - Max number of items in the cart the coupon can be applied to. +- `--free_shipping` - If true and if the free shipping method requires a coupon, this coupon will enable free shipping. +- `--product_categories` - List of category IDs the coupon applies to. +- `--excluded_product_categories` - List of category IDs the coupon does not apply to. +- `--exclude_sale_items` - If true, this coupon will not be applied to items that have sale prices. +- `--minimum_amount` - Minimum order amount that needs to be in the cart before coupon applies. +- `--maximum_amount` - Maximum order amount allowed when using the coupon. +- `--email_restrictions` - List of email addresses that can use this coupon. +- `--meta_data` - Meta data. +- `--porcelain` - Output just the id when the operation is successful. #### wc shop_coupon delete [id] -- `--id` — Unique identifier for the resource. -- `--force` — Whether to bypass trash and force deletion. -- `--porcelain` — Output just the id when the operation is successful. +- `--id` - Unique identifier for the resource. +- `--force` - Whether to bypass trash and force deletion. +- `--porcelain` - Output just the id when the operation is successful. ### wc customer_download #### wc customer_download list -- `--customer_id` — Unique identifier for the resource. -- `--context` — Scope under which the request is made; determines fields present in response. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--customer_id` - Unique identifier for the resource. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -133,20 +133,20 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc customer list -- `--context` — Scope under which the request is made; determines fields present in response. -- `--page` — Current page of the collection. -- `--per_page` — Maximum number of items to be returned in result set. Defaults to 100 items. -- `--search` — Limit results to those matching a string. -- `--exclude` — Ensure result set excludes specific IDs. -- `--include` — Limit result set to specific IDs. -- `--offset` — Offset the result set by a specific number of items. -- `--order` — Order sort attribute ascending or descending. -- `--orderby` — Sort collection by object attribute. -- `--email` — Limit result set to resources with a specific email. -- `--role` — Limit result set to resources with a specific role. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--page` - Current page of the collection. +- `--per_page` - Maximum number of items to be returned in result set. Defaults to 100 items. +- `--search` - Limit results to those matching a string. +- `--exclude` - Ensure result set excludes specific IDs. +- `--include` - Limit result set to specific IDs. +- `--offset` - Offset the result set by a specific number of items. +- `--order` - Order sort attribute ascending or descending. +- `--orderby` - Sort collection by object attribute. +- `--email` - Limit result set to resources with a specific email. +- `--role` - Limit result set to resources with a specific role. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -154,23 +154,23 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc customer create -- `--email` — New user email address. (*Required*) -- `--first_name` — Customer first name. -- `--last_name` — Customer last name. -- `--username` — New user username. -- `--password` — New user password. (*Required*) -- `--billing` — List of billing address data. -- `--shipping` — List of shipping address data. -- `--meta_data` — Meta data. -- `--porcelain` — Output just the id when the operation is successful. +- `--email` - New user email address. (*Required*) +- `--first_name` - Customer first name. +- `--last_name` - Customer last name. +- `--username` - New user username. +- `--password` - New user password. (*Required*) +- `--billing` - List of billing address data. +- `--shipping` - List of shipping address data. +- `--meta_data` - Meta data. +- `--porcelain` - Output just the id when the operation is successful. #### wc customer get [id] -- `--id` — Unique identifier for the resource. -- `--context` — Scope under which the request is made; determines fields present in response. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--id` - Unique identifier for the resource. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -178,34 +178,34 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc customer update [id] -- `--id` — Unique identifier for the resource. -- `--email` — The email address for the customer. -- `--first_name` — Customer first name. -- `--last_name` — Customer last name. -- `--username` — Customer login name. -- `--password` — Customer password. -- `--billing` — List of billing address data. -- `--shipping` — List of shipping address data. -- `--meta_data` — Meta data. -- `--porcelain` — Output just the id when the operation is successful. +- `--id` - Unique identifier for the resource. +- `--email` - The email address for the customer. +- `--first_name` - Customer first name. +- `--last_name` - Customer last name. +- `--username` - Customer login name. +- `--password` - Customer password. +- `--billing` - List of billing address data. +- `--shipping` - List of shipping address data. +- `--meta_data` - Meta data. +- `--porcelain` - Output just the id when the operation is successful. #### wc customer delete [id] -- `--id` — Unique identifier for the resource. -- `--force` — Required to be true, as resource does not support trashing. -- `--reassign` — ID to reassign posts to. -- `--porcelain` — Output just the id when the operation is successful. +- `--id` - Unique identifier for the resource. +- `--force` - Required to be true, as resource does not support trashing. +- `--reassign` - ID to reassign posts to. +- `--porcelain` - Output just the id when the operation is successful. ### wc order_note #### wc order_note list -- `--order_id` — The order ID. -- `--context` — Scope under which the request is made; determines fields present in response. -- `--type` — Limit result to customers or internal notes. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--order_id` - The order ID. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--type` - Limit result to customers or internal notes. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -213,19 +213,19 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc order_note create -- `--order_id` — The order ID. -- `--note` — Order note content. (*Required*) -- `--customer_note` — If true, the note will be shown to customers and they will be notified. If false, the note will be for admin reference only. -- `--porcelain` — Output just the id when the operation is successful. +- `--order_id` - The order ID. +- `--note` - Order note content. (*Required*) +- `--customer_note` - If true, the note will be shown to customers and they will be notified. If false, the note will be for admin reference only. +- `--porcelain` - Output just the id when the operation is successful. #### wc order_note get [id] -- `--id` — Unique identifier for the resource. -- `--order_id` — The order ID. -- `--context` — Scope under which the request is made; determines fields present in response. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--id` - Unique identifier for the resource. +- `--order_id` - The order ID. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -233,33 +233,33 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc order_note delete [id] -- `--id` — Unique identifier for the resource. -- `--order_id` — The order ID. -- `--force` — Required to be true, as resource does not support trashing. -- `--porcelain` — Output just the id when the operation is successful. +- `--id` - Unique identifier for the resource. +- `--order_id` - The order ID. +- `--force` - Required to be true, as resource does not support trashing. +- `--porcelain` - Output just the id when the operation is successful. ### wc shop_order_refund #### wc shop_order_refund list -- `--order_id` — The order ID. -- `--context` — Scope under which the request is made; determines fields present in response. -- `--page` — Current page of the collection. -- `--per_page` — Maximum number of items to be returned in result set. Defaults to 100 items. -- `--search` — Limit results to those matching a string. -- `--after` — Limit response to resources published after a given ISO8601 compliant date. -- `--before` — Limit response to resources published before a given ISO8601 compliant date. -- `--exclude` — Ensure result set excludes specific IDs. -- `--include` — Limit result set to specific ids. -- `--offset` — Offset the result set by a specific number of items. -- `--order` — Order sort attribute ascending or descending. -- `--orderby` — Sort collection by object attribute. -- `--parent` — Limit result set to those of particular parent IDs. -- `--parent_exclude` — Limit result set to all items except those of a particular parent ID. -- `--dp` — Number of decimal points to use in each resource. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--order_id` - The order ID. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--page` - Current page of the collection. +- `--per_page` - Maximum number of items to be returned in result set. Defaults to 100 items. +- `--search` - Limit results to those matching a string. +- `--after` - Limit response to resources published after a given ISO8601 compliant date. +- `--before` - Limit response to resources published before a given ISO8601 compliant date. +- `--exclude` - Ensure result set excludes specific IDs. +- `--include` - Limit result set to specific ids. +- `--offset` - Offset the result set by a specific number of items. +- `--order` - Order sort attribute ascending or descending. +- `--orderby` - Sort collection by object attribute. +- `--parent` - Limit result set to those of particular parent IDs. +- `--parent_exclude` - Limit result set to all items except those of a particular parent ID. +- `--dp` - Number of decimal points to use in each resource. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -267,23 +267,23 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc shop_order_refund create -- `--order_id` — The order ID. -- `--amount` — Refund amount. -- `--reason` — Reason for refund. -- `--refunded_by` — User ID of user who created the refund. -- `--meta_data` — Meta data. -- `--line_items` — Line items data. -- `--api_refund` — When true, the payment gateway API is used to generate the refund. -- `--porcelain` — Output just the id when the operation is successful. +- `--order_id` - The order ID. +- `--amount` - Refund amount. +- `--reason` - Reason for refund. +- `--refunded_by` - User ID of user who created the refund. +- `--meta_data` - Meta data. +- `--line_items` - Line items data. +- `--api_refund` - When true, the payment gateway API is used to generate the refund. +- `--porcelain` - Output just the id when the operation is successful. #### wc shop_order_refund get [id] -- `--order_id` — The order ID. -- `--id` — Unique identifier for the resource. -- `--context` — Scope under which the request is made; determines fields present in response. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--order_id` - The order ID. +- `--id` - Unique identifier for the resource. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -291,35 +291,35 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc shop_order_refund delete [id] -- `--order_id` — The order ID. -- `--id` — Unique identifier for the resource. -- `--force` — Required to be true, as resource does not support trashing. -- `--porcelain` — Output just the id when the operation is successful. +- `--order_id` - The order ID. +- `--id` - Unique identifier for the resource. +- `--force` - Required to be true, as resource does not support trashing. +- `--porcelain` - Output just the id when the operation is successful. ### wc shop_order #### wc shop_order list -- `--context` — Scope under which the request is made; determines fields present in response. -- `--page` — Current page of the collection. -- `--per_page` — Maximum number of items to be returned in result set. Defaults to 100 items. -- `--search` — Limit results to those matching a string. -- `--after` — Limit response to resources published after a given ISO8601 compliant date. -- `--before` — Limit response to resources published before a given ISO8601 compliant date. -- `--exclude` — Ensure result set excludes specific IDs. -- `--include` — Limit result set to specific ids. -- `--offset` — Offset the result set by a specific number of items. -- `--order` — Order sort attribute ascending or descending. -- `--orderby` — Sort collection by object attribute. -- `--parent` — Limit result set to those of particular parent IDs. -- `--parent_exclude` — Limit result set to all items except those of a particular parent ID. -- `--status` — Limit result set to orders assigned a specific status. -- `--customer` — Limit result set to orders assigned a specific customer. -- `--product` — Limit result set to orders assigned a specific product. -- `--dp` — Number of decimal points to use in each resource. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--page` - Current page of the collection. +- `--per_page` - Maximum number of items to be returned in result set. Defaults to 100 items. +- `--search` - Limit results to those matching a string. +- `--after` - Limit response to resources published after a given ISO8601 compliant date. +- `--before` - Limit response to resources published before a given ISO8601 compliant date. +- `--exclude` - Ensure result set excludes specific IDs. +- `--include` - Limit result set to specific ids. +- `--offset` - Offset the result set by a specific number of items. +- `--order` - Order sort attribute ascending or descending. +- `--orderby` - Sort collection by object attribute. +- `--parent` - Limit result set to those of particular parent IDs. +- `--parent_exclude` - Limit result set to all items except those of a particular parent ID. +- `--status` - Limit result set to orders assigned a specific status. +- `--customer` - Limit result set to orders assigned a specific customer. +- `--product` - Limit result set to orders assigned a specific product. +- `--dp` - Number of decimal points to use in each resource. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -327,31 +327,31 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc shop_order create -- `--parent_id` — Parent order ID. -- `--status` — Order status. -- `--currency` — Currency the order was created with, in ISO format. -- `--customer_id` — User ID who owns the order. 0 for guests. -- `--customer_note` — Note left by customer during checkout. -- `--billing` — Billing address. -- `--shipping` — Shipping address. -- `--payment_method` — Payment method ID. -- `--payment_method_title` — Payment method title. -- `--transaction_id` — Unique transaction ID. -- `--meta_data` — Meta data. -- `--line_items` — Line items data. -- `--shipping_lines` — Shipping lines data. -- `--fee_lines` — Fee lines data. -- `--coupon_lines` — Coupons line data. -- `--set_paid` — Define if the order is paid. It will set the status to processing and reduce stock items. -- `--porcelain` — Output just the id when the operation is successful. +- `--parent_id` - Parent order ID. +- `--status` - Order status. +- `--currency` - Currency the order was created with, in ISO format. +- `--customer_id` - User ID who owns the order. 0 for guests. +- `--customer_note` - Note left by customer during checkout. +- `--billing` - Billing address. +- `--shipping` - Shipping address. +- `--payment_method` - Payment method ID. +- `--payment_method_title` - Payment method title. +- `--transaction_id` - Unique transaction ID. +- `--meta_data` - Meta data. +- `--line_items` - Line items data. +- `--shipping_lines` - Shipping lines data. +- `--fee_lines` - Fee lines data. +- `--coupon_lines` - Coupons line data. +- `--set_paid` - Define if the order is paid. It will set the status to processing and reduce stock items. +- `--porcelain` - Output just the id when the operation is successful. #### wc shop_order get [id] -- `--id` — Unique identifier for the resource. -- `--context` — Scope under which the request is made; determines fields present in response. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--id` - Unique identifier for the resource. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -359,51 +359,51 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc shop_order update [id] -- `--id` — Unique identifier for the resource. -- `--parent_id` — Parent order ID. -- `--status` — Order status. -- `--currency` — Currency the order was created with, in ISO format. -- `--customer_id` — User ID who owns the order. 0 for guests. -- `--customer_note` — Note left by customer during checkout. -- `--billing` — Billing address. -- `--shipping` — Shipping address. -- `--payment_method` — Payment method ID. -- `--payment_method_title` — Payment method title. -- `--transaction_id` — Unique transaction ID. -- `--meta_data` — Meta data. -- `--line_items` — Line items data. -- `--shipping_lines` — Shipping lines data. -- `--fee_lines` — Fee lines data. -- `--coupon_lines` — Coupons line data. -- `--set_paid` — Define if the order is paid. It will set the status to processing and reduce stock items. -- `--porcelain` — Output just the id when the operation is successful. +- `--id` - Unique identifier for the resource. +- `--parent_id` - Parent order ID. +- `--status` - Order status. +- `--currency` - Currency the order was created with, in ISO format. +- `--customer_id` - User ID who owns the order. 0 for guests. +- `--customer_note` - Note left by customer during checkout. +- `--billing` - Billing address. +- `--shipping` - Shipping address. +- `--payment_method` - Payment method ID. +- `--payment_method_title` - Payment method title. +- `--transaction_id` - Unique transaction ID. +- `--meta_data` - Meta data. +- `--line_items` - Line items data. +- `--shipping_lines` - Shipping lines data. +- `--fee_lines` - Fee lines data. +- `--coupon_lines` - Coupons line data. +- `--set_paid` - Define if the order is paid. It will set the status to processing and reduce stock items. +- `--porcelain` - Output just the id when the operation is successful. #### wc shop_order delete [id] -- `--id` — Unique identifier for the resource. -- `--force` — Whether to bypass trash and force deletion. -- `--porcelain` — Output just the id when the operation is successful. +- `--id` - Unique identifier for the resource. +- `--force` - Whether to bypass trash and force deletion. +- `--porcelain` - Output just the id when the operation is successful. ### wc product_attribute_term #### wc product_attribute_term list -- `--attribute_id` — Unique identifier for the attribute of the terms. -- `--context` — Scope under which the request is made; determines fields present in response. -- `--page` — Current page of the collection. -- `--per_page` — Maximum number of items to be returned in result set. Defaults to 100 items. -- `--search` — Limit results to those matching a string. -- `--exclude` — Ensure result set excludes specific ids. -- `--include` — Limit result set to specific ids. -- `--order` — Order sort attribute ascending or descending. -- `--orderby` — Sort collection by resource attribute. -- `--hide_empty` — Whether to hide resources not assigned to any products. -- `--parent` — Limit result set to resources assigned to a specific parent. -- `--product` — Limit result set to resources assigned to a specific product. -- `--slug` — Limit result set to resources with a specific slug. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--attribute_id` - Unique identifier for the attribute of the terms. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--page` - Current page of the collection. +- `--per_page` - Maximum number of items to be returned in result set. Defaults to 100 items. +- `--search` - Limit results to those matching a string. +- `--exclude` - Ensure result set excludes specific ids. +- `--include` - Limit result set to specific ids. +- `--order` - Order sort attribute ascending or descending. +- `--orderby` - Sort collection by resource attribute. +- `--hide_empty` - Whether to hide resources not assigned to any products. +- `--parent` - Limit result set to resources assigned to a specific parent. +- `--product` - Limit result set to resources assigned to a specific product. +- `--slug` - Limit result set to resources with a specific slug. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -411,21 +411,21 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc product_attribute_term create -- `--attribute_id` — Unique identifier for the attribute of the terms. -- `--name` — Name for the resource. (*Required*) -- `--slug` — An alphanumeric identifier for the resource unique to its type. -- `--description` — HTML description of the resource. -- `--menu_order` — Menu order, used to custom sort the resource. -- `--porcelain` — Output just the id when the operation is successful. +- `--attribute_id` - Unique identifier for the attribute of the terms. +- `--name` - Name for the resource. (*Required*) +- `--slug` - An alphanumeric identifier for the resource unique to its type. +- `--description` - HTML description of the resource. +- `--menu_order` - Menu order, used to custom sort the resource. +- `--porcelain` - Output just the id when the operation is successful. #### wc product_attribute_term get [id] -- `--id` — Unique identifier for the resource. -- `--attribute_id` — Unique identifier for the attribute of the terms. -- `--context` — Scope under which the request is made; determines fields present in response. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--id` - Unique identifier for the resource. +- `--attribute_id` - Unique identifier for the attribute of the terms. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -433,29 +433,29 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc product_attribute_term update [id] -- `--id` — Unique identifier for the resource. -- `--attribute_id` — Unique identifier for the attribute of the terms. -- `--name` — Term name. -- `--slug` — An alphanumeric identifier for the resource unique to its type. -- `--description` — HTML description of the resource. -- `--menu_order` — Menu order, used to custom sort the resource. -- `--porcelain` — Output just the id when the operation is successful. +- `--id` - Unique identifier for the resource. +- `--attribute_id` - Unique identifier for the attribute of the terms. +- `--name` - Term name. +- `--slug` - An alphanumeric identifier for the resource unique to its type. +- `--description` - HTML description of the resource. +- `--menu_order` - Menu order, used to custom sort the resource. +- `--porcelain` - Output just the id when the operation is successful. #### wc product_attribute_term delete [id] -- `--id` — Unique identifier for the resource. -- `--attribute_id` — Unique identifier for the attribute of the terms. -- `--force` — Required to be true, as resource does not support trashing. -- `--porcelain` — Output just the id when the operation is successful. +- `--id` - Unique identifier for the resource. +- `--attribute_id` - Unique identifier for the attribute of the terms. +- `--force` - Required to be true, as resource does not support trashing. +- `--porcelain` - Output just the id when the operation is successful. ### wc product_attribute #### wc product_attribute list -- `--context` — Scope under which the request is made; determines fields present in response. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -463,20 +463,20 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc product_attribute create -- `--name` — Name for the resource. (*Required*) -- `--slug` — An alphanumeric identifier for the resource unique to its type. -- `--type` — Type of attribute. -- `--order_by` — Default sort order. -- `--has_archives` — Enable/Disable attribute archives. -- `--porcelain` — Output just the id when the operation is successful. +- `--name` - Name for the resource. (*Required*) +- `--slug` - An alphanumeric identifier for the resource unique to its type. +- `--type` - Type of attribute. +- `--order_by` - Default sort order. +- `--has_archives` - Enable/Disable attribute archives. +- `--porcelain` - Output just the id when the operation is successful. #### wc product_attribute get [id] -- `--id` — Unique identifier for the resource. -- `--context` — Scope under which the request is made; determines fields present in response. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--id` - Unique identifier for the resource. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -484,39 +484,39 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc product_attribute update [id] -- `--id` — Unique identifier for the resource. -- `--name` — Attribute name. -- `--slug` — An alphanumeric identifier for the resource unique to its type. -- `--type` — Type of attribute. -- `--order_by` — Default sort order. -- `--has_archives` — Enable/Disable attribute archives. -- `--porcelain` — Output just the id when the operation is successful. +- `--id` - Unique identifier for the resource. +- `--name` - Attribute name. +- `--slug` - An alphanumeric identifier for the resource unique to its type. +- `--type` - Type of attribute. +- `--order_by` - Default sort order. +- `--has_archives` - Enable/Disable attribute archives. +- `--porcelain` - Output just the id when the operation is successful. #### wc product_attribute delete [id] -- `--id` — Unique identifier for the resource. -- `--force` — Required to be true, as resource does not support trashing. -- `--porcelain` — Output just the id when the operation is successful. +- `--id` - Unique identifier for the resource. +- `--force` - Required to be true, as resource does not support trashing. +- `--porcelain` - Output just the id when the operation is successful. ### wc product_cat #### wc product_cat list -- `--context` — Scope under which the request is made; determines fields present in response. -- `--page` — Current page of the collection. -- `--per_page` — Maximum number of items to be returned in result set. Defaults to 100 items. -- `--search` — Limit results to those matching a string. -- `--exclude` — Ensure result set excludes specific ids. -- `--include` — Limit result set to specific ids. -- `--order` — Order sort attribute ascending or descending. -- `--orderby` — Sort collection by resource attribute. -- `--hide_empty` — Whether to hide resources not assigned to any products. -- `--parent` — Limit result set to resources assigned to a specific parent. -- `--product` — Limit result set to resources assigned to a specific product. -- `--slug` — Limit result set to resources with a specific slug. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--page` - Current page of the collection. +- `--per_page` - Maximum number of items to be returned in result set. Defaults to 100 items. +- `--search` - Limit results to those matching a string. +- `--exclude` - Ensure result set excludes specific ids. +- `--include` - Limit result set to specific ids. +- `--order` - Order sort attribute ascending or descending. +- `--orderby` - Sort collection by resource attribute. +- `--hide_empty` - Whether to hide resources not assigned to any products. +- `--parent` - Limit result set to resources assigned to a specific parent. +- `--product` - Limit result set to resources assigned to a specific product. +- `--slug` - Limit result set to resources with a specific slug. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -524,22 +524,22 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc product_cat create -- `--name` — Name for the resource. (*Required*) -- `--slug` — An alphanumeric identifier for the resource unique to its type. -- `--parent` — The ID for the parent of the resource. -- `--description` — HTML description of the resource. -- `--display` — Category archive display type. -- `--image` — Image data. -- `--menu_order` — Menu order, used to custom sort the resource. -- `--porcelain` — Output just the id when the operation is successful. +- `--name` - Name for the resource. (*Required*) +- `--slug` - An alphanumeric identifier for the resource unique to its type. +- `--parent` - The ID for the parent of the resource. +- `--description` - HTML description of the resource. +- `--display` - Category archive display type. +- `--image` - Image data. +- `--menu_order` - Menu order, used to custom sort the resource. +- `--porcelain` - Output just the id when the operation is successful. #### wc product_cat get [id] -- `--id` — Unique identifier for the resource. -- `--context` — Scope under which the request is made; determines fields present in response. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--id` - Unique identifier for the resource. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -547,32 +547,32 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc product_cat update [id] -- `--id` — Unique identifier for the resource. -- `--name` — Category name. -- `--slug` — An alphanumeric identifier for the resource unique to its type. -- `--parent` — The ID for the parent of the resource. -- `--description` — HTML description of the resource. -- `--display` — Category archive display type. -- `--image` — Image data. -- `--menu_order` — Menu order, used to custom sort the resource. -- `--porcelain` — Output just the id when the operation is successful. +- `--id` - Unique identifier for the resource. +- `--name` - Category name. +- `--slug` - An alphanumeric identifier for the resource unique to its type. +- `--parent` - The ID for the parent of the resource. +- `--description` - HTML description of the resource. +- `--display` - Category archive display type. +- `--image` - Image data. +- `--menu_order` - Menu order, used to custom sort the resource. +- `--porcelain` - Output just the id when the operation is successful. #### wc product_cat delete [id] -- `--id` — Unique identifier for the resource. -- `--force` — Required to be true, as resource does not support trashing. -- `--porcelain` — Output just the id when the operation is successful. +- `--id` - Unique identifier for the resource. +- `--force` - Required to be true, as resource does not support trashing. +- `--porcelain` - Output just the id when the operation is successful. ### wc product_review #### wc product_review list -- `--product_id` — Unique identifier for the variable product. -- `--id` — Unique identifier for the variation. -- `--context` — Scope under which the request is made; determines fields present in response. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--product_id` - Unique identifier for the variable product. +- `--id` - Unique identifier for the variation. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -580,24 +580,24 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc product_review create -- `--product_id` — Unique identifier for the variable product. -- `--id` — Unique identifier for the variation. -- `--review` — Review content. (*Required*) -- `--date_created` — The date the review was created, in the site's timezone. -- `--date_created_gmt` — The date the review was created, as GMT. -- `--rating` — Review rating (0 to 5). -- `--name` — Name of the reviewer. (*Required*) -- `--email` — Email of the reviewer. (*Required*) -- `--porcelain` — Output just the id when the operation is successful. +- `--product_id` - Unique identifier for the variable product. +- `--id` - Unique identifier for the variation. +- `--review` - Review content. (*Required*) +- `--date_created` - The date the review was created, in the site's timezone. +- `--date_created_gmt` - The date the review was created, as GMT. +- `--rating` - Review rating (0 to 5). +- `--name` - Name of the reviewer. (*Required*) +- `--email` - Email of the reviewer. (*Required*) +- `--porcelain` - Output just the id when the operation is successful. #### wc product_review get [id] -- `--product_id` — Unique identifier for the variable product. -- `--id` — Unique identifier for the resource. -- `--context` — Scope under which the request is made; determines fields present in response. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--product_id` - Unique identifier for the variable product. +- `--id` - Unique identifier for the resource. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -605,42 +605,42 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc product_review update [id] -- `--product_id` — Unique identifier for the variable product. -- `--id` — Unique identifier for the resource. -- `--review` — The content of the review. -- `--date_created` — The date the review was created, in the site's timezone. -- `--date_created_gmt` — The date the review was created, as GMT. -- `--rating` — Review rating (0 to 5). -- `--name` — Reviewer name. -- `--email` — Reviewer email. -- `--porcelain` — Output just the id when the operation is successful. +- `--product_id` - Unique identifier for the variable product. +- `--id` - Unique identifier for the resource. +- `--review` - The content of the review. +- `--date_created` - The date the review was created, in the site's timezone. +- `--date_created_gmt` - The date the review was created, as GMT. +- `--rating` - Review rating (0 to 5). +- `--name` - Reviewer name. +- `--email` - Reviewer email. +- `--porcelain` - Output just the id when the operation is successful. #### wc product_review delete [id] -- `--product_id` — Unique identifier for the variable product. -- `--id` — Unique identifier for the resource. -- `--force` — Whether to bypass trash and force deletion. -- `--porcelain` — Output just the id when the operation is successful. +- `--product_id` - Unique identifier for the variable product. +- `--id` - Unique identifier for the resource. +- `--force` - Whether to bypass trash and force deletion. +- `--porcelain` - Output just the id when the operation is successful. ### wc product_shipping_class #### wc product_shipping_class list -- `--context` — Scope under which the request is made; determines fields present in response. -- `--page` — Current page of the collection. -- `--per_page` — Maximum number of items to be returned in result set. Defaults to 100 items. -- `--search` — Limit results to those matching a string. -- `--exclude` — Ensure result set excludes specific ids. -- `--include` — Limit result set to specific ids. -- `--offset` — Offset the result set by a specific number of items. -- `--order` — Order sort attribute ascending or descending. -- `--orderby` — Sort collection by resource attribute. -- `--hide_empty` — Whether to hide resources not assigned to any products. -- `--product` — Limit result set to resources assigned to a specific product. -- `--slug` — Limit result set to resources with a specific slug. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--page` - Current page of the collection. +- `--per_page` - Maximum number of items to be returned in result set. Defaults to 100 items. +- `--search` - Limit results to those matching a string. +- `--exclude` - Ensure result set excludes specific ids. +- `--include` - Limit result set to specific ids. +- `--offset` - Offset the result set by a specific number of items. +- `--order` - Order sort attribute ascending or descending. +- `--orderby` - Sort collection by resource attribute. +- `--hide_empty` - Whether to hide resources not assigned to any products. +- `--product` - Limit result set to resources assigned to a specific product. +- `--slug` - Limit result set to resources with a specific slug. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -648,18 +648,18 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc product_shipping_class create -- `--name` — Name for the resource. (*Required*) -- `--slug` — An alphanumeric identifier for the resource unique to its type. -- `--description` — HTML description of the resource. -- `--porcelain` — Output just the id when the operation is successful. +- `--name` - Name for the resource. (*Required*) +- `--slug` - An alphanumeric identifier for the resource unique to its type. +- `--description` - HTML description of the resource. +- `--porcelain` - Output just the id when the operation is successful. #### wc product_shipping_class get [id] -- `--id` — Unique identifier for the resource. -- `--context` — Scope under which the request is made; determines fields present in response. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--id` - Unique identifier for the resource. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -667,37 +667,37 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc product_shipping_class update [id] -- `--id` — Unique identifier for the resource. -- `--name` — Shipping class name. -- `--slug` — An alphanumeric identifier for the resource unique to its type. -- `--description` — HTML description of the resource. -- `--porcelain` — Output just the id when the operation is successful. +- `--id` - Unique identifier for the resource. +- `--name` - Shipping class name. +- `--slug` - An alphanumeric identifier for the resource unique to its type. +- `--description` - HTML description of the resource. +- `--porcelain` - Output just the id when the operation is successful. #### wc product_shipping_class delete [id] -- `--id` — Unique identifier for the resource. -- `--force` — Required to be true, as resource does not support trashing. -- `--porcelain` — Output just the id when the operation is successful. +- `--id` - Unique identifier for the resource. +- `--force` - Required to be true, as resource does not support trashing. +- `--porcelain` - Output just the id when the operation is successful. ### wc product_tag #### wc product_tag list -- `--context` — Scope under which the request is made; determines fields present in response. -- `--page` — Current page of the collection. -- `--per_page` — Maximum number of items to be returned in result set. Defaults to 100 items. -- `--search` — Limit results to those matching a string. -- `--exclude` — Ensure result set excludes specific ids. -- `--include` — Limit result set to specific ids. -- `--offset` — Offset the result set by a specific number of items. -- `--order` — Order sort attribute ascending or descending. -- `--orderby` — Sort collection by resource attribute. -- `--hide_empty` — Whether to hide resources not assigned to any products. -- `--product` — Limit result set to resources assigned to a specific product. -- `--slug` — Limit result set to resources with a specific slug. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--page` - Current page of the collection. +- `--per_page` - Maximum number of items to be returned in result set. Defaults to 100 items. +- `--search` - Limit results to those matching a string. +- `--exclude` - Ensure result set excludes specific ids. +- `--include` - Limit result set to specific ids. +- `--offset` - Offset the result set by a specific number of items. +- `--order` - Order sort attribute ascending or descending. +- `--orderby` - Sort collection by resource attribute. +- `--hide_empty` - Whether to hide resources not assigned to any products. +- `--product` - Limit result set to resources assigned to a specific product. +- `--slug` - Limit result set to resources with a specific slug. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -705,18 +705,18 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc product_tag create -- `--name` — Name for the resource. (*Required*) -- `--slug` — An alphanumeric identifier for the resource unique to its type. -- `--description` — HTML description of the resource. -- `--porcelain` — Output just the id when the operation is successful. +- `--name` - Name for the resource. (*Required*) +- `--slug` - An alphanumeric identifier for the resource unique to its type. +- `--description` - HTML description of the resource. +- `--porcelain` - Output just the id when the operation is successful. #### wc product_tag get [id] -- `--id` — Unique identifier for the resource. -- `--context` — Scope under which the request is made; determines fields present in response. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--id` - Unique identifier for the resource. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -724,53 +724,53 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc product_tag update [id] -- `--id` — Unique identifier for the resource. -- `--name` — Tag name. -- `--slug` — An alphanumeric identifier for the resource unique to its type. -- `--description` — HTML description of the resource. -- `--porcelain` — Output just the id when the operation is successful. +- `--id` - Unique identifier for the resource. +- `--name` - Tag name. +- `--slug` - An alphanumeric identifier for the resource unique to its type. +- `--description` - HTML description of the resource. +- `--porcelain` - Output just the id when the operation is successful. #### wc product_tag delete [id] -- `--id` — Unique identifier for the resource. -- `--force` — Required to be true, as resource does not support trashing. -- `--porcelain` — Output just the id when the operation is successful. +- `--id` - Unique identifier for the resource. +- `--force` - Required to be true, as resource does not support trashing. +- `--porcelain` - Output just the id when the operation is successful. ### wc product #### wc product list -- `--context` — Scope under which the request is made; determines fields present in response. -- `--page` — Current page of the collection. -- `--per_page` — Maximum number of items to be returned in result set. Defaults to 100 items. -- `--search` — Limit results to those matching a string. -- `--after` — Limit response to resources published after a given ISO8601 compliant date. -- `--before` — Limit response to resources published before a given ISO8601 compliant date. -- `--exclude` — Ensure result set excludes specific IDs. -- `--include` — Limit result set to specific ids. -- `--offset` — Offset the result set by a specific number of items. -- `--order` — Order sort attribute ascending or descending. -- `--orderby` — Sort collection by object attribute. -- `--parent` — Limit result set to those of particular parent IDs. -- `--parent_exclude` — Limit result set to all items except those of a particular parent ID. -- `--slug` — Limit result set to products with a specific slug. -- `--status` — Limit result set to products assigned a specific status. -- `--type` — Limit result set to products assigned a specific type. -- `--sku` — Limit result set to products with a specific SKU. -- `--featured` — Limit result set to featured products. -- `--category` — Limit result set to products assigned a specific category ID. -- `--tag` — Limit result set to products assigned a specific tag ID. -- `--shipping_class` — Limit result set to products assigned a specific shipping class ID. -- `--attribute` — Limit result set to products with a specific attribute. -- `--attribute_term` — Limit result set to products with a specific attribute term ID (required an assigned attribute). -- `--tax_class` — Limit result set to products with a specific tax class. -- `--in_stock` — Limit result set to products in stock or out of stock. -- `--on_sale` — Limit result set to products on sale. -- `--min_price` — Limit result set to products based on a minimum price. -- `--max_price` — Limit result set to products based on a maximum price. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--page` - Current page of the collection. +- `--per_page` - Maximum number of items to be returned in result set. Defaults to 100 items. +- `--search` - Limit results to those matching a string. +- `--after` - Limit response to resources published after a given ISO8601 compliant date. +- `--before` - Limit response to resources published before a given ISO8601 compliant date. +- `--exclude` - Ensure result set excludes specific IDs. +- `--include` - Limit result set to specific ids. +- `--offset` - Offset the result set by a specific number of items. +- `--order` - Order sort attribute ascending or descending. +- `--orderby` - Sort collection by object attribute. +- `--parent` - Limit result set to those of particular parent IDs. +- `--parent_exclude` - Limit result set to all items except those of a particular parent ID. +- `--slug` - Limit result set to products with a specific slug. +- `--status` - Limit result set to products assigned a specific status. +- `--type` - Limit result set to products assigned a specific type. +- `--sku` - Limit result set to products with a specific SKU. +- `--featured` - Limit result set to featured products. +- `--category` - Limit result set to products assigned a specific category ID. +- `--tag` - Limit result set to products assigned a specific tag ID. +- `--shipping_class` - Limit result set to products assigned a specific shipping class ID. +- `--attribute` - Limit result set to products with a specific attribute. +- `--attribute_term` - Limit result set to products with a specific attribute term ID (required an assigned attribute). +- `--tax_class` - Limit result set to products with a specific tax class. +- `--in_stock` - Limit result set to products in stock or out of stock. +- `--on_sale` - Limit result set to products on sale. +- `--min_price` - Limit result set to products based on a minimum price. +- `--max_price` - Limit result set to products based on a maximum price. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -778,59 +778,59 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc product create -- `--name` — Product name. -- `--slug` — Product slug. -- `--type` — Product type. -- `--status` — Product status (post status). -- `--featured` — Featured product. -- `--catalog_visibility` — Catalog visibility. -- `--description` — Product description. -- `--short_description` — Product short description. -- `--sku` — Unique identifier. -- `--regular_price` — Product regular price. -- `--sale_price` — Product sale price. -- `--date_on_sale_from` — Start date of sale price, in the site's timezone. -- `--date_on_sale_from_gmt` — Start date of sale price, as GMT. -- `--date_on_sale_to` — End date of sale price, in the site's timezone. -- `--date_on_sale_to_gmt` — End date of sale price, in the site's timezone. -- `--virtual` — If the product is virtual. -- `--downloadable` — If the product is downloadable. -- `--downloads` — List of downloadable files. -- `--download_limit` — Number of times downloadable files can be downloaded after purchase. -- `--download_expiry` — Number of days until access to downloadable files expires. -- `--external_url` — Product external URL. Only for external products. -- `--button_text` — Product external button text. Only for external products. -- `--tax_status` — Tax status. -- `--tax_class` — Tax class. -- `--manage_stock` — Stock management at product level. -- `--stock_quantity` — Stock quantity. -- `--in_stock` — Controls whether or not the product is listed as "in stock" or "out of stock" on the frontend. -- `--backorders` — If managing stock, this controls if backorders are allowed. -- `--sold_individually` — Allow one item to be bought in a single order. -- `--weight` — Product weight (lbs). -- `--dimensions` — Product dimensions. -- `--shipping_class` — Shipping class slug. -- `--reviews_allowed` — Allow reviews. -- `--upsell_ids` — List of up-sell products IDs. -- `--cross_sell_ids` — List of cross-sell products IDs. -- `--parent_id` — Product parent ID. -- `--purchase_note` — Optional note to send the customer after purchase. -- `--categories` — List of categories. -- `--tags` — List of tags. -- `--images` — List of images. -- `--attributes` — List of attributes. -- `--default_attributes` — Defaults variation attributes. -- `--menu_order` — Menu order, used to custom sort products. -- `--meta_data` — Meta data. -- `--porcelain` — Output just the id when the operation is successful. +- `--name` - Product name. +- `--slug` - Product slug. +- `--type` - Product type. +- `--status` - Product status (post status). +- `--featured` - Featured product. +- `--catalog_visibility` - Catalog visibility. +- `--description` - Product description. +- `--short_description` - Product short description. +- `--sku` - Unique identifier. +- `--regular_price` - Product regular price. +- `--sale_price` - Product sale price. +- `--date_on_sale_from` - Start date of sale price, in the site's timezone. +- `--date_on_sale_from_gmt` - Start date of sale price, as GMT. +- `--date_on_sale_to` - End date of sale price, in the site's timezone. +- `--date_on_sale_to_gmt` - End date of sale price, in the site's timezone. +- `--virtual` - If the product is virtual. +- `--downloadable` - If the product is downloadable. +- `--downloads` - List of downloadable files. +- `--download_limit` - Number of times downloadable files can be downloaded after purchase. +- `--download_expiry` - Number of days until access to downloadable files expires. +- `--external_url` - Product external URL. Only for external products. +- `--button_text` - Product external button text. Only for external products. +- `--tax_status` - Tax status. +- `--tax_class` - Tax class. +- `--manage_stock` - Stock management at product level. +- `--stock_quantity` - Stock quantity. +- `--in_stock` - Controls whether or not the product is listed as "in stock" or "out of stock" on the frontend. +- `--backorders` - If managing stock, this controls if backorders are allowed. +- `--sold_individually` - Allow one item to be bought in a single order. +- `--weight` - Product weight (lbs). +- `--dimensions` - Product dimensions. +- `--shipping_class` - Shipping class slug. +- `--reviews_allowed` - Allow reviews. +- `--upsell_ids` - List of up-sell products IDs. +- `--cross_sell_ids` - List of cross-sell products IDs. +- `--parent_id` - Product parent ID. +- `--purchase_note` - Optional note to send the customer after purchase. +- `--categories` - List of categories. +- `--tags` - List of tags. +- `--images` - List of images. +- `--attributes` - List of attributes. +- `--default_attributes` - Defaults variation attributes. +- `--menu_order` - Menu order, used to custom sort products. +- `--meta_data` - Meta data. +- `--porcelain` - Output just the id when the operation is successful. #### wc product get [id] -- `--id` — Unique identifier for the resource. -- `--context` — Scope under which the request is made; determines fields present in response. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--id` - Unique identifier for the resource. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -838,95 +838,95 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc product update [id] -- `--id` — Unique identifier for the resource. -- `--name` — Product name. -- `--slug` — Product slug. -- `--type` — Product type. -- `--status` — Product status (post status). -- `--featured` — Featured product. -- `--catalog_visibility` — Catalog visibility. -- `--description` — Product description. -- `--short_description` — Product short description. -- `--sku` — Unique identifier. -- `--regular_price` — Product regular price. -- `--sale_price` — Product sale price. -- `--date_on_sale_from` — Start date of sale price, in the site's timezone. -- `--date_on_sale_from_gmt` — Start date of sale price, as GMT. -- `--date_on_sale_to` — End date of sale price, in the site's timezone. -- `--date_on_sale_to_gmt` — End date of sale price, in the site's timezone. -- `--virtual` — If the product is virtual. -- `--downloadable` — If the product is downloadable. -- `--downloads` — List of downloadable files. -- `--download_limit` — Number of times downloadable files can be downloaded after purchase. -- `--download_expiry` — Number of days until access to downloadable files expires. -- `--external_url` — Product external URL. Only for external products. -- `--button_text` — Product external button text. Only for external products. -- `--tax_status` — Tax status. -- `--tax_class` — Tax class. -- `--manage_stock` — Stock management at product level. -- `--stock_quantity` — Stock quantity. -- `--in_stock` — Controls whether or not the product is listed as "in stock" or "out of stock" on the frontend. -- `--backorders` — If managing stock, this controls if backorders are allowed. -- `--sold_individually` — Allow one item to be bought in a single order. -- `--weight` — Product weight (lbs). -- `--dimensions` — Product dimensions. -- `--shipping_class` — Shipping class slug. -- `--reviews_allowed` — Allow reviews. -- `--upsell_ids` — List of up-sell products IDs. -- `--cross_sell_ids` — List of cross-sell products IDs. -- `--parent_id` — Product parent ID. -- `--purchase_note` — Optional note to send the customer after purchase. -- `--categories` — List of categories. -- `--tags` — List of tags. -- `--images` — List of images. -- `--attributes` — List of attributes. -- `--default_attributes` — Defaults variation attributes. -- `--menu_order` — Menu order, used to custom sort products. -- `--meta_data` — Meta data. -- `--porcelain` — Output just the id when the operation is successful. +- `--id` - Unique identifier for the resource. +- `--name` - Product name. +- `--slug` - Product slug. +- `--type` - Product type. +- `--status` - Product status (post status). +- `--featured` - Featured product. +- `--catalog_visibility` - Catalog visibility. +- `--description` - Product description. +- `--short_description` - Product short description. +- `--sku` - Unique identifier. +- `--regular_price` - Product regular price. +- `--sale_price` - Product sale price. +- `--date_on_sale_from` - Start date of sale price, in the site's timezone. +- `--date_on_sale_from_gmt` - Start date of sale price, as GMT. +- `--date_on_sale_to` - End date of sale price, in the site's timezone. +- `--date_on_sale_to_gmt` - End date of sale price, in the site's timezone. +- `--virtual` - If the product is virtual. +- `--downloadable` - If the product is downloadable. +- `--downloads` - List of downloadable files. +- `--download_limit` - Number of times downloadable files can be downloaded after purchase. +- `--download_expiry` - Number of days until access to downloadable files expires. +- `--external_url` - Product external URL. Only for external products. +- `--button_text` - Product external button text. Only for external products. +- `--tax_status` - Tax status. +- `--tax_class` - Tax class. +- `--manage_stock` - Stock management at product level. +- `--stock_quantity` - Stock quantity. +- `--in_stock` - Controls whether or not the product is listed as "in stock" or "out of stock" on the frontend. +- `--backorders` - If managing stock, this controls if backorders are allowed. +- `--sold_individually` - Allow one item to be bought in a single order. +- `--weight` - Product weight (lbs). +- `--dimensions` - Product dimensions. +- `--shipping_class` - Shipping class slug. +- `--reviews_allowed` - Allow reviews. +- `--upsell_ids` - List of up-sell products IDs. +- `--cross_sell_ids` - List of cross-sell products IDs. +- `--parent_id` - Product parent ID. +- `--purchase_note` - Optional note to send the customer after purchase. +- `--categories` - List of categories. +- `--tags` - List of tags. +- `--images` - List of images. +- `--attributes` - List of attributes. +- `--default_attributes` - Defaults variation attributes. +- `--menu_order` - Menu order, used to custom sort products. +- `--meta_data` - Meta data. +- `--porcelain` - Output just the id when the operation is successful. #### wc product delete [id] -- `--id` — Unique identifier for the resource. -- `--force` — Whether to bypass trash and force deletion. -- `--porcelain` — Output just the id when the operation is successful. +- `--id` - Unique identifier for the resource. +- `--force` - Whether to bypass trash and force deletion. +- `--porcelain` - Output just the id when the operation is successful. ### wc product_variation #### wc product_variation list -- `--product_id` — Unique identifier for the variable product. -- `--context` — Scope under which the request is made; determines fields present in response. -- `--page` — Current page of the collection. -- `--per_page` — Maximum number of items to be returned in result set. Defaults to 100 items. -- `--search` — Limit results to those matching a string. -- `--after` — Limit response to resources published after a given ISO8601 compliant date. -- `--before` — Limit response to resources published before a given ISO8601 compliant date. -- `--exclude` — Ensure result set excludes specific IDs. -- `--include` — Limit result set to specific ids. -- `--offset` — Offset the result set by a specific number of items. -- `--order` — Order sort attribute ascending or descending. -- `--orderby` — Sort collection by object attribute. -- `--parent` — Limit result set to those of particular parent IDs. -- `--parent_exclude` — Limit result set to all items except those of a particular parent ID. -- `--slug` — Limit result set to products with a specific slug. -- `--status` — Limit result set to products assigned a specific status. -- `--type` — Limit result set to products assigned a specific type. -- `--sku` — Limit result set to products with a specific SKU. -- `--featured` — Limit result set to featured products. -- `--category` — Limit result set to products assigned a specific category ID. -- `--tag` — Limit result set to products assigned a specific tag ID. -- `--shipping_class` — Limit result set to products assigned a specific shipping class ID. -- `--attribute` — Limit result set to products with a specific attribute. -- `--attribute_term` — Limit result set to products with a specific attribute term ID (required an assigned attribute). -- `--tax_class` — Limit result set to products with a specific tax class. -- `--in_stock` — Limit result set to products in stock or out of stock. -- `--on_sale` — Limit result set to products on sale. -- `--min_price` — Limit result set to products based on a minimum price. -- `--max_price` — Limit result set to products based on a maximum price. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--product_id` - Unique identifier for the variable product. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--page` - Current page of the collection. +- `--per_page` - Maximum number of items to be returned in result set. Defaults to 100 items. +- `--search` - Limit results to those matching a string. +- `--after` - Limit response to resources published after a given ISO8601 compliant date. +- `--before` - Limit response to resources published before a given ISO8601 compliant date. +- `--exclude` - Ensure result set excludes specific IDs. +- `--include` - Limit result set to specific ids. +- `--offset` - Offset the result set by a specific number of items. +- `--order` - Order sort attribute ascending or descending. +- `--orderby` - Sort collection by object attribute. +- `--parent` - Limit result set to those of particular parent IDs. +- `--parent_exclude` - Limit result set to all items except those of a particular parent ID. +- `--slug` - Limit result set to products with a specific slug. +- `--status` - Limit result set to products assigned a specific status. +- `--type` - Limit result set to products assigned a specific type. +- `--sku` - Limit result set to products with a specific SKU. +- `--featured` - Limit result set to featured products. +- `--category` - Limit result set to products assigned a specific category ID. +- `--tag` - Limit result set to products assigned a specific tag ID. +- `--shipping_class` - Limit result set to products assigned a specific shipping class ID. +- `--attribute` - Limit result set to products with a specific attribute. +- `--attribute_term` - Limit result set to products with a specific attribute term ID (required an assigned attribute). +- `--tax_class` - Limit result set to products with a specific tax class. +- `--in_stock` - Limit result set to products in stock or out of stock. +- `--on_sale` - Limit result set to products on sale. +- `--min_price` - Limit result set to products based on a minimum price. +- `--max_price` - Limit result set to products based on a maximum price. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -934,44 +934,44 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc product_variation create -- `--product_id` — Unique identifier for the variable product. -- `--description` — Variation description. -- `--sku` — Unique identifier. -- `--regular_price` — Variation regular price. -- `--sale_price` — Variation sale price. -- `--date_on_sale_from` — Start date of sale price, in the site's timezone. -- `--date_on_sale_from_gmt` — Start date of sale price, as GMT. -- `--date_on_sale_to` — End date of sale price, in the site's timezone. -- `--date_on_sale_to_gmt` — End date of sale price, in the site's timezone. -- `--visible` — Define if the attribute is visible on the "Additional information" tab in the product's page. -- `--virtual` — If the variation is virtual. -- `--downloadable` — If the variation is downloadable. -- `--downloads` — List of downloadable files. -- `--download_limit` — Number of times downloadable files can be downloaded after purchase. -- `--download_expiry` — Number of days until access to downloadable files expires. -- `--tax_status` — Tax status. -- `--tax_class` — Tax class. -- `--manage_stock` — Stock management at variation level. -- `--stock_quantity` — Stock quantity. -- `--in_stock` — Controls whether or not the variation is listed as "in stock" or "out of stock" on the frontend. -- `--backorders` — If managing stock, this controls if backorders are allowed. -- `--weight` — Variation weight (lbs). -- `--dimensions` — Variation dimensions. -- `--shipping_class` — Shipping class slug. -- `--image` — Variation image data. -- `--attributes` — List of attributes. -- `--menu_order` — Menu order, used to custom sort products. -- `--meta_data` — Meta data. -- `--porcelain` — Output just the id when the operation is successful. +- `--product_id` - Unique identifier for the variable product. +- `--description` - Variation description. +- `--sku` - Unique identifier. +- `--regular_price` - Variation regular price. +- `--sale_price` - Variation sale price. +- `--date_on_sale_from` - Start date of sale price, in the site's timezone. +- `--date_on_sale_from_gmt` - Start date of sale price, as GMT. +- `--date_on_sale_to` - End date of sale price, in the site's timezone. +- `--date_on_sale_to_gmt` - End date of sale price, in the site's timezone. +- `--visible` - Define if the attribute is visible on the "Additional information" tab in the product's page. +- `--virtual` - If the variation is virtual. +- `--downloadable` - If the variation is downloadable. +- `--downloads` - List of downloadable files. +- `--download_limit` - Number of times downloadable files can be downloaded after purchase. +- `--download_expiry` - Number of days until access to downloadable files expires. +- `--tax_status` - Tax status. +- `--tax_class` - Tax class. +- `--manage_stock` - Stock management at variation level. +- `--stock_quantity` - Stock quantity. +- `--in_stock` - Controls whether or not the variation is listed as "in stock" or "out of stock" on the frontend. +- `--backorders` - If managing stock, this controls if backorders are allowed. +- `--weight` - Variation weight (lbs). +- `--dimensions` - Variation dimensions. +- `--shipping_class` - Shipping class slug. +- `--image` - Variation image data. +- `--attributes` - List of attributes. +- `--menu_order` - Menu order, used to custom sort products. +- `--meta_data` - Meta data. +- `--porcelain` - Output just the id when the operation is successful. #### wc product_variation get [id] -- `--product_id` — Unique identifier for the variable product. -- `--id` — Unique identifier for the variation. -- `--context` — Scope under which the request is made; determines fields present in response. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--product_id` - Unique identifier for the variable product. +- `--id` - Unique identifier for the variation. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -979,52 +979,52 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc product_variation update [id] -- `--product_id` — Unique identifier for the variable product. -- `--id` — Unique identifier for the variation. -- `--description` — Variation description. -- `--sku` — Unique identifier. -- `--regular_price` — Variation regular price. -- `--sale_price` — Variation sale price. -- `--date_on_sale_from` — Start date of sale price, in the site's timezone. -- `--date_on_sale_from_gmt` — Start date of sale price, as GMT. -- `--date_on_sale_to` — End date of sale price, in the site's timezone. -- `--date_on_sale_to_gmt` — End date of sale price, in the site's timezone. -- `--visible` — Define if the attribute is visible on the "Additional information" tab in the product's page. -- `--virtual` — If the variation is virtual. -- `--downloadable` — If the variation is downloadable. -- `--downloads` — List of downloadable files. -- `--download_limit` — Number of times downloadable files can be downloaded after purchase. -- `--download_expiry` — Number of days until access to downloadable files expires. -- `--tax_status` — Tax status. -- `--tax_class` — Tax class. -- `--manage_stock` — Stock management at variation level. -- `--stock_quantity` — Stock quantity. -- `--in_stock` — Controls whether or not the variation is listed as "in stock" or "out of stock" on the frontend. -- `--backorders` — If managing stock, this controls if backorders are allowed. -- `--weight` — Variation weight (lbs). -- `--dimensions` — Variation dimensions. -- `--shipping_class` — Shipping class slug. -- `--image` — Variation image data. -- `--attributes` — List of attributes. -- `--menu_order` — Menu order, used to custom sort products. -- `--meta_data` — Meta data. -- `--porcelain` — Output just the id when the operation is successful. +- `--product_id` - Unique identifier for the variable product. +- `--id` - Unique identifier for the variation. +- `--description` - Variation description. +- `--sku` - Unique identifier. +- `--regular_price` - Variation regular price. +- `--sale_price` - Variation sale price. +- `--date_on_sale_from` - Start date of sale price, in the site's timezone. +- `--date_on_sale_from_gmt` - Start date of sale price, as GMT. +- `--date_on_sale_to` - End date of sale price, in the site's timezone. +- `--date_on_sale_to_gmt` - End date of sale price, in the site's timezone. +- `--visible` - Define if the attribute is visible on the "Additional information" tab in the product's page. +- `--virtual` - If the variation is virtual. +- `--downloadable` - If the variation is downloadable. +- `--downloads` - List of downloadable files. +- `--download_limit` - Number of times downloadable files can be downloaded after purchase. +- `--download_expiry` - Number of days until access to downloadable files expires. +- `--tax_status` - Tax status. +- `--tax_class` - Tax class. +- `--manage_stock` - Stock management at variation level. +- `--stock_quantity` - Stock quantity. +- `--in_stock` - Controls whether or not the variation is listed as "in stock" or "out of stock" on the frontend. +- `--backorders` - If managing stock, this controls if backorders are allowed. +- `--weight` - Variation weight (lbs). +- `--dimensions` - Variation dimensions. +- `--shipping_class` - Shipping class slug. +- `--image` - Variation image data. +- `--attributes` - List of attributes. +- `--menu_order` - Menu order, used to custom sort products. +- `--meta_data` - Meta data. +- `--porcelain` - Output just the id when the operation is successful. #### wc product_variation delete [id] -- `--product_id` — Unique identifier for the variable product. -- `--id` — Unique identifier for the variation. -- `--force` — Whether to bypass trash and force deletion. -- `--porcelain` — Output just the id when the operation is successful. +- `--product_id` - Unique identifier for the variable product. +- `--id` - Unique identifier for the variation. +- `--force` - Whether to bypass trash and force deletion. +- `--porcelain` - Output just the id when the operation is successful. ### wc setting #### wc setting get [id] -- `--group` — Settings group ID. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--group` - Settings group ID. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -1032,18 +1032,18 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc setting update [id] -- `--group` — Settings group ID. -- `--id` — Unique identifier for the resource. -- `--value` — Setting value. -- `--porcelain` — Output just the id when the operation is successful. +- `--group` - Settings group ID. +- `--id` - Unique identifier for the resource. +- `--value` - Setting value. +- `--porcelain` - Output just the id when the operation is successful. ### wc shipping_zone #### wc shipping_zone list -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -1051,16 +1051,16 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc shipping_zone create -- `--name` — Shipping zone name. (*Required*) -- `--order` — Shipping zone order. -- `--porcelain` — Output just the id when the operation is successful. +- `--name` - Shipping zone name. (*Required*) +- `--order` - Shipping zone order. +- `--porcelain` - Output just the id when the operation is successful. #### wc shipping_zone get [id] -- `--id` — Unique ID for the resource. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--id` - Unique ID for the resource. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -1068,25 +1068,25 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc shipping_zone update [id] -- `--id` — Unique ID for the resource. -- `--name` — Shipping zone name. -- `--order` — Shipping zone order. -- `--porcelain` — Output just the id when the operation is successful. +- `--id` - Unique ID for the resource. +- `--name` - Shipping zone name. +- `--order` - Shipping zone order. +- `--porcelain` - Output just the id when the operation is successful. #### wc shipping_zone delete [id] -- `--id` — Unique ID for the resource. -- `--force` — Whether to bypass trash and force deletion. -- `--porcelain` — Output just the id when the operation is successful. +- `--id` - Unique ID for the resource. +- `--force` - Whether to bypass trash and force deletion. +- `--porcelain` - Output just the id when the operation is successful. ### wc shipping_zone_location #### wc shipping_zone_location list -- `--id` — Unique ID for the resource. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--id` - Unique ID for the resource. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -1096,10 +1096,10 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc shipping_zone_method list -- `--zone_id` — Unique ID for the zone. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--zone_id` - Unique ID for the zone. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -1107,20 +1107,20 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc shipping_zone_method create -- `--zone_id` — Unique ID for the zone. -- `--order` — Shipping method sort order. -- `--enabled` — Shipping method enabled status. -- `--settings` — Shipping method settings. -- `--method_id` — Shipping method ID. (*Required*) -- `--porcelain` — Output just the id when the operation is successful. +- `--zone_id` - Unique ID for the zone. +- `--order` - Shipping method sort order. +- `--enabled` - Shipping method enabled status. +- `--settings` - Shipping method settings. +- `--method_id` - Shipping method ID. (*Required*) +- `--porcelain` - Output just the id when the operation is successful. #### wc shipping_zone_method get [id] -- `--zone_id` — Unique ID for the zone. -- `--instance_id` — Unique ID for the instance. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--zone_id` - Unique ID for the zone. +- `--instance_id` - Unique ID for the instance. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -1128,28 +1128,28 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc shipping_zone_method update [id] -- `--zone_id` — Unique ID for the zone. -- `--instance_id` — Unique ID for the instance. -- `--order` — Shipping method sort order. -- `--enabled` — Shipping method enabled status. -- `--settings` — Shipping method settings. -- `--porcelain` — Output just the id when the operation is successful. +- `--zone_id` - Unique ID for the zone. +- `--instance_id` - Unique ID for the instance. +- `--order` - Shipping method sort order. +- `--enabled` - Shipping method enabled status. +- `--settings` - Shipping method settings. +- `--porcelain` - Output just the id when the operation is successful. #### wc shipping_zone_method delete [id] -- `--zone_id` — Unique ID for the zone. -- `--instance_id` — Unique ID for the instance. -- `--force` — Whether to bypass trash and force deletion. -- `--porcelain` — Output just the id when the operation is successful. +- `--zone_id` - Unique ID for the zone. +- `--instance_id` - Unique ID for the instance. +- `--force` - Whether to bypass trash and force deletion. +- `--porcelain` - Output just the id when the operation is successful. ### wc tax_class #### wc tax_class list -- `--context` — Scope under which the request is made; determines fields present in response. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -1157,32 +1157,32 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc tax_class create -- `--name` — Tax class name. (*Required*) -- `--porcelain` — Output just the id when the operation is successful. +- `--name` - Tax class name. (*Required*) +- `--porcelain` - Output just the id when the operation is successful. #### wc tax_class delete [id] -- `--slug` — Unique slug for the resource. -- `--force` — Required to be true, as resource does not support trashing. -- `--porcelain` — Output just the id when the operation is successful. +- `--slug` - Unique slug for the resource. +- `--force` - Required to be true, as resource does not support trashing. +- `--porcelain` - Output just the id when the operation is successful. ### wc tax #### wc tax list -- `--context` — Scope under which the request is made; determines fields present in response. -- `--page` — Current page of the collection. -- `--per_page` — Maximum number of items to be returned in result set. Defaults to 100 items. -- `--search` — Limit results to those matching a string. -- `--exclude` — Ensure result set excludes specific IDs. -- `--include` — Limit result set to specific IDs. -- `--offset` — Offset the result set by a specific number of items. -- `--order` — Order sort attribute ascending or descending. -- `--orderby` — Sort collection by object attribute. -- `--class` — Sort by tax class. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--page` - Current page of the collection. +- `--per_page` - Maximum number of items to be returned in result set. Defaults to 100 items. +- `--search` - Limit results to those matching a string. +- `--exclude` - Ensure result set excludes specific IDs. +- `--include` - Limit result set to specific IDs. +- `--offset` - Offset the result set by a specific number of items. +- `--order` - Order sort attribute ascending or descending. +- `--orderby` - Sort collection by object attribute. +- `--class` - Sort by tax class. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -1190,26 +1190,26 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc tax create -- `--country` — Country ISO 3166 code. -- `--state` — State code. -- `--postcode` — Postcode / ZIP. -- `--city` — City name. -- `--rate` — Tax rate. -- `--name` — Tax rate name. -- `--priority` — Tax priority. -- `--compound` — Whether or not this is a compound rate. -- `--shipping` — Whether or not this tax rate also gets applied to shipping. -- `--order` — Indicates the order that will appear in queries. -- `--class` — Tax class. -- `--porcelain` — Output just the id when the operation is successful. +- `--country` - Country ISO 3166 code. +- `--state` - State code. +- `--postcode` - Postcode / ZIP. +- `--city` - City name. +- `--rate` - Tax rate. +- `--name` - Tax rate name. +- `--priority` - Tax priority. +- `--compound` - Whether or not this is a compound rate. +- `--shipping` - Whether or not this tax rate also gets applied to shipping. +- `--order` - Indicates the order that will appear in queries. +- `--class` - Tax class. +- `--porcelain` - Output just the id when the operation is successful. #### wc tax get [id] -- `--id` — Unique identifier for the resource. -- `--context` — Scope under which the request is made; determines fields present in response. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--id` - Unique identifier for the resource. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -1217,35 +1217,35 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc tax update [id] -- `--id` — Unique identifier for the resource. -- `--country` — Country ISO 3166 code. -- `--state` — State code. -- `--postcode` — Postcode / ZIP. -- `--city` — City name. -- `--rate` — Tax rate. -- `--name` — Tax rate name. -- `--priority` — Tax priority. -- `--compound` — Whether or not this is a compound rate. -- `--shipping` — Whether or not this tax rate also gets applied to shipping. -- `--order` — Indicates the order that will appear in queries. -- `--class` — Tax class. -- `--porcelain` — Output just the id when the operation is successful. +- `--id` - Unique identifier for the resource. +- `--country` - Country ISO 3166 code. +- `--state` - State code. +- `--postcode` - Postcode / ZIP. +- `--city` - City name. +- `--rate` - Tax rate. +- `--name` - Tax rate name. +- `--priority` - Tax priority. +- `--compound` - Whether or not this is a compound rate. +- `--shipping` - Whether or not this tax rate also gets applied to shipping. +- `--order` - Indicates the order that will appear in queries. +- `--class` - Tax class. +- `--porcelain` - Output just the id when the operation is successful. #### wc tax delete [id] -- `--id` — Unique identifier for the resource. -- `--force` — Required to be true, as resource does not support trashing. -- `--porcelain` — Output just the id when the operation is successful. +- `--id` - Unique identifier for the resource. +- `--force` - Required to be true, as resource does not support trashing. +- `--porcelain` - Output just the id when the operation is successful. ### wc webhook_delivery #### wc webhook_delivery list -- `--webhook_id` — Unique identifier for the webhook. -- `--context` — Scope under which the request is made; determines fields present in response. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--webhook_id` - Unique identifier for the webhook. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -1253,12 +1253,12 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc webhook_delivery get [id] -- `--webhook_id` — Unique identifier for the webhook. -- `--id` — Unique identifier for the resource. -- `--context` — Scope under which the request is made; determines fields present in response. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--webhook_id` - Unique identifier for the webhook. +- `--id` - Unique identifier for the resource. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -1268,21 +1268,21 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc webhook list -- `--context` — Scope under which the request is made; determines fields present in response. -- `--page` — Current page of the collection. -- `--per_page` — Maximum number of items to be returned in result set. Defaults to 100 items. -- `--search` — Limit results to those matching a string. -- `--after` — Limit response to resources published after a given ISO8601 compliant date. -- `--before` — Limit response to resources published before a given ISO8601 compliant date. -- `--exclude` — Ensure result set excludes specific IDs. -- `--include` — Limit result set to specific ids. -- `--offset` — Offset the result set by a specific number of items. -- `--order` — Order sort attribute ascending or descending. -- `--orderby` — Sort collection by object attribute. -- `--status` — Limit result set to webhooks assigned a specific status. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--page` - Current page of the collection. +- `--per_page` - Maximum number of items to be returned in result set. Defaults to 100 items. +- `--search` - Limit results to those matching a string. +- `--after` - Limit response to resources published after a given ISO8601 compliant date. +- `--before` - Limit response to resources published before a given ISO8601 compliant date. +- `--exclude` - Ensure result set excludes specific IDs. +- `--include` - Limit result set to specific ids. +- `--offset` - Offset the result set by a specific number of items. +- `--order` - Order sort attribute ascending or descending. +- `--orderby` - Sort collection by object attribute. +- `--status` - Limit result set to webhooks assigned a specific status. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -1290,20 +1290,20 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc webhook create -- `--name` — A friendly name for the webhook. -- `--status` — Webhook status. -- `--topic` — Webhook topic. (*Required*) -- `--secret` — Webhook secret. (*Required*) -- `--delivery_url` — Webhook delivery URL. (*Required*) -- `--porcelain` — Output just the id when the operation is successful. +- `--name` - A friendly name for the webhook. +- `--status` - Webhook status. +- `--topic` - Webhook topic. (*Required*) +- `--secret` - Webhook secret. (*Required*) +- `--delivery_url` - Webhook delivery URL. (*Required*) +- `--porcelain` - Output just the id when the operation is successful. #### wc webhook get [id] -- `--id` — Unique identifier for the resource. -- `--context` — Scope under which the request is made; determines fields present in response. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--id` - Unique identifier for the resource. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -1311,27 +1311,27 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc webhook update [id] -- `--id` — Unique identifier for the resource. -- `--name` — A friendly name for the webhook. -- `--status` — Webhook status. -- `--topic` — Webhook topic. -- `--secret` — Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default is a MD5 hash from the current user's ID|username if not provided. -- `--porcelain` — Output just the id when the operation is successful. +- `--id` - Unique identifier for the resource. +- `--name` - A friendly name for the webhook. +- `--status` - Webhook status. +- `--topic` - Webhook topic. +- `--secret` - Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default is a MD5 hash from the current user's ID|username if not provided. +- `--porcelain` - Output just the id when the operation is successful. #### wc webhook delete [id] -- `--id` — Unique identifier for the resource. -- `--force` — Required to be true, as resource does not support trashing. -- `--porcelain` — Output just the id when the operation is successful. +- `--id` - Unique identifier for the resource. +- `--force` - Required to be true, as resource does not support trashing. +- `--porcelain` - Output just the id when the operation is successful. ### wc shipping_method #### wc shipping_method list -- `--context` — Scope under which the request is made; determines fields present in response. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -1339,11 +1339,11 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc shipping_method get [id] -- `--id` — Unique identifier for the resource. -- `--context` — Scope under which the request is made; determines fields present in response. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--id` - Unique identifier for the resource. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -1353,10 +1353,10 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc payment_gateway list -- `--context` — Scope under which the request is made; determines fields present in response. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -1364,11 +1364,11 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc payment_gateway get [id] -- `--id` — Unique identifier for the resource. -- `--context` — Scope under which the request is made; determines fields present in response. -- `--fields` — Limit response to specific fields. Defaults to all fields. -- `--field` — Get the value of an individual field. -- `--format` — Render response in a particular format. +- `--id` - Unique identifier for the resource. +- `--context` - Scope under which the request is made; determines fields present in response. +- `--fields` - Limit response to specific fields. Defaults to all fields. +- `--field` - Get the value of an individual field. +- `--format` - Render response in a particular format. Default: table @@ -1376,25 +1376,25 @@ Options: table, json, csv, ids, yaml, count, headers, body, envelope #### wc payment_gateway update [id] -- `--id` — Unique identifier for the resource. -- `--title` — Payment gateway title on checkout. -- `--description` — Payment gateway description on checkout. -- `--order` — Payment gateway sort order. -- `--enabled` — Payment gateway enabled status. -- `--settings` — Payment gateway settings. -- `--porcelain` — Output just the id when the operation is successful. +- `--id` - Unique identifier for the resource. +- `--title` - Payment gateway title on checkout. +- `--description` - Payment gateway description on checkout. +- `--order` - Payment gateway sort order. +- `--enabled` - Payment gateway enabled status. +- `--settings` - Payment gateway settings. +- `--porcelain` - Output just the id when the operation is successful. ### wc com #### wc com extension list -- `--format` — Render output in a particular format. +- `--format` - Render output in a particular format. Default: table Options: table, csv, json, yaml -- `--fields` — Limit the output to specific object fields. +- `--fields` - Limit the output to specific object fields. Default: all @@ -1402,8 +1402,8 @@ Options: product_slug, product_name, auto_renew, expires_on, expired, sites_max, #### wc com extension install [extension] -- `--extension` — Install one plugin from the available extensions.Accepts a plugin slug -- `--force` — If set, the command will overwrite any installed version of the extension without prompting for confirmation. -- `--activate` — If set, after installation, the plugin will activate it. -- `--activate-network` — If set, the plugin will be network activated immediately after installation -- `--insecure` — Retry downloads without certificate validation if TLS handshake fails. Note: This makes the request vulnerable to a MITM attack. +- `--extension` - Install one plugin from the available extensions.Accepts a plugin slug +- `--force` - If set, the command will overwrite any installed version of the extension without prompting for confirmation. +- `--activate` - If set, after installation, the plugin will activate it. +- `--activate-network` - If set, the plugin will be network activated immediately after installation +- `--insecure` - Retry downloads without certificate validation if TLS handshake fails. Note: This makes the request vulnerable to a MITM attack.