IdentifyContextInput
IdentifyContextInput =
Partial<Omit<UserContextInput,ServerAssignedUserContextKey|IdentifyUnmergedUserContextKey>> &object
Input accepted by RevTurbineCustomerSdk.identify for the canonical
user-context shape (plan 191). plan_handle is THE plan matching
identity — the plan’s unique_handle; the plan object is display
metadata (name/price/period) and never participates in matching.
Server-assigned fields (seat_type_handle, activity_score,
activity_score_computed_at, builtin_dimensions) are not accepted here
(plan 279, D-36, D-46; BL-0352, BL-0381); the tenant’s backend or
RevTurbine’s enrichment writes them.
Since 0.12.0 the type also omits the user-context fields identify() never
merged (it dropped them with a warning): trial, billing and tier state,
instances, experiments and the derived-context bookkeeping. Set those
through RevTurbineCustomerSdk.update / setUserContext, or let
client-context enrichment deliver them.
Type Declaration
Section titled “Type Declaration”plan_handle?
Section titled “plan_handle?”
optionalplan_handle?:string
THE plan matching identity — the plan’s unique_handle (e.g. 'pro').