# Uploads

Section: Imports and exports. Part of the [API reference](https://developer.yoprint.com/reference.md). Web page: https://developer.yoprint.com/reference/uploads/

This page and all 5 operation pages, in one file: https://developer.yoprint.com/llms/uploads.txt

Upload a file first, then attach it to a job, an order, a purchase order or a customer by its id.

## Operations (5)

- [Upload a file](https://developer.yoprint.com/reference/uploads/v1-async-upload-store.md): `POST /v1/api/store/{team_slug}/async_upload`. Uploads one file that does not belong to anything yet, and returns its id.
- [Get an uploaded file](https://developer.yoprint.com/reference/uploads/v1-async-upload-show.md): `GET /v1/api/store/{team_slug}/async_upload/{hash_id}`. Returns a file by id: its name, type, size and fresh signed links.
- [Set an uploaded file's location or mockup flag](https://developer.yoprint.com/reference/uploads/v1-async-upload-update-put.md): `PUT /v1/api/store/{team_slug}/async_upload/{hash_id}`. Saves `location` and `show_mockup` on a file, as custom properties.
- [Set an uploaded file's location or mockup flag with PATCH](https://developer.yoprint.com/reference/uploads/v1-async-upload-update-patch.md): `PATCH /v1/api/store/{team_slug}/async_upload/{hash_id}`. Use `PUT` to set these.
- [Delete an uploaded file](https://developer.yoprint.com/reference/uploads/v1-async-upload-destroy.md): `DELETE /v1/api/store/{team_slug}/async_upload/{hash_id}`. Deletes a file.
