feat: PATCH /admin/customers/:id — customer update endpoint

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-09 12:10:49 +05:30
parent d7c0f35ffe
commit 5a2da49c35
2 changed files with 67 additions and 0 deletions

View File

@@ -164,6 +164,7 @@ func RegisterRoutes(app *fiber.App, cfg *config.Config) {
// B2C App customers
adminAuth.Get("/customers", controllers.GetAdminCustomers)
adminAuth.Patch("/customers/:id", controllers.UpdateAdminCustomer)
// Hubs
adminAuth.Get("/hubs", controllers.GetHubs)