# Customer files

Section: Customers. Part of the [API reference](https://developer.yoprint.com/reference.md). Web page: https://developer.yoprint.com/reference/customer-files/

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

Files kept on a customer: tax exemption certificates, internal files and files the customer can see.

## Operations (5)

- [List a customer's files](https://developer.yoprint.com/reference/customer-files/v1-customer-media-index.md): `GET /v1/api/store/{team_slug}/customer/{hash_id}/media`. Lists every file on the customer, in all collections.
- [List a customer's files in one collection](https://developer.yoprint.com/reference/customer-files/v1-customer-media-get-media-by-collection.md): `GET /v1/api/store/{team_slug}/customer/{hash_id}/media/collection/{collection}`. Lists the customer's files in one collection: - `tax_exemption`: tax exemption certificates.
- [Get a customer file](https://developer.yoprint.com/reference/customer-files/v1-customer-media-show.md): `GET /v1/api/store/{team_slug}/customer/{hash_id}/media/{id}`. Returns one file of the customer.
- [Attach uploaded files to a customer](https://developer.yoprint.com/reference/customer-files/v1-customer-upload-multiple-files.md): `POST /v1/api/store/{team_slug}/customer/{hash_id}/media/attach`. Attaches files you already uploaded to the customer, and returns them.
- [Delete a customer file](https://developer.yoprint.com/reference/customer-files/v1-customer-media-destroy.md): `DELETE /v1/api/store/{team_slug}/customer/{hash_id}/media/{id}`. Deletes one file from the customer.
