Panly API docsstaging

Screens / Business profile

Business profile

Business name and timezone, saved with Save changes (`settings.manage`). Uses the Settings controller.

App routes
/settings/business
Access
settings.manage, items.manage, stock.manage, expenses.manage
Screen code
lib/screens/settings/business_profile_page.dart
lib/screens/settings/settings_controller.dart
Source
elmermj/panly-app @ pre-staging-test (72aaffd)

API calls (2)

CallWhy the screen makes itWhere in the app code
GET /v1/merchants/me
Get my merchant (tier, storage usage)
Load the profile lib/screens/settings/settings_controller.dart:108
lib/data/repositories/settings_repository.dart:14
PATCH /v1/merchants/me
Update my merchant
Save name and timezone lib/screens/settings/business_profile_page.dart:129
lib/screens/settings/settings_controller.dart:183
lib/data/repositories/settings_repository.dart:25

Each call links to its operation in the API reference. Code locations are file:line in panly-app at 72aaffd, listed from the screen down to the line that sends the request.