arch-atlas

Personal Info Model

profile/personal_info_response.dart

domain

Overview

PersonalInfoResponse mirrors /store/customers/me/personal-info — the lighter slice used by the profile tab header (display name, photo, role-specific badges).

User Flow

  1. Returned by UserService.getPersonalInfo.
  2. Cached by PersonalInfoNotifier; consumed by SeavenProfileHeader and InstagramProfileHeader.

Cases & Edge Cases

  • Photo URL can be null — header falls back to initials.
  • This endpoint exists alongside /store/customers/me because the personal-info shape changes more often than the full profile and the backend wanted a stable slim contract.

Code References

  • lib/src/features/shared/profile/personal_info_response.dart

API Calls

Empty — fill this in later. Open the manifest and add content here.

Notes

Don't conflate with CustomerProfileResponse — they overlap but the personal-info endpoint is meant for read-mostly headers, not for edits.