Feature Pack 4Feature Pack 5Feature Pack 6

UserContextHandler

This class provides RESTful services to retrieve the user context of a shopper. For example, PersonalizationId.

Method Name HTTP Method URL Query Params Description Authentication Example
getPersonalizationID GET store/{storeId}/usercontext/personalizationId responseFormat={responseFormat} Gets or generates the PersonalizationId.If the WCToken is passed in the HTTP header, it returns the personalization ID based on the WCToken. Otherwise, it returns a personalization ID for a generic user (guest shopper). No,HTTP Sample