Back to Woocommerce

WooCommerce CLI Commands

docs/wc-cli/wc-cli-commands/README.md

11.0.0-dev4.2 KB
Original Source

WooCommerce CLI Commands

Overview

This document serves as a comprehensive reference for the WooCommerce Command Line Interface (WC-CLI) commands. It includes syntax, options, and brief descriptions for each command. These commands are applicable for WooCommerce version 3.0.0 and later.

General Command Structure

The general syntax for WC-CLI commands is:

bash
wp wc [command] [options]

For detailed help on any specific command, use:

bash
wp wc [command] --help

Commands

CommandDescription
wc blueprintImports and exports WooCommerce Blueprints.
wc comInteracts with extensions from the WooCommerce.com marketplace via CLI.
wc customerManage WooCommerce customer resources.
wc customer_downloadManage WooCommerce customer download resources.
wc hposCommands for managing High-Performance Order Storage (HPOS). For detailed examples, see HPOS CLI tools.
wc order_noteManage WooCommerce order note resources.
wc paltCommands for managing the product attributes lookup table. The table stores denormalized product attribute term data used to speed up catalog filtering.
wc payment_gatewayManage WooCommerce payment gateway resources.
wc productManage WooCommerce product resources.
wc product_attributeManage WooCommerce product attribute resources.
wc product_attribute_termManage WooCommerce product attribute term resources.
wc product_catManage WooCommerce product category resources.
wc product_reviewManage WooCommerce product review resources.
wc product_shipping_classManage WooCommerce product shipping class resources.
wc product_tagManage WooCommerce product tag resources.
wc product_variationManage WooCommerce product variation resources.
wc settingManage WooCommerce setting resources.
wc shipping_methodManage WooCommerce shipping method resources.
wc shipping_zoneManage WooCommerce shipping zone resources.
wc shipping_zone_locationManage WooCommerce shipping zone location resources.
wc shipping_zone_methodManage WooCommerce shipping zone method resources.
wc shop_couponManage WooCommerce shop coupon resources.
wc shop_orderManage WooCommerce shop order resources.
wc shop_order_refundManage WooCommerce shop order refund resources.
wc taxManage WooCommerce tax resources.
wc tax_classManage WooCommerce tax class resources.
wc toolRuns WooCommerce system status tools from the CLI.
wc updateRuns all pending WooCommerce database updates.
wc webhookManage WooCommerce webhook resources.
wc webhook_deliveryManage WooCommerce webhook delivery resources.