Skip to main content

Reorder Testimonials

Set order on the testimonials you list. A testimonial you leave out keeps its order. The write is a draft write and does not publish. The response is every testimonial in the new order, with no pagination. preview_url, draft_version, and draft_updated_at sit beside data. See Reorder.

Request​

POST /walls/{id}/testimonials/reorder

Path Parameters​

ParameterTypeRequiredDescription
idstringYesTestimonial wall UUID. See Identifiers.

Request Body​

ParameterTypeRequiredDescription
draft_versionintegerYesCurrent counter from Get Testimonial Wall. Minimum 1. Missing, not an integer, or below 1 is 422. A value that is not current is 409.
itemsarrayYes1 to 1000 testimonials to move

Items Object​

ParameterTypeRequiredDescription
idstringYesTestimonial UUID on this testimonial wall
orderintegerYesNew position, 0 or greater

Example Request​

After Create Testimonial added Sarah Miller at order 2, move her to the top:

curl -X POST "https://app.easy.tools/api/v1/walls/4a0c8e55-1d69-4b72-9f30-7c2e6b1a8d94/testimonials/reorder" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"draft_version": 4,
"items": [
{ "id": "1d6a9e37-2b84-4c50-9f13-8e7a5c2d0b46", "order": 0 },
{ "id": "9c3f7a21-4e58-4b06-a1d2-6f8e0b3c5d17", "order": 2 }
]
}'

Response​

Success Response (200)​

{
"data": [
{
"id": "1d6a9e37-2b84-4c50-9f13-8e7a5c2d0b46",
"status": "approved",
"is_hidden": false,
"type": "text",
"name": "Sarah Miller",
"position": "Marketing lead, Northwind",
"content": "Our conversion rate went up after the first module.",
"website_url": null,
"avatar_url": null,
"rating": 5,
"image_urls": [],
"gif_urls": [],
"video_url": null,
"author_email": null,
"is_confirmed": false,
"confirmed_at": null,
"dated_at": null,
"source": "api",
"order": 0,
"created_at": "2026-01-20T10:00:00.000Z",
"updated_at": "2026-01-20T10:00:00.000Z"
},
{
"id": "5e1b8d40-7c92-4f3a-b615-2a9d0e4c7f83",
"status": "pending",
"is_hidden": false,
"type": "text",
"name": "Mark Davis",
"position": null,
"content": "Clear and practical.",
"website_url": null,
"avatar_url": null,
"rating": 4,
"image_urls": [],
"gif_urls": [],
"video_url": null,
"author_email": "mark@example.com",
"is_confirmed": true,
"confirmed_at": "2026-01-19T14:05:00.000Z",
"dated_at": null,
"source": null,
"order": 1,
"created_at": "2026-01-19T14:00:00.000Z",
"updated_at": "2026-01-19T14:05:00.000Z"
},
{
"id": "9c3f7a21-4e58-4b06-a1d2-6f8e0b3c5d17",
"status": "approved",
"is_hidden": false,
"type": "text",
"name": "Jane Cooper",
"position": "Founder, Cooper Studio",
"content": "The course paid for itself in a week.",
"website_url": "https://example.com",
"avatar_url": null,
"rating": 5,
"image_urls": [],
"gif_urls": [],
"video_url": null,
"author_email": null,
"is_confirmed": false,
"confirmed_at": null,
"dated_at": null,
"source": "api",
"order": 2,
"created_at": "2026-01-11T09:00:00.000Z",
"updated_at": "2026-01-11T09:00:00.000Z"
}
],
"preview_url": "https://app.easy.tools/walls/4a0c8e55-1d69-4b72-9f30-7c2e6b1a8d94/preview?expires=...&signature=...",
"draft_version": 5,
"draft_updated_at": "2026-01-20T10:30:00.000Z"
}

Response Fields​

Each entry has the fields described in Testimonial Object. preview_url, draft_version, and draft_updated_at sit beside data.

Error Responses​

Not Found Error (404)​

An unknown testimonial wall, or an id in items that is not on this testimonial wall. Nothing is saved. See Identifiers.

{
"error": {
"code": "RESOURCE_NOT_FOUND",
"message": "Resource not found"
}
}

Conflict Error (409)​

draft_version is not the current counter. Read the testimonial wall and retry with that value. Nothing is saved.

{
"error": {
"code": "CONFLICT",
"message": "The draft was edited elsewhere. GET the draft and retry with the current draft_version."
}
}

Validation Error (422 Unprocessable Entity)​

A duplicate id, a duplicate order, or an order that matches a testimonial you left out. Nothing is saved.

{
"error": {
"code": "VALIDATION_ERROR",
"message": "The given data was invalid",
"details": {
"items": ["items order collides with a testimonial that was omitted"]
}
}
}

Authentication, permission, and rate-limit errors are described in Authorization.