Seller Profile
Update seller profile
PUT
/api/v1/sellerUpdates the signed-in seller's profile fields, logo, and/or banner. Only allowed while the profile is DRAFT or ACTIVE — not while SUSPENDED.
Requires Authorization
SELLER only
Authenticated action
Form fields
businessNamestring | 2–80 characters. |
businessDescriptionstring | 20–500 characters. |
contactPhonestring | |
contactEmailstring | |
whatsappNumberstring | |
addressstring | 5–200 characters, no line breaks. |
citystring | Currently only Goma is supported. |
logofile | Replaces the existing logo. |
bannerfile | Replaces the existing banner. |
Possible errors
| 403 | FORBIDDEN | Ce profil ne peut pas être modifié car son statut est "SUSPENDED". |
Request
curl --request PUT \
--url https://api.swiftgoma.com/api/v1/seller \
--header 'Authorization: Bearer <access_token>' \
--form 'businessName=<businessName>' \
--form 'businessDescription=<businessDescription>' \
--form 'contactPhone=<contactPhone>' \
--form 'contactEmail=<contactEmail>' \
--form 'whatsappNumber=<whatsappNumber>' \
--form 'address=<address>' \
--form 'city=<city>' \
--form 'logo=@/path/to/file.jpg' \
--form 'banner=@/path/to/file.jpg'200Example response
{
"success": true,
"data": {
"id": "sp_2b3c4d",
"userId": "3f2a1c9e",
"businessName": "Boutique Aline",
"businessDescription": "Vente de produits alimentaires et de boissons en gros et au détail à Goma.",
"logoUrl": "https://res.cloudinary.com/dx3wclabo/image/upload/v1/sellers/aline-logo.jpg",
"bannerUrl": "https://res.cloudinary.com/dx3wclabo/image/upload/v1/sellers/aline-banner.jpg",
"contactPhone": "243812345678",
"contactEmail": "boutique.aline@example.com",
"whatsappNumber": "243812345678",
"address": "12 Avenue du Lac",
"city": "Goma",
"status": "ACTIVE",
"createdAt": "2026-01-05T08:00:00.000Z"
}
}