Weather
一个面向 Data & APIs 场景的 Agent 技能。原始说明:Get current weather and forecasts (no API key required).
一个面向 Data & APIs 场景的 Agent 技能。原始说明:A product update skill based on the "Bee Website Builder" Open API. It is used to update an existing product under a specified site language and supports upd...
name: bee-products-update
description: A product update skill based on the "Bee Website Builder" Open API. It is used to update an existing product under a specified site language and supports updating product information such as group, name, model, images, attributes, tags, and descriptions.
homepage: https://open.tradew.com
metadata:
{
"openclaw":
{
"emoji": "🐝",
"requires": { "env": ["BEEAPIKEY"] },
"primaryEnv": "BEEAPIKEY"
}
}
Version: 2.0.0
Use the Bee Website Builder Open API to update an existing product.
Supports updating product information under a specified language, including group, name, model, images, attributes, tags, brief description, and detailed description.
api_key (string, Required)API authentication key used to identify the caller and control interface access permissions.
language (string, Required)Update to the enabled language of the specified enabled site.
⚠️ Must be selected manually from the list returned by
bee-languages-get. AI inference or automatic generation is not allowed.
products (object, Required)Product information to update.
products.products_id (integer, Required)Product ID to update.
products.productsgroup_id (integer, Optional)Product group ID.
⚠️ Only IDs without child groups are supported. See the product group API for details.
> 0means update to the specified group.
products.product_name (string, Optional)Product name, up to 300 characters. Empty string or omitted means no update.
products.model (string, Optional)Product model, up to 50 characters. Empty string or omitted means no update.
products.upload_images (array, Optional)Image upload list, up to 5 images. The first image is the main image. Empty value or omitted means no update.
Each item contains:
| Field | Type | Description |
|----------|--------|-------------|
| name | string | Image name |
| base64 | string | Base64 image data, for example image/jpeg;base64,.... Each image must be 500 kB or smaller. |
products.attributes (array, Optional)Attribute list, up to 15 items. Empty value or omitted means no update.
Each item contains:
| Field | Type | Description |
|---------|--------|-------------|
| name | string | Attribute name, up to 100 characters |
| value | string | Attribute value, up to 100 characters |
products.tags (array, Optional)Keyword tag list, up to 6 items. Empty value or omitted means no update.
products.brief_description (string, Optional)Brief description in plain text, up to 127 characters. Empty string or omitted means no update.
products.description (string, Optional)Detailed description in HTML, up to 100,000 characters. Empty string or omitted means no update.
| Field | Type | Description |
|--------|--------------|----------------|
| status | boolean | Request status |
| msg | string | Response message |
| data | object/null | Returned data |
data| Field | Type | Description |
|---------------|---------|--------------------|
| products_id | integer | Updated product ID |
| Parameter | Dependency skill | Field source | Mode |
|-----------------------------|-------------------------|-------------------------|--------|
| language | bee-languages-get | list[].language | select |
| products.productsgroupid | bee-productsgroup-read | list[].productsgroupid | select (filter: is_leaf=true) |
{
"api_key": "your-api-key",
"language": "en",
"products": {
"products_id": 456,
"productsgroup_id": 3445,
"product_name": "product name",
"model": "A1386",
"upload_images": [
{
"name": "image1",
"base64": "image/jpeg;base64,..."
}
],
"attributes": [
{
"name": "color",
"value": "red"
}
],
"tags": ["tags 1", "tags 2"],
"brief_description": "brief description",
"description": "detailed description"
}
}
{
"status": true,
"msg": "update successfully",
"data": {
"products_id": 8
}
}