Session
Get Current Buyer
Return the authenticated buyer with their company, entitled locations, and the resolved active location. `active_location_id` is authoritative and set by the server. Send the optional `X-Portal-Location-Id` header to choose among entitled locations.
Get Profile
Alias of Get Current Buyer — returns the authenticated buyer with company, entitled locations, and active location.
Switch Active Location
Choose which entitled location the buyer is ordering for. Entitlement is enforced server-side; a location the buyer is not entitled to returns a 422 validation error. After switching, send the chosen id in `X-Portal-Location-Id` on subsequent requests.