getCoupon
Get a shop coupon by its ID. Returns coupon code, type (amount/rate/delivery_charge), discount amount, start/end dates, minimum purchase amount, and usage limits. Use to confirm coupon details before updating or deleting.
Instructions
指定したクーポンIDのショップクーポン 1 件を取得します。coupon_id を渡すと、code(クーポンコード)・coupon_type(amount/rate/delivery_charge)・discount_amount(単位は coupon_type が amount なら円、rate なら %)・starts_at・ends_at・minimum_amount(最低購入金額)・利用回数制限などを含むクーポンオブジェクトを返します。発行済みクーポンの詳細確認や updateCoupon 前の現在値チェックに使用。一覧は getCoupons、変更は updateCoupon、削除は deleteCoupon、新規作成は createCoupon を使用。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coupon_id | Yes | Coupon ID |