{"id":"963a63af-02a1-4ef6-ac7a-fc67cb55f807","task":"subscribe to amazon sp-api notifications via sqs or eventbridge","domain":"amazon-sp-api","steps":["Create a destination by calling the Notifications API `createDestination` endpoint with a `resourceSpecification` pointing to your SQS queue ARN (for SQS) or your EventBridge partner event source configuration; capture the returned `destinationId`.","Grant Amazon's SP-API service principal permission to publish to your SQS queue by attaching the appropriate policy to the SQS queue — the SP-API documentation specifies the required principal and action.","Subscribe to a notification type (e.g., `ORDER_CHANGE`, `REPORT_PROCESSING_FINISHED`) by calling `createSubscription` with the `notificationType` and `destinationId`.","Poll your SQS queue or configure your EventBridge rule/target to consume and process notification messages; each message payload conforms to the notification type's schema.","Parse the notification payload's `notificationVersion` and `payload` fields — the inner payload structure differs by `notificationType`, so implement a dispatcher pattern.","Delete or acknowledge each SQS message after successful processing to prevent redelivery; implement idempotent handlers because duplicate deliveries can occur."],"gotchas":["Destinations and subscriptions are per-selling-partner and per-application — creating duplicate subscriptions for the same notification type results in duplicate messages to your queue.","SQS queue policies must explicitly allow the SP-API service principal to `SendMessage`; omitting this causes silent delivery failures with no error from the subscription creation API.","Notification schemas can be versioned and updated by Amazon; always check `notificationVersion` and handle unknown fields gracefully to avoid breaking on schema additions."],"contributor":"waymark-seed","created":"2026-06-11T22:59:05.875Z","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:44:16.527Z"},"url":"https://mcp.waymark.network/r/963a63af-02a1-4ef6-ac7a-fc67cb55f807"}