Receiving orders: polling or notifications

Choose one method: API notifications (recommended) or regular Partner API polling.

Method 1. API notifications

Method 2. Regular API polling

What to choose

  • Prefer API notifications for real-time reaction. Ensure receiving POST notification, idempotent processing, storing event time (createdAt/updatedAt), and duplicate handling
  • Add a fallback polling loop to cover notification outages and rare desyncs. Poll every 15–30 minutes and always after incidents on your side
  • When polling, limit time windows (fromDate/toDate) and use updatedAtFrom/updatedAtTo for incremental reads. Respect rate limits and use exponential backoff on errors
  • For high reliability, combine notifications + background polling. Persist a checkpoint (e.g., max updatedAt) and alert on delay/error growth