post
https://{subdomain}.myshoplaza.com/openapi/2025-06/file
The Create Upload File API allows developers to upload files to the server. This endpoint supports uploading multiple files at once.
The Create Upload File Task API allows users to create an upload task for a list of original file URLs. The backend processes the provided URLs and assigns a unique task ID for tracking the upload progress.
This API is especially useful for:
- Automating file uploads for various applications.
- Managing and tracking the upload process via task IDs.
- Simplifying bulk file uploads in an efficient manner.
Request Parameters
Public Request Parameters
Body Parameters
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
| original_source_list | array of strings | Yes | A list of original file URLs to be uploaded. Each URL must be a valid link pointing to a file. | ["https://picx.zhimig.com/v2-3b4fc7e3a1195a081d0259246c38debc_720w.jpg?source=172ae18b"] |
Response Explanation
Public Response Parameters
Success Response
| Field | Type | Description | Example |
|---|---|---|---|
code | string | "success" | Response status code |
message | string | Descriptive message of the response | |
data.task_id | string | Unique ID assigned to the task. | 300b5e33-3ac5-41c5-9819-7e2e8aad6a98 |
Error Response
| Field | Type | Example | Description |
|---|---|---|---|
code | string | InvalidParameter | Error http message |
message | string | `` | Error message |
