Checkout endpoints support both authenticated and anonymous sessions:
Authenticated users: Session cookie (sessionid) is used to track checkout progress.
Anonymous users: Guest checkout is available when CAN_GUEST_PURCHASE dynamic setting is enabled. Session cookie is still used to track checkout progress and store anonymous addresses.