createCoupon
Create a new discount coupon for your online store. Specify coupon code, type (fixed amount, percentage, or free shipping), and validity dates. Optionally set minimum purchase, product group restrictions, and usage limits.
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 |