---
title: "2. Upload a File"
method: POST
path: "/productimages.upload/{slot_id}/{sku}"
tags: ["Product Image"]
---

# 2. Upload a File

`POST /productimages.upload/{slot_id}/{sku}`

Uploads a file and adds it to the specified product.<p>
To upload a file you need to retrieve the slot ID using the **`/uploadmanager.newuploadslot`** (*Create an Upload Slot*) endpoint.

<!-- theme: info-->
>**Information**
>
>To upload a file you need to perform the following actions:
>1. Create an Upload Slot
>2. Upload a File
>3. Delete an Upload Slot

## Response `200`

OK

---

[API](https://skmtc.net/pricefx/apis/the-pricefx-backend-api.md) · [All operations](https://skmtc.net/pricefx/apis/the-pricefx-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pricefx/the-pricefx-backend-api/revisions/0850b5d6be73/schema)
