OBJECT

Query

link GraphQL Schema definition

1type Query {
2
3# Gets the context data by the cookies and tokens sent with the request.
4#
5# Equivalent to GET /store/{storeId}/usercontext/@self/contextdata
6#
7# Arguments
8# responseFormat: The response format. Valid values are json and
9# xml. If the request contains an input body, it must use the format specified in
10# responseFormat. If the responseFormat is not specified, the accept HTTP header
11# determines the format of the response. If the accept HTTP header is not
12# specified then default response format is json.
13# storeId: The store identifier.
14userContextGetContextData(
15responseFormat: ResponseFormat,
16storeId: String!
17): userContext
33
18# Gets or generates the Personalization ID of the current session.
19#
20# Equivalent to GET /store/{storeId}/usercontext/personalizationId
21#
22# Arguments
23# responseFormat: The response format. Valid values are json and
24# xml. If the request contains an input body, it must use the format specified in
25# responseFormat. If the responseFormat is not specified, the accept HTTP header
26# determines the format of the response. If the accept HTTP header is not
27# specified then default response format is json.
28# storeId: The store identifier.
29userContextGetPersonalizationID(
30responseFormat: ResponseFormat,
31storeId: String!
32): personalizationIdentifier
34
35}

link Required by

This element is not required by anyone