BuyerGroupRequest Class
Contains methods to retrieve account and store details used to identify the buyer groups associated with a user.
The following are methods for BuyerGroupRequest.
-
Returns the account ID of a user.
-
Returns the ID of the web store.
-
Returns a map of user context parameters evaluated at runtime, including
isGuestUser,locale, andguest_uuid_essential_{siteId}.
Returns the account ID of a user.
public String getAccountId()
Type: String
Returns the ID of the web store.
public String getStoreId()
Type: String
Returns a map of user context parameters evaluated at runtime, includingisGuestUser, locale, and guest_uuid_essential_{siteId}.
public Map<String,Object> getRequestContextParameters()
Here’s a list of context parameters to include in the request:
| Name | Type | Description |
|---|---|---|
guest_uuid_essential_{siteId} | String | Specifies the multiple key-value pair representing guest UUID cookie for each store. Generated by the client as a unique device identifier where siteId is the 15-digit ID for the site associated with the webstore. |
isGuestUser | Boolean | Indicates whether the user in context is a guest user (true) or an authenticated user (false). |
locale | String | Specifies the user’s locale. |