Skip to navigation

generateSessionSyncJwt

Generate Session Sync JWT Token.

Arguments

redirectToStringRequired
The route where to redirect after generation of token
cartIdStringOptional
The cartId for which token should be created.
paymentWalletDataPaymentWalletDataInputOptional
The payment wallet data.
visitorIdStringOptionalformat: "uuid"Deprecated

The visitor Id.

Deprecated: Use ‘analytics’ argument to provide visitorId instead. This field will be removed in the future.

visitIdStringOptionalformat: "uuid"Deprecated

The visit Id.

Deprecated: Use ‘analytics’ argument to provide visitId instead. This field will be removed in the future.

ipAddressStringOptionalDeprecated

IP4 or IP6 compatible address to include in the session redirect url

Deprecated: Use ‘analytics’ argument to provide ipAddress instead. This field will be removed in the future.

analyticsAnalyticsCommonEventInputOptional
The analytics data.

Returns

a GenerateSessionSyncTokenResult
The errors that occurred during the mutation.
The result of the mutation when successful.