rider partner
This commit is contained in:
@@ -29,6 +29,13 @@ func RegisterTenantRoutes(api fiber.Router, f *facade.Facade) {
|
||||
// two was simply not found. A profile screen cannot be built on that.
|
||||
tenant.Get("/gettenantinfo", f.TenantController.GetTenantInfo)
|
||||
|
||||
// Which delivery partner supplies this merchant's riders.
|
||||
//
|
||||
// Its own route rather than a field on updatetenant: `partnerid` is kept
|
||||
// out of the merchant-editable allowlist on purpose, because a merchant
|
||||
// who could set it would move themselves under another partner.
|
||||
tenant.Put("/assignpartner", f.TenantController.AssignPartner)
|
||||
|
||||
// A merchant editing their own business record. The first write path the
|
||||
// `tenants` table has ever had — see UpdateTenantProfile for what may be
|
||||
// set, and what deliberately may not.
|
||||
|
||||
Reference in New Issue
Block a user