Skip to content

ANY_OFFER_CHANGED notification with SQS

0

Hi there,

The application under development uses the ANY_OFFER_CHANGED notification to monitor the price changes of the items we sell on Amazon. According to the documentation, if the price of any of the top 20 sellers changes, a notification is generated. Suppose we have an item that no one is currently selling on Amazon. Updating our inventory, we put this item on the list for sale as the only seller. In this case, would an ANY_OFFER_CHANGED notificaton be triggered?

Best regards, intellagent

asked 2 years ago739 views
3 Answers
1

You will only receive ANY_OFFER_CHANGED notifications for items for which you have active offers. You cannot subscribe to notifications for items for which you do not have active offers. To know more about the notification, Kindly refer [+].

[+] https://developer-docs.amazon.com/sp-api/docs/notifications-api-v1-use-case-guide#any_offer_changed:~:text=ed4ec98dd746%22%0A%20%20%20%7D%0A%20%7D-,ANY_OFFER_CHANGED,-Sellers%20can%20subscribe

AWS
EXPERT
answered 2 years ago
0

I'm using SP-API to create notification messages whenever a product's offer changes (notification type: ANY_OFFER_CHANGED).

It is working because I can see messages when I go to Amazon SQS --> Queues and I can see a bunch of messages available.

My question: What function in the API do we call in our application in order to actually get and enumerate through the messages?

Calling getDestination() or getSubscription() only seem to return ID's in the payload, but I don't know what function to call in order to enumerate through all these messages sitting in the Queue.

Our goal is to call our application every few minutes to process messages and update the prices of our products based on these notification messages in the queue. I just need someone to point me on what API function is used to retrieve these messages.

answered 2 years ago
0

See, e.g., AWS SDK for .NET API Documentation: AmazonSQSClient.ReceiveMessage (ReceiveMessageRequest) .

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.