Skip to main content
DELETE
/
customers
/
{customerIdOrExternalId}
刪除客戶
curl --request DELETE \
  --url https://api.zangsho.com/v1/customers/{customerIdOrExternalId} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Unauthenticated."
}

Authorizations

Authorization
string
header
required

使用 Laravel Sanctum Token 進行認證。

Token 可在商家後台的「API 設定」頁面取得。

Path Parameters

customerIdOrExternalId
required

Response

客戶刪除成功