Class ByProjectKeyCustomersPostString

All Implemented Interfaces:
Deprecatable201Trait<ByProjectKeyCustomersPostString>, ErrorableTrait<ByProjectKeyCustomersPostString>, ExpandableTrait<ByProjectKeyCustomersPostString>, ClientRequestCommand<CustomerSignInResult>, CreateHttpRequestCommand, HttpRequestCommand<CustomerSignInResult>, RequestCommand<CustomerSignInResult>

Creating a Customer produces the CustomerCreated Message. Simultaneously creating two Customers with the same email address can return a LockedField error.



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.customer.CustomerSignInResult>> result = apiRoot
            .withProjectKey("{projectKey}")
            .customers()
            .post("")
            .execute()