accountId property

String? accountId
getter/setter pair

For logged-in requests or login/registration requests, the unique account identifier associated with this user.

You can use the username if it is stable (meaning it is the same for every request associated with the same user), or any stable user ID of your choice. Leave blank for non logged-in actions or guest checkout.

Optional.

Implementation

core.String? accountId;