getCoupons
Get a list of all non-deleted coupons in your shop, including discount type, amount, and usage limits.
Instructions
ショップに登録されているクーポンの一覧を取得します。クエリパラメータは不要で、削除されていない全クーポン(顧客がチェックアウト時にコード入力して使う値引き)が返されます。各エントリには id・name・code・coupon_type(amount=定額円引き / rate=定率% / delivery_charge=送料無料)・discount_amount・starts_at・ends_at・status・total_usage_limit・usage_limit などが含まれます。特定クーポン 1 件の取得は getCoupon、新規作成は createCoupon、変更は updateCoupon、削除は deleteCoupon を使用。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _dummy | No | Not used |