LogonResult (v1)
Result of a logon attempt with session and cache information
| # | Field | Type | Description |
|---|---|---|---|
| 0 | action | string | the action that was performed |
| 1 | result | string | exit code: ok, relogon, no_such_user, wrong_password, token, token_too_old, blocked, tblocked, offline, empty |
| 2 | cacheid | string | current cache invalidation id for detecting data changes |
| 3 | pcgifversion | string | backend interface version (only if user has DISPLAY_VERSION permission) |
| 4 | shopversion | string | shop and framework build version (only if user has DISPLAY_VERSION permission) |
| 5 | session | string | session identifier (only if user has DISPLAY_VERSION permission) |
| 6 | override_item_ids | int[] | item ids with customer-specific price overrides |
| 7 | firstname | string | first name of the authenticated customer (empty if no authenticated customer) |
| 8 | name | string | last name of the authenticated customer (empty if no authenticated customer) |
| 9 | cid | int | customer id (0 if no authenticated customer) |