How to Identify Which Seller a Notification is For?
Hello everyone,
I am working on integrating eBay notifications into my application, and I need help understanding how to identify which seller a specific notification relates to.
Here is my scenario:
- My integration will be used by multiple sellers (for example; Seller A, Seller B, Seller C).
- eBay sends notifications to a single, shared endpoint (for example; https://apiaddress.com/notifications).
- In my system, I need to associate each notification with the correct seller account in order to process the event properly.
From what I see in the notification payloads, there is no clear identifier (like SellerId) to indicate who the seller is. For example, in notifications like BestOffer , I only see ItemId or OrderId.
My questions are:
- Is there a recommended way to identify the seller for each notification?
- Can I include any seller-specific parameter (like a query string or token) when setting up the notification URL with SetNotificationPreferences?
- If not, is the only approach to rely on ItemID or OrderID and map those IDs to sellers in my internal database?
I want to ensure that my application can support multiple sellers and handle notifications correctly.
Any advice or clarification on this topic would be appreciated. Thank you
businesscommerce
Posted 1 year ago·Last reply 1 year ago
3 comments
developer_support@ebay
Hi @tinygeniushub @businesscommerce,
When subscribing to eBay Platform Notifications, an application can set UserData.ExternalUserData field in the SetNotificationPreferences call to identify individual user account.
For more information, refer to KB article here: https://developer.ebay.com/support/kb-article?KBid=2042
You can also use the fields like RecipientUserID and EIASToken to identify an eBay User.
businesscommerce
OP1 year agoI am encountering a persistent issue with the SetNotificationPreferencesAPI. Every attempt to register notification preferences results in a server error, even when using the minimal set of fields.
I’ve verified that my token is valid and has the required permissions and the request follows the documentation guidelines. Despite this, I continue to receive the ErrorCode: 10007 indicating a system error.
Could you please advise if there’s an issue on eBay’s side or if there are additional requirements I might be missing?
And here is the response i receive:
<Timestamp>2025-01-20 11:51:20</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>
Is it possible to call this method in sandbox environment?
tinygeniushub
·1 year agohey, did you find any soloution for this? how are you handling it by, orderId ?