Perfil del negocio
POST
Actualizar perfil público
POST /api/business-profile/update-public-profile
Descripción
Guarda cómo se presenta el negocio ante los comensales en Tu zona y el menú digital.
Detalles
* Cambia el color de marca, los textos de bienvenida, la descripción y el tipo de cocina. * Guarda la dirección, la ciudad, el WhatsApp de contacto y el enlace público. * El enlace público es obligatorio, solo admite minúsculas, números y guiones, y debe estar libre. * Cambiar el enlace público deja sin servir los QR y enlaces que ya se compartieron. * Cada cambio llega a Tu zona, esté publicado o no el negocio.
Permisos requeridos
admin.module
Request
| Nombre | Tipo | Requerido | Reglas |
|---|---|---|---|
| addressLine1 | string | No |
max:255
|
| addressLine2 | string | No |
max:255
|
| municipalityCode | string | No |
max:10
|
| brandColor | string | No |
max:6
|
| welcomeTitle | string | No |
max:60
|
| welcomeMessage | string | No |
max:280
|
| description | string | No |
max:300
|
| cuisineCode | string | No |
max:40
|
| string | No |
max:30
|
|
| slug | string | Sí |
min:3
max:80
|
Ejemplo de request
curl -X POST https://restofy.pro/api/business-profile/update-public-profile \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <accessToken>" \
-d '{
"slug": "string"
}'
Los valores son demo: reemplázalos por datos reales del negocio.
Ejemplo de respuesta
Actualizado: 2026-10-09T02:12:12Z
HTTP 200
Request
{
"municipalityCode": "05059",
"addressLine1": "Calle 10 # 12-30",
"description": "Parrilla y cortes madurados al carbón",
"cuisineCode": "parrilla",
"whatsapp": "+573001234567",
"slug": "parrilla-review-6ac84cc668deb"
}
Response
{
"success": true,
"message": "Perfil público actualizado",
"data": {
"profile": {
"profileId": 1,
"tradeName": "Mi Negocio",
"managerName": null,
"phone": "***",
"email": "***",
"website": null,
"scheduleId": 8,
"slug": "parrilla-review-6ac84cc668deb",
"addressLine1": "Calle 10 # 12-30",
"addressLine2": null,
"countryCode": "CO",
"municipalityCode": "05059",
"city": "Armenia",
"stateRegion": "Antioquia",
"latitude": null,
"longitude": null,
"brandColor": null,
"welcomeTitle": null,
"welcomeMessage": null,
"logoUrl": "https://cdn.restofy.pro/images/restofy_test_profilereviewtes_2353_1791511747_tenant/27cf8d9a-cc4e-485a-b895-9b75f10a8276.webp",
"coverUrl": "https://cdn.restofy.pro/images/restofy_test_profilereviewtes_2353_1791511747_tenant/4d41ae2d-123c-43f1-8c73-062327bdcea2.webp",
"description": "Parrilla y cortes madurados al carbón",
"cuisineCode": "parrilla",
"whatsapp": "+573001234567",
"marketIsActive": 0
},
"schedule": {
"dateStart": null,
"dateEnd": null,
"periods": [
{
"scheduleId": 8,
"dayOfWeek": 1,
"isAllDay": 1,
"timeStart": null,
"timeEnd": null
},
{
"scheduleId": 8,
"dayOfWeek": 2,
"isAllDay": 1,
"timeStart": null,
"timeEnd": null
},
{
"scheduleId": 8,
"dayOfWeek": 3,
"isAllDay": 1,
"timeStart": null,
"timeEnd": null
},
{
"scheduleId": 8,
"dayOfWeek": 4,
"isAllDay": 1,
"timeStart": null,
"timeEnd": null
},
{
"scheduleId": 8,
"dayOfWeek": 5,
"isAllDay": 1,
"timeStart": null,
"timeEnd": null
},
{
"scheduleId": 8,
"dayOfWeek": 6,
"isAllDay": 1,
"timeStart": null,
"timeEnd": null
},
{
"scheduleId": 8,
"dayOfWeek": 7,
"isAllDay": 1,
"timeStart": null,
"timeEnd": null
}
],
"exceptions": []
},
"timezone": "America/Bogota",
"isOpenNow": true,
"review": {
"reviewStatus": "draft",
"reviewReason": null,
"submittedAt": null,
"approvedAt": null,
"reviewedAt": null,
"requiredTotal": 11,
"doneTotal": 10,
"minProducts": 5,
"missing": [
"location"
]
}
}
}