BuyerGroupRequest Class

Contains methods to retrieve account and store details used to identify the buyer groups associated with a user.

Namespace

CommerceBuyGrp

BuyerGroupRequest Methods

The following are methods for BuyerGroupRequest.

getAccountId()

Returns the account ID of a user.

Signature

public String getAccountId()

Return Value

Type: String

getStoreId()

Returns the ID of the web store.

Signature

public String getStoreId()

Return Value

Type: String

getRequestContextParameters()

Returns a map of user context parameters evaluated at runtime, includingisGuestUser, locale, and guest_uuid_essential_{siteId}.

Signature

public Map<String,Object> getRequestContextParameters()

Return Value

Type: Map<String,Object>

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.