Set Primary Image
POST/api/items/setprimaryimage/:id/:mediaId
Tier: Public — stable, supported for third-party integration.
Marks an existing media record as the item's primary image, which drives
ItemSummaryDto.Thumbnail.
Request
Responses
- 200
- 400
- 401
- 403
Returns the updated item. See Items.ItemDetailDto.
The item or media id is unknown (InvalidReference, not NotFound).
Caller is not authenticated.
Caller does not have Update permission on the Item module.