Back to Woocommerce

wc shipping_method

docs/wc-cli/wc-cli-commands/wc-shipping-method.md

11.0.0-dev894 B
Original Source

Manage WooCommerce shipping method resources.

wc shipping_method list

List all shipping methods.

  • --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

    Options: table, json, csv, ids, yaml, count, headers, body, envelope

wc shipping_method get <id>

Get a single shipping method.

  • --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

    Options: table, json, csv, yaml, headers, body, envelope