Class ByProjectKeyMeSignupPost

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.BodyApiMethod<T,TResult,TBody>
io.vrap.rmf.base.client.TypeBodyApiMethod<ByProjectKeyMeSignupPost,CustomerSignInResult,MyCustomerDraft>
com.commercetools.api.client.ByProjectKeyMeSignupPost
All Implemented Interfaces:
ErrorableTrait<ByProjectKeyMeSignupPost>, io.vrap.rmf.base.client.ClientRequestCommand<CustomerSignInResult>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.HttpRequestCommand<CustomerSignInResult>, io.vrap.rmf.base.client.RequestCommand<CustomerSignInResult>

public class ByProjectKeyMeSignupPost extends io.vrap.rmf.base.client.TypeBodyApiMethod<ByProjectKeyMeSignupPost,CustomerSignInResult,MyCustomerDraft> implements ErrorableTrait<ByProjectKeyMeSignupPost>

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(null)
            .execute()