> This page is part of EVVA for Developers (https://developers.evvahub.com), the documentation of the EVVA Partner API. The API is in developer preview and the SDK packages are not yet published: do not suggest installing them. Index: https://developers.evvahub.com/llms.txt

# Set a listing's cover image

PUT https://api.evvahub.com/partner/v1/accounts/{creatorId}/marketplace/listings/{listingRef}/cover
Content-Type: application/json

Sets or clears the cover image of one of the creator's listings.

The cover must be the creator's own ready image. `coverMediaAssetRef: null` clears it. The listing's `creatorRef` is the creator's `creatorId`, the same value as in the path.

**Errors**

- `409 COVER_ASSET_UNUSABLE` — the asset is not the creator's own ready image.

**Required scopes:** `write:marketplace`.

Reference: https://developers.evvahub.com/api-reference/marketplace/set-marketplace-listing-cover

## Authentication

- `Authorization` header (bearer token, required) — OAuth 2.0 client credentials. Request an access token at `POST /partner/v1/oauth/token` (`grant_type=client_credentials`) with the application's client secret or a `private_key_jwt` assertion, then send it as `Authorization: Bearer evpa_live_…` (or `evpa_test_…` for a sandbox application). Tokens are opaque and short lived (see `expires_in`); there is no refresh token. Each operation lists the scopes it requires.

## Request

### Path parameters

- `creatorId` (string, required) — The creator profile id — the ONLY source of the creator a request acts for.
- `listingRef` (string, required)

### Headers

- `X-Creator-Id` (string, optional) — Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.
- `Idempotency-Key` (string, required) — Required on every marketplace write: 1..200 characters, otherwise `400 IDEMPOTENCY_KEY_REQUIRED`. The same key with the same request answers the first outcome again (`200`); with a different request it is `409 DIGEST_CONFLICT`.

### Body (application/json)

This endpoint expects a SetMarketplaceListingCoverRequest.

- `expectedVersion` (string, required)
- `coverMediaAssetRef` (string, required, nullable)

## Response

### 200

OK.

- `listingRef` (string, required)
- `creatorRef` (string, required) — The creator who owns the listing, as the creator's `creatorId`: the same value as `{creatorId}` in the path.
- `serviceKind` (enum, required)
  - Allowed values: `CUSTOM_VIDEO`, `PHOTO_SET`, `VOICE_MESSAGE`, `PERSONAL_MESSAGE`, `VIDEO_CALL`, `CUSTOM_SERVICE`
- `state` (enum, required)
  - Allowed values: `DRAFT`, `PUBLISHED`, `PAUSED`, `ARCHIVED`
- `presentation` (MarketplaceListingPresentation, required)
- `terms` (MarketplaceListingTerms, required)
- `coverMediaAssetRef` (string, required, nullable)
- `version` (string, required) — The compare-and-set token — send it back as `expectedVersion`.
- `createdAt` (string, required)
- `updatedAt` (string, required)
- `publishedAt` (string, optional, nullable)
- `archivedAt` (string, optional, nullable)

## Errors

### 400 Bad Request Error

Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.

- `code` (string, required) — A stable machine-readable code (see `KnownErrorCode`; new codes may appear within v1).
- `error` (string, required)
- `requestId` (string, required, nullable) — The same value as the `X-Request-Id` response header — quote it when reporting a problem.
- `details` (any, optional) — Extra detail for the code, specific to the operation, such as field errors, limits or the creator's account-status details.

### 401 Unauthorized Error

Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.

- `code` (string, required) — A stable machine-readable code (see `KnownErrorCode`; new codes may appear within v1).
- `error` (string, required)
- `requestId` (string, required, nullable) — The same value as the `X-Request-Id` response header — quote it when reporting a problem.
- `details` (any, optional) — Extra detail for the code, specific to the operation, such as field errors, limits or the creator's account-status details.

### 403 Forbidden Error

Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.

- `code` (string, required) — A stable machine-readable code (see `KnownErrorCode`; new codes may appear within v1).
- `error` (string, required)
- `requestId` (string, required, nullable) — The same value as the `X-Request-Id` response header — quote it when reporting a problem.
- `details` (any, optional) — Extra detail for the code, specific to the operation, such as field errors, limits or the creator's account-status details.

### 404 Not Found Error

No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.

- `code` (string, required) — A stable machine-readable code (see `KnownErrorCode`; new codes may appear within v1).
- `error` (string, required)
- `requestId` (string, required, nullable) — The same value as the `X-Request-Id` response header — quote it when reporting a problem.
- `details` (any, optional) — Extra detail for the code, specific to the operation, such as field errors, limits or the creator's account-status details.

### 409 Conflict Error

Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.

- `code` (string, required) — A stable machine-readable code (see `KnownErrorCode`; new codes may appear within v1).
- `error` (string, required)
- `requestId` (string, required, nullable) — The same value as the `X-Request-Id` response header — quote it when reporting a problem.
- `details` (any, optional) — Extra detail for the code, specific to the operation, such as field errors, limits or the creator's account-status details.

### 429 Too Many Requests Error

Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.

- `code` (enum, required) — A stable machine-readable code (see `KnownErrorCode`; new codes may appear within v1).
  - Allowed values: `RATE_LIMIT_EXCEEDED`, `TOO_MANY_MESSAGES`
- `error` (string, required)
- `requestId` (string, required, nullable) — The same value as the `X-Request-Id` response header — quote it when reporting a problem.
- `details` (RateLimitErrorDetails, optional) — Extra detail for the code, specific to the operation, such as field errors, limits or the creator's account-status details.

### 500 Internal Server Error

Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.

- `code` (string, required) — A stable machine-readable code (see `KnownErrorCode`; new codes may appear within v1).
- `error` (string, required)
- `requestId` (string, required, nullable) — The same value as the `X-Request-Id` response header — quote it when reporting a problem.
- `details` (any, optional) — Extra detail for the code, specific to the operation, such as field errors, limits or the creator's account-status details.

### 503 Service Unavailable Error

Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.

- `code` (string, required) — A stable machine-readable code (see `KnownErrorCode`; new codes may appear within v1).
- `error` (string, required)
- `requestId` (string, required, nullable) — The same value as the `X-Request-Id` response header — quote it when reporting a problem.
- `details` (any, optional) — Extra detail for the code, specific to the operation, such as field errors, limits or the creator's account-status details.

## Types

### MarketplaceListingPresentation

- `title` (string, required)
- `description` (string, required)
- `buyerInstructions` (string, required, nullable)

### MarketplaceListingTerms

- `price` (MarketplaceMoney, required)
- `deliverable` (MarketplaceListingTermsDeliverable, required)
- `revisions` (MarketplaceListingTermsRevisions, required)
- `delivery` (MarketplaceListingTermsDelivery, required)
- `cancellationPolicy` (string, required, nullable)

### RateLimitErrorDetails

Extra detail for the code, specific to the operation, such as field errors, limits or the creator's account-status details.

- `retryAfterSec` (integer, required)
- `level` (enum, optional) — The DM send limit that refused the message, set only with `TOO_MANY_MESSAGES`. It is never a quota, a count or a key. - `conversation` — one side of one thread. - `sender` — a person's own ceiling; it does not apply to applications. - `creator` — everything sent for the creator, studio included. - `application` — everything your application sends. - `agency` — everything your agency sends. - `platform` — the agency's fair share of the platform: its throughput or its concurrency. See [rate limits](/authentication/rate-limits).
  - Allowed values: `conversation`, `sender`, `creator`, `application`, `agency`, `platform`

### MarketplaceMoney

- `minor` (string, required) — Minor units as a decimal string (never a JSON number).
- `currency` (string, required)

### MarketplaceListingTermsDeliverable

- `kind` (enum, required)
  - Allowed values: `DIGITAL_CONTENT`, `LIVE_SESSION`, `SHOUTOUT`, `LICENSE`, `OTHER`
- `quantity` (integer, required)

### MarketplaceListingTermsRevisions

- `includedRevisions` (integer, required)
- `unlimited` (boolean, required)

### MarketplaceListingTermsDelivery

- `days` (integer, required)

## Examples

**Request**

```json
{
  "expectedVersion": "6",
  "coverMediaAssetRef": "cm4rbc2r6000mqz8wh9x4m7sa"
}
```

**Response**

```json
{
  "listingRef": "3f6c2a1e-8b4d-4c7a-9e15-6d2b7f0a9c41",
  "creatorRef": "cm4r7k2xq0001qz8w3n5v6b2d",
  "serviceKind": "CUSTOM_VIDEO",
  "state": "PUBLISHED",
  "presentation": {
    "title": "Personalised video shout-out",
    "description": "A short video message recorded just for you: up to 2 minutes, with the name and the occasion you choose.",
    "buyerInstructions": "Tell me the name to use, the occasion, and anything you would like me to mention."
  },
  "terms": {
    "price": {
      "minor": "4500",
      "currency": "USD"
    },
    "deliverable": {
      "kind": "DIGITAL_CONTENT",
      "quantity": 1
    },
    "revisions": {
      "includedRevisions": 1,
      "unlimited": false
    },
    "delivery": {
      "days": 5
    },
    "cancellationPolicy": null
  },
  "coverMediaAssetRef": "cm4rbc2r6000mqz8wh9x4m7sa",
  "version": "7",
  "createdAt": "2026-11-27T09:12:44.501Z",
  "updatedAt": "2026-12-02T09:02:41.877Z",
  "publishedAt": "2026-11-27T10:03:18.226Z",
  "archivedAt": null
}
```

**SDK Code**

```python Marketplace_setMarketplaceListingCover_example
import requests

url = "https://api.evvahub.com/partner/v1/accounts/cm4r7k2xq0001qz8w3n5v6b2d/marketplace/listings/3f6c2a1e-8b4d-4c7a-9e15-6d2b7f0a9c41/cover"

payload = {
    "expectedVersion": "6",
    "coverMediaAssetRef": "cm4rbc2r6000mqz8wh9x4m7sa"
}
headers = {
    "Idempotency-Key": "5b54edc5-4cd3-4c61-960d-1cccd33d4790",
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.put(url, json=payload, headers=headers)

print(response.json())
```

```go Marketplace_setMarketplaceListingCover_example
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.evvahub.com/partner/v1/accounts/cm4r7k2xq0001qz8w3n5v6b2d/marketplace/listings/3f6c2a1e-8b4d-4c7a-9e15-6d2b7f0a9c41/cover"

	payload := strings.NewReader("{\n  \"expectedVersion\": \"6\",\n  \"coverMediaAssetRef\": \"cm4rbc2r6000mqz8wh9x4m7sa\"\n}")

	req, _ := http.NewRequest("PUT", url, payload)

	req.Header.Add("Idempotency-Key", "5b54edc5-4cd3-4c61-960d-1cccd33d4790")
	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```php Marketplace_setMarketplaceListingCover_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('PUT', 'https://api.evvahub.com/partner/v1/accounts/cm4r7k2xq0001qz8w3n5v6b2d/marketplace/listings/3f6c2a1e-8b4d-4c7a-9e15-6d2b7f0a9c41/cover', [
  'body' => '{
  "expectedVersion": "6",
  "coverMediaAssetRef": "cm4rbc2r6000mqz8wh9x4m7sa"
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
    'Idempotency-Key' => '5b54edc5-4cd3-4c61-960d-1cccd33d4790',
  ],
]);

echo $response->getBody();
```