Set Primary Image
POST/api/skus/setprimaryimage/:id/:mediaId
Tier: Public — stable, supported for third-party integration.
Marks an existing media record as the SKU's primary image, which drives
BaseSkuSummaryDto.Thumbnail.
Request
Responses
- 200
- 400
- 401
- 403
Returns the updated Skus.SkuDetailDto.
{id} or {mediaId} does not exist (error array).
The caller is not authenticated.
The caller lacks Sku Update permission.