Class ByProjectKeyMeSignupPostString

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<ByProjectKeyMeSignupPostString,CustomerSignInResult>
com.commercetools.api.client.ByProjectKeyMeSignupPostString
All Implemented Interfaces:
ErrorableTrait<ByProjectKeyMeSignupPostString>, io.vrap.rmf.base.client.ClientRequestCommand<CustomerSignInResult>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.RequestCommand<CustomerSignInResult>

public class ByProjectKeyMeSignupPostString extends io.vrap.rmf.base.client.StringBodyApiMethod<ByProjectKeyMeSignupPostString,CustomerSignInResult> implements ErrorableTrait<ByProjectKeyMeSignupPostString>

If used with an access token for an anonymous session, all Orders and Carts that belong to the anonymousId are assigned to the newly created Customer.

Creating a Customer produces the CustomerCreated Message.



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