Class ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyPostString

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.BodyApiMethod<T,TResult,String>
io.vrap.rmf.base.client.StringBodyApiMethod<ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyPostString,Customer>
com.commercetools.api.client.ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyPostString
All Implemented Interfaces:
ConflictingTrait<ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyPostString>, Deprecatable200Trait<ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyPostString>, ErrorableTrait<ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyPostString>, ExpandableTrait<ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyPostString>, io.vrap.rmf.base.client.ClientRequestCommand<Customer>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.RequestCommand<Customer>

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



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