getCoupons
Retrieve all non-deleted coupons from your store, including discount type (amount, rate, delivery), discount amount/rate, start and end dates, status, and usage limits, to manage promotions.
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 |