bee-products-delete
Version: 2.0.1
Overview
Use the Bee Website Builder Open API to delete one or more products.
Supports batch deletion of product IDs under a specified language.
Input Parameters
api_key (string, Required)
API authentication key used to identify the caller and control interface access permissions.
- Get it from: https://open.tradew.com
- Used for API permission validation
language (string, Required)
Enabled site language.
⚠️ Must be selected manually from the list returned by
bee-languages-get. AI inference or automatic generation is not allowed.
id_list (array of integers, Required)
Product ID list, up to 100 items.
Output Structure
Top-Level Structure
| Field | Type | Description |
|---|---|---|
| status | boolean | Request status |
| msg | string | Response message |
| data | object/null | Returned data |
data
| Field | Type | Description |
|---|---|---|
success | array | Successfully deleted items |
fail | array | Failed deletion items |
data.success[]
| Field | Type | Description |
|---|---|---|
id | integer | Product ID |
msg | string | Success message |
data.fail[]
| Field | Type | Description |
|---|---|---|
id | integer | Product ID |
msg | string | Failure message |
Dependencies
| Parameter | Dependency skill | Field source | Mode |
|---|---|---|---|
| language | bee-languages-get | list[].language | select |
Usage Example
{
"api_key": "your-api-key",
"language": "en",
"id_list": [
18468028,
18467384,
18466967
]
}
Response Example
{
"status": true,
"msg": "Deleted successfully",
"data": {
"success": [
{
"id": 18468028,
"msg": "Deleted"
}
],
"fail": [
{
"id": 18467384,
"msg": "Data not found"
}
]
}
}