Updates a specific media item.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required

Unique identifier of the media.

Body Params

Updated media data.

Object that contains the properties needed to create a new ProductMedia or add a new one to a Product.
Behavior based on TypeMedia:
TypeMedia = 1 (Image): The Base64 field must contain a valid Base64-encoded image string.
TypeMedia = 2 (URL): The Base64 field must contain a valid URL.

string
required
length ≥ 1

Base64 string

string
required
length ≥ 1

Name (with extension) of the image

int32
required
1 to 2147483647

Position of the image in case of being added to the product

int32
enum
required

Enum to identify whether an image or a URL from a repository is provided.
1 = Image
2 = URL

Allowed:
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
string
enum
Defaults to application/json-patch+json

Generated from available request content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json