OBJECT

Mutation

link GraphQL Schema definition

1type Mutation {
2
3# Delete the marketing tracking data for a user for the store.
4#
5# Equivalent to DELETE /store/{storeId}/user_behavior/{userId}
6#
7# Arguments
8# storeId: The store identifier.
9# userId: The user ID
10deleteUserBehaviorData(storeId: StoreId!, userId: BigInt!): deleteUserBehaviorResponse
82
11# Evaluates potential triggers passed from the store.
12#
13# Equivalent to POST /store/{storeId}/event/evaluate_triggers
14#
15# Arguments
16# requestBody: Marketing event trigger. Note : all parameters
17# specified beyond the schema are sent to the marketing event.
18# responseFormat: The response format. Valid values are json and
19# xml. If the request contains an input body, it must use the format specified in
20# responseFormat. If the responseFormat is not specified, the accept HTTP header
21# determines the format of the response. If the accept HTTP header is not
22# specified then default response format is json.
23# storeId: The store identifier.
24eventEvaluateTriggers(
25requestBody: eventTriggerInput,
26responseFormat: ResponseFormat,
27storeId: String!
28): String
82
29# Handles click information.
30#
31# Equivalent to POST /store/{storeId}/event/click_info
32#
33# Arguments
34# requestBody: Marketing event trigger. Note : all parameters
35# specified beyond the schema are sent to the marketing event.
36# responseFormat: The response format. Valid values are json and
37# xml. If the request contains an input body, it must use the format specified in
38# responseFormat. If the responseFormat is not specified, the accept HTTP header
39# determines the format of the response. If the accept HTTP header is not
40# specified then default response format is json.
41# storeId: The store identifier.
42eventHandleClickInfo(
43requestBody: eventTriggerclickinfoInput,
44responseFormat: ResponseFormat,
45storeId: String!
46): String
82
47# Triggers marketing based on certain events.
48#
49# Equivalent to POST /store/{storeId}/event
50#
51# Arguments
52# requestBody: Marketing event trigger. Note : all parameters
53# specified beyond the schema are sent to the marketing event.
54# responseFormat: The response format. Valid values are json and
55# xml. If the request contains an input body, it must use the format specified in
56# responseFormat. If the responseFormat is not specified, the accept HTTP header
57# determines the format of the response. If the accept HTTP header is not
58# specified then default response format is json.
59# storeId: The store identifier.
60eventTriggerMarketing(
61requestBody: eventTriggerInput,
62responseFormat: ResponseFormat,
63storeId: String!
64): String
82
65# Update the marketing tracking consent for a user for the store.
66#
67# Equivalent to POST /store/{storeId}/event/update_marketing_tracking_consent
68#
69# Arguments
70# requestBody: Marketing tracking consent parameters.
71# responseFormat: The response format. Valid values are json and
72# xml. If the request contains an input body, it must use the format specified in
73# responseFormat. If the responseFormat is not specified, the accept HTTP header
74# determines the format of the response. If the accept HTTP header is not
75# specified then default response format is json.
76# storeId: The store identifier.
77eventUpdateMarketingTrackingConsent(
78requestBody: marketingTrackingConsentInput,
79responseFormat: ResponseFormat,
80storeId: String!
81): String
83
84}

link Required by

This element is not required by anyone