**Version: 202607**

# File

Upload and manage file assets stored in the merchant's media library

Files are media and document assets uploaded to the merchant's store for use across products, pages, and content. Merchants and apps use the file library to manage shared static resources.

Provides endpoints to create and query upload tasks, list files, and retrieve or delete a file by URI.

- [List files](/api/files) `GET /openapi/2026-07/file`: List files in the media library.

- [Create upload file](/api/file-create) `POST /openapi/2026-07/file`: Create an upload task for one or more files.

- [Get upload file task](/api/file-upload-task) `GET /openapi/2026-07/file/task/:task_id`: Get the status and result of an upload task.

- [Get file](/api/file-detail) `GET /openapi/2026-07/file/detail/:file_uri`: Get details of a specific file.

- [Delete file](/api/file-delete) `DELETE /openapi/2026-07/file/:file_uri`: Delete a file by URI.
