1
refreshClientSession: Promise<Boolean>
ts
copy
Update the checkout with the latest client session.
You should call refreshClientSession
for the checkout to have access to the latest changes each time you update the client session with PATCH /client-session
.
123
// Refresh client session by calling refreshClientSession// This will result in Headless Checkout having access to the latest changes made to the client sessionheadless.refreshClientSession()
ts
copy