Actions15
Customer → Create
AI-generatedSummary
Creates a new WooCommerce customer using the provided authentication credentials and customer details.
Inputs
- Store URL (required) — The base URL of your WooCommerce store (e.g., https://your-store.com). The node strips trailing slashes automatically.
- Consumer Key (required) — The WooCommerce API consumer key for authentication.
- Consumer Secret (required) — The WooCommerce API consumer secret for authentication.
- Email — The email address for the new customer.
- First Name — The customer's first name.
- Last Name — The customer's last name.
- Meta Data — A collection of custom metadata key-value pairs to attach to the customer (e.g., tags, notes).
Output shape
A single customer record (JSON object) representing the newly created customer, including standard WooCommerce customer fields like ID, name, and email.
The operation performs a POST request to the WooCommerce REST API (/customers). The response body is returned directly. If the request fails, the node throws an error.
Examples
Example 1: Register a new customer with basic information and a custom tag.
Email: customer@example.com, First Name: John, Last Name: Doe, Meta Data: { key: 'tag', value: 'vip' }
Example 2: Create a customer with only an email address.
Email: user@example.com