get_customer_tier_history
Retrieve a customer's membership tier change history including upgrades, downgrades, and reasons. Use with list_membership_tiers to map tier names.
Instructions
取得指定客戶的會員等級變動歷程。
【用途】 追蹤客戶會員等級升降紀錄,了解是升等還是降級、原因為何。 搭配 list_membership_tiers 對照等級名稱。
【呼叫的 Shopline API】
GET /v1/customers/{customer_id}/membership-tier-history
【回傳結構】 dict 含 customer_id, total_changes, history[]。 每筆含 from_tier, to_tier, reason, created_at。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | Yes | 客戶內部 ID |