---
title: "Upload product image"
method: POST
path: "/v1/products/{productId}/image"
tags: ["Products"]
---

# Upload product image

`POST /v1/products/{productId}/image`

Upload (or replace) the image for a product. Send a single file as `multipart/form-data`. Accepted formats: PNG, JPEG. Maximum 10 MB.

## Path parameters

- `productId` string, uuid, required

## Response `200`

Image uploaded.

- object
  - `product` Product
    - `id` string, uuid
    - `name` string
    - `description` string
    - `amount` number
    - `externalId` string
    - `isActive` boolean
    - `createdAt` string, date-time

## Other responses

- `400` — Validation error.
- `401` — Missing or invalid authentication token.
- `404` — Resource not found.

---

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