Evaluations

Set or clear the hero photo

Pins an image as the hero. The hero is independent of gallery order, so pinning one does not move it in the gallery and reordering the gallery does not unpin it.

A pin is permanent until you change it. Pass imgid: null to remove it and fall back to the default, which is the first photo in display order.

The pinned photo comes back with hero: true and heroSource: "manual"; after clearing, the first photo comes back with heroSource: "default".

post/imagehero

Request

  • Base URL: https://evalexpert.io/v1
  • URL: https://evalexpert.io/v1/imagehero
  • 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
imgidunknown

Response

Updated photo list, in display order

successboolean

Changes

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