delete_customer
Permanently delete a customer from your Shopline store to remove test data or meet GDPR deletion requirements.
Instructions
[WRITE] 刪除客戶。
【用途】 從 Shopline 商店中刪除客戶記錄。通常用於清除測試資料或 GDPR 合規需求。
【呼叫的 Shopline API】
DELETE /v1/customers/{customer_id}
【回傳結構】 dict 含 success: bool, resource_id: str, message: str。
【副作用】
永久刪除客戶記錄,不可復原
客戶相關的訂單紀錄可能仍保留(取決於 Shopline 實作)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"customer_id": "<customer_id>"
},
"name": "delete_customer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | Yes | 客戶內部 ID |