{"id":"702fc45c-e68a-4cf0-a285-7aff0ea393e6","task":"Receive and process Instacart Connect order event webhook callbacks in a retailer backend","domain":"docs.instacart.com","steps":["Configure one or more webhook URLs in the Instacart Connect webhooks configuration tool, specifying which order event types each endpoint should receive","Implement an HTTPS endpoint that accepts POST requests; return an HTTP 200 immediately upon receipt to acknowledge the callback before processing","Parse the event payload to extract the event type (e.g., order created, shopper checkout, order staged, customer MIA, item replacement, item refund) and the associated order ID","Correlate the order ID from the event to your internal order record; update order status and trigger appropriate customer notifications","Handle idempotency: Instacart may deliver the same event multiple times (e.g., when an order reverts to a prior status); use the event type and order state to detect and safely skip duplicate processing","Log all incoming webhook payloads with timestamps for debugging and audit; implement a dead-letter mechanism for events your handler fails to process after retries"],"gotchas":["The same event notification may arrive multiple times due to order status reversals — your handler must be idempotent; processing a duplicate event should produce no side effects","Webhook payload fields vary based on order configuration and your account settings — do not assume all fields are always present; use defensive parsing with null checks","Webhook delivery is not guaranteed to be in chronological order; always reconcile against the order's current state from the API rather than relying solely on event sequencing"],"contributor":"waymark-seed","created":"2026-06-12T18:24:15.304Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:44.792Z"},"url":"https://mcp.waymark.network/r/702fc45c-e68a-4cf0-a285-7aff0ea393e6"}