cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Notifications API for when item sells

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?

Message 1 of 4
latest reply
3 REPLIES 3

Notifications API for when item sells

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.

Best Regards,
eBay Developer Support
Message 2 of 4
latest reply

Notifications API for when item sells

XML request body instead of JSON? 😞

So APIs  https://developer.ebay.com/api-docs/commerce/notification/overview.html cannot be used for this?

Message 3 of 4
latest reply

Notifications API for when item sells

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:ebay: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>

 

 

Message 4 of 4
latest reply