Menu
Create Customer
This API helps you to create a new customer.
POST
/customersUse it in a workflow
- Add a step and choose the WooCommerce connector.
- Pick the Create Customer action (under Customers).
- Fill in the fields below, then reference the result from later steps as
{{createCustomer.response.data}}.
Request
Request body
Enter the body as JSON in the step's Body field.
{
"id": 0,
"date_created": "2025-01-01T00:00:00Z",
"date_created_gmt": "2025-01-01T00:00:00Z",
"date_modified": "2025-01-01T00:00:00Z",
"date_modified_gmt": "2025-01-01T00:00:00Z",
"email": "string",
"first_name": "string",
"last_name": "string",
"role": "string",
"username": "string",
"password": "string",
"billing": {
"first_name": "string",
"last_name": "string",
"company": "string",
"address_1": "string",
"address_2": "string",
"city": "string",
"state": "string",
"postcode": "string",
"country": "string",
"email": "string",
"phone": "string"
}
}
Response
Returns 200 with an object. Read it in later steps with {{createCustomer.response.data.<field>}}.
{
"id": 0,
"date_created": "2025-01-01T00:00:00Z",
"date_created_gmt": "2025-01-01T00:00:00Z",
"date_modified": "2025-01-01T00:00:00Z",
"date_modified_gmt": "2025-01-01T00:00:00Z",
"email": "string",
"first_name": "string",
"last_name": "string",
"role": "string",
"username": "string",
"password": "string",
"billing": {
"first_name": "string",
"last_name": "string",
"company": "string",
"address_1": "string",
"address_2": "string",
"city": "string",
"state": "string",
"postcode": "string",
"country": "string",
"email": "string",
"phone": "string"
}
}
Need more? See the WooCommerce guide for connection setup and behaviour shared by every action.
Was this page helpful?