---
title: "Create product media version"
method: POST
path: "/api/v1/productMedia/{id}/versions"
tags: ["Product Media"]
---

# Create product media version

`POST /api/v1/productMedia/{id}/versions`

Creates new product media version

## Path parameters

- `id` string, required — Resource identifier.

## Request body

- object
  - `name` string, nullable
  - `remark` string, nullable
  - `fileName` string
  - `fileContent` string, byte — A base64 encoded image. Supported image formats JPEG, PNG

## Response `201`

Resource successfully created response

## Other responses

- `400` — IETF RFC 9457 Problem API compliant response
- `401` — Unable to authenticate the client
- `403` — IETF RFC 9457 Problem API compliant response
- `415` — Resource representation send in the request is not supported.
- `429` — Too many API calls made.

---

[API](https://skmtc.net/xentral/apis/xentral-api.md) · [All operations](https://skmtc.net/xentral/apis/xentral-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xentral/xentral-api/revisions/8a27ba392442/schema)
