Class ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyPost

All Implemented Interfaces:
ConflictingTrait<ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyPost>, Deprecatable200Trait<ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyPost>, ErrorableTrait<ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyPost>, ExpandableTrait<ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyPost>, ClientRequestCommand<Customer>, CreateHttpRequestCommand, HttpRequestCommand<Customer>, RequestCommand<Customer>

If the Customer exists in the Project but the stores field references a different Store, this method returns a ResourceNotFound error.

Simultaneously updating two Customers with the same email address can return a LockedField error.



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.customer.Customer>> result = apiRoot
            .withProjectKey("{projectKey}")
            .inStoreKeyWithStoreKeyValue("{storeKey}")
            .customers()
            .withKey("{key}")
            .post(null)
            .execute()