product_upload_image
Upload a local image to the Alibaba photo bank and receive a file_id and URL for use in product listings. The path must stay within the server's allowed directories.
Instructions
Upload one local image to the photo bank; returns {file_id, url}. The path is confined to the server's allowed directories.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| group_id | No | ||
| account_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| url | No | ||
| error | No | ||
| cached | No | ||
| file_id | No | ||
| error_type | No |