> For the complete documentation index, see [llms.txt](https://the-wishlist-documentation.gitbook.io/the-wishlist-documentation-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://the-wishlist-documentation.gitbook.io/the-wishlist-documentation-docs/customer-rest-api/customers/createmultiplecustomer.md).

# createMultipleCustomer

This endpoint is used to create an array of customers. ***email*** is a mandatory field for all customers.

```json
{"openapi":"3.0.3","info":{"title":"Customer REST API","version":"0.0.1"},"tags":[{"name":"customers","description":"Create, read, update and delete customers, and look them up by id, reference, email or alternate reference."}],"servers":[{"url":"https://api.au-aws.thewishlist.io/services/customerservice"}],"security":[{"Bearer":[]}],"components":{"securitySchemes":{"Bearer":{"type":"http","scheme":"bearer","description":"OAuth2 bearer token issued by TWC Keycloak, sent as `Bearer <token>`."}},"parameters":{"X-TWC-Tenant":{"name":"X-TWC-Tenant","in":"header","required":false,"description":"tenant-key (your retail store's unique identifier in TWC)","schema":{"type":"string"}}}},"paths":{"/api/v2/upload-customers":{"post":{"summary":"createMultipleCustomer","operationId":"createMultipleCustomersUsingPOST","parameters":[{"$ref":"#/components/parameters/X-TWC-Tenant"}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"addresses":{"type":"array","items":{"type":"object","properties":{"address1":{"type":"string"},"address2":{"type":"string"},"addressName":{"type":"string"},"city":{"type":"string"},"company":{"type":"string"},"country":{"type":"string"},"countryCode":{"type":"string"},"defaultAddress":{"type":"boolean"},"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"phone":{"type":"string"},"postcode":{"type":"string"},"province":{"type":"string"},"provinceCode":{"type":"string"}}}},"alternateCustomerRef":{"type":"string"},"attributeGroups":{"type":"object","properties":{"property1":{"type":"object","properties":{"attributes":{"type":"object","properties":{"property1":{"type":"string"},"property2":{"type":"string"}}},"description":{"type":"string"}}},"property2":{"type":"object","properties":{"attributes":{"type":"object","properties":{"property1":{"type":"string"},"property2":{"type":"string"}}},"description":{"type":"string"}}}}},"customerRef":{"type":"string"},"dob":{"type":"string"},"email":{"type":"string"},"firstName":{"type":"string"},"id":{"type":"string"},"joinedStoreId":{"type":"string"},"joinedStoreName":{"type":"string"},"lastName":{"type":"string"},"loyaltyTier":{"type":"string"},"memberSince":{"type":"string"},"mobile":{"type":"string"},"optin_preferences":{"type":"object","properties":{"email":{"type":"object","properties":{"opt_in_active":{"type":"boolean"},"opt_in_updated_at":{"type":"string"},"opted_in_at":{"type":"string"}}},"sms":{"type":"object","properties":{"opt_in_active":{"type":"boolean"},"opt_in_updated_at":{"type":"string"},"opted_in_at":{"type":"string"}}}}},"phone":{"type":"string"},"preferredStore":{"type":"string"},"spendToNextTier":{"type":"string"},"vipStatus":{"type":"boolean"}}}}}},"description":"customers","required":true},"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false,"description":"This endpoint is used to create an array of customers.\n***email*** is a mandatory field for all customers.","tags":["customers"]}}}}
```
