Reopen customer session

PUT {{baseUrl}}/v2/customer_sessions/:customerSessionId/reopen

Reopen a closed customer session.
For example, if a session has been completed but still needs to be edited, you can reopen it with this endpoint.
A reopen session is treated like a standard open session.

When reopening a session:

  • The talon_session_reopened event is triggered. You can see it in the Events view in the Campaign Manager.

  • The session state is updated to open.

  • Modified budgets and triggered effects when the session was closed are rolled back except for the list below.

Effects and budgets unimpacted by a session reopening

The following effects and budgets are left the way they were once the session was originally closed:

  • Add free item effect

  • Any not pending pending loyalty points.

  • Award giveaway

  • Coupon and referral creation

  • Coupon reservation

  • Custom effect

  • Update attribute value

  • Update cart item attribute value

To see an example of roll back, see theCancelling a session with campaign budgets tutorial.

Note: If your order workflow requires you to create a new session instead of reopening a session, use the Update customer session endpoint to cancel a closed session and create a new one.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring