Testimonials
PATCH
Update Service
Update an existing service.
Required Permission:
Edit Testimonial
PATCH
/dashboard/testimonials/{id}
Request Body
JSONRequest Parameters
| Parameter | Type | Required | Validation | Description |
|---|---|---|---|---|
| name | String | Required | string, max: 255 | Name of the testimonial |
| photo | File | Required | image, max: 2048 | Photo of the testimonial |
| designation | String | Required | string, max: 255 | Designation of the testimonial |
| company | String | Required | string, max: 255 | Company of the testimonial |
| review | String | Required | string, max: 255 | Review of the testimonial |
| rating | Integer | Required | integer, min: 1, max: 5 | Rating of the testimonial |
Response
200 OKStatus Code
HTTP status code (200)
Message
Testimonial successfully updated
Data
Updated testimonial details