Evaluations

Reorder evaluation photos

Sets gallery display order. Get the image ids from /imagelist (or from the /imageupload response).

Reordering does not move the hero — pass hero here, or call /imagehero, to change it. Ids you leave out of ids keep their relative order after the listed ones, so a partial list is a safe way to promote a few photos.

The returned Photos array is in the new display order.

post/imageorder

Request

  • Base URL: https://evalexpert.io/v1
  • URL: https://evalexpert.io/v1/imageorder
  • Auth: API key in header Authorization

Headers

X-Dealer-Idstring

Rooftop to act as. Value is the dealer's uid (not the numeric DealerID). Required on a multi-rooftop partner key; ignored when the key is already bound to a single dealer.

Request body

evalidinteger required
idsinteger[] required

Image ids in the desired display order. Need not list every photo. Also accepted as a comma-separated string ("41,39,40"). Ids belonging to another evaluation are ignored.

herointeger

Optional. Image id to pin as the hero in the same call, applied after the reorder. Saves a second request to /imagehero. Must be an image on this evaluation.

Response

Updated photo list, in the new display order

successboolean

Changes

No recorded changes to this operation across all 1 revision of this API.