Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
BuyerGroupRequest Class
Contains methods to retrieve account and store details used to identify the buyer groups
associated with a user.
Namespace
BuyerGroupRequest Methods
The following are methods for BuyerGroupRequest.
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
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. |