#684 — Update communication with “force update merchants” API
Repo: Twill-AI/twill-ai-ui State: closed | Status: done Assignee: nadddder, raymondehizoba
Created: 2025-09-05 · Updated: 2025-09-18
Description
Caused by https://github.com/Twill-AI/facade/issues/547
GET /api/v1/partner/merchants/force “Force update merchants” API changed with:
- POST HTTP method,
- returning
{"total_updated_merchants": int, "total_updated_officers": int, "total_updated_documents": int, "total_updated_kpis": int}instead of list of merchants.
AC:
- UI app calls POST
/api/v1/partner/merchants/forceon “refresh” button press. If it finished (after long timeout) with 200 status then calls GET/api/v1/partner/merchantsto get list of merchants and updates table of merchants with it.
Notes
Add implementation notes, blockers, and context here
Related
Add wikilinks to related people, meetings, or other tickets