If used with an optional 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](ctp:api:type:CustomerCreatedMessage) Message.
If used with an optional access token for an anonymous session, all Orders and Carts that belong to the
anonymousId
are assigned to the newly created Customer.