You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: source/includes/wp-api-v1/_customers.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ The customer API allows you to create, view, update, and delete individual, or a
12
12
|`email`| string | The email address for the customer. <iclass="label label-info">mandatory</i> |
13
13
|`first_name`| string | Customer first name. |
14
14
|`last_name`| string | Customer last name. |
15
-
|`username`| string | Customer login name. Can be generated automatically from the customer's email addrees if the option `woocommerce_registration_generate_username` is equal to `yes` <iclass="label label-info">cannot be changed</i> <iclass="label label-info">maybe mandatory</i> |
15
+
|`username`| string | Customer login name. Can be generated automatically from the customer's email address if the option `woocommerce_registration_generate_username` is equal to `yes` <iclass="label label-info">cannot be changed</i> <iclass="label label-info">maybe mandatory</i> |
16
16
|`password`| string | Customer password. Can be generated automatically with [`wp_generate_password()`](http://codex.wordpress.org/Function_Reference/wp_generate_password) if the "Automatically generate customer password" option is enabled, check the index meta for `generate_password` <iclass="label label-info">write-only</i> <iclass="label label-info">maybe mandatory</i> |
17
17
|`last_order`| array | Last order data. See [Customer Last Order properties](#customer-last-order-properties). <iclass="label label-info">read-only</i> |
18
18
|`orders_count`| integer | Quantity of orders made by the customer. <iclass="label label-info">read-only</i> |
0 commit comments