createCoupon
Create a new coupon for your online store. Define coupon code, discount type (fixed amount, percentage, or free shipping), start and end dates, and optional usage limits or product restrictions.
Instructions
新規ショップクーポン(チェックアウト時に顧客がコード入力する値引き)を作成し、id を含むクーポンオブジェクトを返します。shop_coupon 必須項目: code・coupon_type(amount=定額円引き / rate=定率% / delivery_charge=送料無料)・starts_at・ends_at。discount_amount の単位は coupon_type が amount なら円、rate なら %(1〜100 の範囲)。delivery_charge の場合は discount_amount を指定する必要はありません。任意項目: minimum_amount(最低購入金額)、対象商品の絞り込み(group_limit_type / group_ids)、利用回数制限(total_usage_limit 等)。変更は updateCoupon、削除は deleteCoupon、参照は getCoupons / getCoupon。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shop_coupon | No |