10-20-2024 07:34 PM
Using eBay API with oauth to handle adding inventory and creating offers, which so far in sandbox is working. However, I now want to receive notifications for when an item sells. When going through the docs (Notification API Overview | eBay Developers Program) I see no info on how to receive a notification for this.
I understand the flow of creating a subscription (get topic -> create destination -> create subscription) but sandbox just seems to give me only MARKETPLACE_ACCOUNT_DELETION option and ESP_test_APP, both not-filterable.
So how are we supposed to use the Notifications APIs to get info on when an item sells?
10-21-2024 09:58 AM
Hi @dude.t54,
You can utilize the Platform Notification to receive notifications for specific events, such as AuctionCheckoutComplete, which is triggered when a buyer completes the checkout process for an auction or fixed-price item.
To start receiving and processing these notifications, you will need to subscribe to the relevant platform notification events.
For detailed instructions on how to subscribe to Platform Notifications, visit the KB article: Subscribing to Platform Notifications.
10-21-2024 05:10 PM
XML request body instead of JSON? 😞
So APIs https://developer.ebay.com/api-docs/commerce/notification/overview.html cannot be used for this?
10-21-2024 07:30 PM
So I'm trying to test the SetNotificationPreferences in the API Explorer, using a correct token, as it works on other requests in the Trading API, but keep getting error (same error also is given for GetNotificationPreferences). Not sure how to get this to work, as assumed the API Explorer would be correct in the XML for the request body.
<?xml version="1.0" encoding="UTF-8" ?>
<SetNotificationPreferencesResponse
xmlns="urn
apis:eBLBaseComponents">
<Timestamp>2024-10-22 02:23:36</Timestamp>
<Ack>Failure</Ack>
<Errors>
<ShortMessage>Internal error to the application.</ShortMessage>
<LongMessage>Internal error to the application.</LongMessage>
<ErrorCode>10007</ErrorCode>
<SeverityCode>Error</SeverityCode>
<ErrorClassification>SystemError</ErrorClassification>
</Errors>
<Version>967</Version>
<Build>19146596</Build>
</SetNotificationPreferencesResponse>