注文変更の設定
注文変更の動作と制限を設定します
最終更新日:2025-01-16
これらの設定オプションで、セルフサービスの注文変更体験を細かく調整できます。顧客が何を、いつ、どのように変更できるかを設定します。
変更可能期間の設定
時間に基づく変更可能期間
変更可能な時間
{
"edit_window": {
"type": "time_based",
"duration": 60,
"unit": "minutes",
"start_from": "order_placed",
"display_countdown": true
}
}ステータスに基づく変更可能期間
ステータスによる期間
{
"edit_window": {
"type": "status_based",
"allow_until": ["unfulfilled"],
"close_on": ["in_progress", "fulfilled", "shipped"],
"max_hours": 48
}
}時間とステータスを組み合わせた期間
時間とステータスを組み合わせた期間
{
"edit_window": {
"type": "hybrid",
"time_limit": {
"hours": 24
},
"status_limit": {
"close_on": ["in_progress"]
},
"rule": "first_reached"
}
}許可する操作
操作の権限
{
"allowed_actions": {
"add_items": {
"enabled": true,
"max_items": 5,
"max_value": 200,
"require_payment": true
},
"remove_items": {
"enabled": true,
"min_items_remaining": 1,
"refund_method": "original_payment"
},
"change_quantity": {
"enabled": true,
"max_per_item": 10
},
"update_shipping_address": {
"enabled": true,
"same_country_only": false,
"recalculate_shipping": true
},
"update_shipping_method": {
"enabled": true,
"allow_upgrades": true,
"allow_downgrades": false
},
"apply_discount_code": {
"enabled": false
},
"cancel_order": {
"enabled": true,
"full_refund": true
}
}
}商品の制限
特定の商品を注文変更の対象から除外します。
商品の制限
{
"product_restrictions": {
"non_editable_products": {
"by_tag": ["final-sale", "custom-made", "perishable"],
"by_type": ["Gift Card", "Subscription"],
"by_collection": ["clearance"],
"by_sku_prefix": ["CUSTOM-", "LTD-"]
},
"restrict_action": {
"add": false,
"remove": true,
"quantity_change": true
},
"message": "This item cannot be modified"
}
}注文の制限
注文の制限
{
"order_restrictions": {
"min_order_value": 0,
"max_order_value": 1000,
"exclude_orders_with": {
"tags": ["wholesale", "custom"],
"discount_codes": ["EMPLOYEE"],
"shipping_methods": ["local_pickup"]
},
"exclude_payment_methods": ["cash_on_delivery"],
"international_orders": {
"allow_edits": true,
"address_changes": false
}
}
}支払いの設定
支払い設定
{
"payment": {
"additional_charges": {
"enabled": true,
"method": "original_payment_method",
"fallback": "request_new_payment",
"min_charge": 0.50
},
"refunds": {
"enabled": true,
"method": "original_payment_method",
"timing": "immediate",
"partial_allowed": true
},
"price_changes": {
"use_original_price": true,
"apply_original_discounts": true,
"tax_recalculation": true
}
}
}支払い方法の対応状況
一部の支払い方法(PayPal、後払い決済)は、追加請求に対応しない場合があります。その場合の代替動作を設定してください。
画面の設定
インターフェースの設定
{
"ui": {
"theme": "match_store",
"branding": {
"logo": true,
"colors": "inherit"
},
"edit_page": {
"show_order_summary": true,
"show_savings": true,
"show_edit_history": false,
"confirmation_step": true
},
"messages": {
"success": "Your order has been updated!",
"add_item_prompt": "Want to add anything else?",
"window_closing": "Hurry! Edit window closes in {{time}}"
}
}
}通知設定
通知
{
"notifications": {
"customer": {
"channels": ["email"],
"events": {
"edit_confirmed": true,
"edit_failed": true,
"window_closing_soon": {
"enabled": true,
"minutes_before": 15
}
}
},
"merchant": {
"channels": ["email", "slack"],
"events": {
"order_modified": true,
"order_cancelled": true,
"high_value_edit": {
"enabled": true,
"threshold": 100
}
},
"email": "orders@yourstore.com",
"slack_webhook": "https://hooks.slack.com/..."
}
}
}不正防止
不正対策の設定
{
"fraud_prevention": {
"require_email_verification": {
"enabled": true,
"for_actions": ["cancel", "address_change"]
},
"rate_limiting": {
"max_edits_per_order": 3,
"cooldown_minutes": 5
},
"suspicious_activity": {
"flag_multiple_address_changes": true,
"flag_high_value_additions": true,
"threshold": 200
},
"audit_logging": {
"enabled": true,
"log_ip_address": true,
"log_user_agent": true
}
}
}連携の設定
連携
{
"integrations": {
"fulfillment_service": {
"notify_on_edit": true,
"cancel_pick_on_edit": true
},
"inventory_management": {
"realtime_stock_check": true,
"reserve_added_items": true
},
"analytics": {
"track_edit_events": true,
"google_analytics": true,
"segment": false
}
}
}効果的な使い方
設定のヒント
- 制限を設けて始める — 機能は段階的に有効にしてください
- 高額注文を保護する — 確認を必要とするしきい値を設定してください
- 不正のシグナルを監視する — 最初はすべてのログを有効にしてください
- 注文処理と連携する — 変更可能期間をピッキングの時間に合わせてください
- 特殊なケースをテストする — 一部の変更、キャンセルなどを試してください
関連トピック
このページは役に立ちましたか?
さらにサポートが必要ですか? サポートに問い合わせる