We've shipped a pair of improvements focused on making API-based EasyRoutes integrations more reliable and predictable, including:
- Idempotency key support: Write requests now accept an idempotency key, so if a request is interrupted or requires a retry, EasyRoutes recognizes the repeat and returns the original result instead of running the action again, reducing the risk of duplicate routes, stops, or dispatches. Find full details in the Idempotent Requests section of the Developer Docs portal.
- New Shopify resync-orders endpoint: This new endpoint can be called prior to dispatching a route via the API to re-sync any Shopify order data not yet available in EasyRoutes. We recommend chaining any resync-orders calls before a dispatch API call to avoid dispatching stale order data; if the resync-orders call is chained after a dispatch API call, assigned drivers will need to refresh the affected route on their mobile app to access re-synced Shopify order data.