API Playground

Set the order of your private views. This playground calls the live API and will modify data.

Authentication Required

You need to Login to test the API playground

Reorder views

Set the manual order of your own private views.

Endpoint URL
PATCH https://api.commerceclarity.com/api/2026-05/entities/views/reorder

The index of each id in ids becomes that view's position.

  • Only the caller's own private views are reordered. Shared ids, other users' ids and unknown ids are silently ignored.
  • Shared views are ordered brand-wide and can't be reordered through the API.
  • Private views left out of ids keep their current position.

See Ordering for how private and shared positions work.

Body parameters

ParameterTypeRequiredDescription
idsstring[]RequiredView ids in the desired order.

Request Examples

curl -X PATCH "https://api.commerceclarity.com/api/2026-05/entities/views/reorder" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{ "ids": ["665a1a2b3c4d5e6f7a8b9e12", "664f1a2b3c4d5e6f7a8b9c0d"] }'

Response Example

Success Response
{
  "status": "success",
  "results": [ { /* view */ }, { /* view */ } ]
}

The response is the caller's full list in the new order, shared views included, as in List views. A missing or non-array ids returns 422.