Guide for creating notifications doesn't work

0

We were using this guide for creating notifications - https://developer-docs.amazon.com/sp-api/docs/notifications-api-v1-use-case-guide **Unfortunately, the queue is not working ** Here is the link on the event we should get - https://developer-docs.amazon.com/sp-api/docs/notifications-api-v1-use-case-guide#order_status_change This event type says that we should receive information about the order, but the queue is empty and we do not see new notifications (See attached screenshots).

Enter image description here Enter image description here

  • i think you should refer this guide:

    https://developer-docs.amazon.com/sp-api/docs/notifications-api-v1-use-case-guide#tutorial-set-up-notifications-amazon-simple-queue-service-workflow

    its a bit confusing :

    the tutorial you used is only for those notifications:

    BRANDED_ITEM_CONTENT_CHANGE: Sent whenever there is a change to the title, description, bullet points, or images, for any ASIN that the selling partner has a brand relationship with.

    ITEM_PRODUCT_TYPE_CHANGE: LISTINGS_ITEM_STATUS_CHANGE: LISTINGS_ITEM_ISSUES_CHANGE: PRODUCT_TYPE_DEFINITIONS_CHANGE: ...

    "If you want to receive any other notification type, skip this tutorial and go to Tutorial: Set up notifications (Amazon Simple Queue Service workflow)."

  • @ao-2040 Thank you for your answer. We already using the Tutorial: Set up notifications guide but the queue is still not working

posta un anno fa56 visualizzazioni
1 Risposta
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.

jam
con risposta 13 ore fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande