スキップしてコンテンツを表示

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年前1088ビュー

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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

関連するコンテンツ