WooCommerce

Add WooCommerce Order Note

Adds a private note for staff to an order.

Unverified

What the model is told

Add an internal note to a WooCommerce order, for example to record a delivery instruction or a request the customer made. The note is private and is not shown to or emailed to the customer. Confirm the wording with the customer if it records something they said. It returns the saved note. Tell the customer the team has noted it.

Request

POSThttps://YOUR_STORE_DOMAIN/wp-json/wc/v3/orders/{{orderId}}/notes

Headers

  • Content-Typeapplication/json
  • AuthorizationBasic YOUR_BASE64_WOOCOMMERCE_KEY_AND_SECRET

Body

{
  "note": "{{note}}",
  "customer_note": false
}

Parameters

  • orderId stringThe WooCommerce order number.
  • note stringThe note text for staff.

Engage payload

{
  "source": "VOICE_AI",
  "tool": {
    "id": "060d237c-1675-42bd-a918-6cba6ae0e5fc",
    "type": "HTTP_REQUEST",
    "label": "Add WooCommerce Order Note",
    "name": "add_woocommerce_order_note",
    "customName": false,
    "description": "Add an internal note to a WooCommerce order, for example to record a delivery instruction or a request the customer made. The note is private and is not shown to or emailed to the customer. Confirm the wording with the customer if it records something they said. It returns the saved note. Tell the customer the team has noted it.",
    "parameters": [
      {
        "name": "orderId",
        "type": "string",
        "description": "The WooCommerce order number."
      },
      {
        "name": "note",
        "type": "string",
        "description": "The note text for staff."
      }
    ],
    "config": {
      "endpoint": {
        "method": "POST",
        "url": "https://YOUR_STORE_DOMAIN/wp-json/wc/v3/orders/{{orderId}}/notes"
      },
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        },
        {
          "name": "Authorization",
          "value": "Basic YOUR_BASE64_WOOCOMMERCE_KEY_AND_SECRET"
        }
      ],
      "body": "{\n  \"note\": \"{{note}}\",\n  \"customer_note\": false\n}",
      "timeout": null
    }
  }
}

IDs are regenerated on every copy.