delete_product
Permanently remove a product from your Shopline store by providing its internal ID. Ideal for clearing discontinued items or test data.
Instructions
[WRITE] 刪除商品。
【用途】 從 Shopline 商店中永久刪除商品記錄。通常用於清除下架商品或測試資料。
【呼叫的 Shopline API】
DELETE /v1/products/{product_id}
【回傳結構】 dict 含 success: bool, resource_id: str, message: str。
【副作用】
永久刪除商品,不可復原
商品相關的訂單行項目記錄可能仍保留(取決於 Shopline 實作)
刪除後前台立即下架
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes | 商品內部 ID |