Create WooCommerce Order Note
woocommerce_create_order_noteAdd a note to a WooCommerce order. Choose whether it is visible to the customer (sends email) or internal only.
Instructions
Add a note to an order. Customer-visible notes trigger an email to the customer; internal notes are only visible in the admin.
Args:
order_id (number, required)
note (string, required)
customer_note (boolean, default false): true = customer-visible (emails customer), false = internal only
response_format ('markdown'|'json'): default 'markdown'
Returns: The newly created note object.
Examples:
Use when: "let the customer know order 100 has shipped" -> order_id=100, note="Your order has shipped!", customer_note=true
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | Note content | |
| order_id | Yes | The numeric WooCommerce order ID | |
| customer_note | No | If true, the note is visible to the customer (e.g. shipped notifications). Default: false (private/internal note) | |
| response_format | No | Output format: 'markdown' for human-readable text or 'json' for machine-readable structured data | markdown |