get_product_subscription_detail
Retrieve complete details of a product subscription, including customer info, payment, shipping, and billing cycle. Use to confirm subscription status in customer service.
Instructions
取得單一商品訂閱的完整詳情。
【用途】 查詢特定訂閱紀錄的完整資訊,包含客戶、商品、付款方式、配送設定與 訂閱週期等所有欄位。適合客服場景或個別訂閱狀態確認。
【呼叫的 Shopline API】
GET /v1/product_subscriptions/{subscription_id}
【回傳結構】 dict 包含 id, customer_id, product_id, variant_id, status, frequency, frequency_unit, price (TWD), shipping_address, payment_method, next_billing_at, created_at, updated_at 等完整欄位。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subscription_id | Yes | 商品訂閱 ID(由 list_product_subscriptions 回傳的 id 欄位) |