---
title: "POST /ProductMedia/UploadProductImage"
method: POST
path: "/ProductMedia/UploadProductImage"
tags: ["ProductMediaPresign"]
---

# POST /ProductMedia/UploadProductImage

`POST /ProductMedia/UploadProductImage`

## Request

- Base URL: `https://api.khaasfood.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.khaasfood.com/ProductMedia/UploadProductImage`
- Auth: OAuth 2
  - Authorization code: `https://api.khaasfood.com/connect/authorize`
  - Token URL: `https://api.khaasfood.com/connect/token`

## Request body `multipart/form-data`

- object
  - `ContentType` string
  - `ContentDisposition` string
  - `Headers` object
  - `Length` integer
  - `Name` string
  - `FileName` string
  - `folder` 0 | 1 | 2 | 3 | 4 | 5 | 6

## Response `200`

Success

- KhaasFoodMediaPresignedUploadUploadProductImageResultDto
  - `publicUrl` string, nullable
  - `objectKey` string, nullable

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Server Error
- `501`: Server Error

## Changes

> 11 revisions in range; 1 not diffed.

- **2026-11-10** `50aa87d7d019`: 1 info
  - added the new `6.00` enum value to the request property `folder`
- **2026-10-07** `89e4afdc079d`: 1 info
  - added the new `5.00` enum value to the request property `folder`

[Operation history](https://skmtc.dev/khaasfood/apis/khaasfood-api/changes/ProductMedia/UploadProductImage/post.md)

---

[API](https://skmtc.dev/khaasfood/apis/khaasfood-api.md) - [All operations](https://skmtc.dev/khaasfood/apis/khaasfood-api/llms.txt) - [OpenAPI document](https://skmtc.dev/khaasfood/apis/khaasfood-api/revisions/149b6034bea9?raw)
