Sana Assistant (online)
Table of Contents

PunchoutLoginInfo reference

This article provides reference material about PunchoutLoginInfo record.

PunchoutLoginInfo record contains information needed to login shop account, restore basket and redirect user to specific page. An instance of this record is returned by the OnLoginRequestReceivedAsync method of the punchout extension.

Properties

PunchoutLoginInfo record

PunchoutSessionId

The external punchout session identifier that Sana will store in the shop account login session and then pass the value to the TransferBasketAsync method of the punchout extension.

ShopAccountEmail

The shop account email of the user who should be logged in.

RedirectInfo

The information of the page to which the user should be redirected first.

BasketRestoreInfo

The basket information to restore. Used in case of punchout edit to restore the content of previously transferred basket.

BasketId

The basket identifier used to separate baskets when multiple users use the same shop account at the same time and need to have separate baskets. If null is provided, the basket will be shared between punchout sessions of the same shop account.

See also