내용으로 건너뛰기

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

질문됨 3년 전1.1천회 조회

3개 답변
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
전문가

답변함 3년 전

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.

답변함 2년 전

0

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

답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

관련 콘텐츠