Skip to main content

With MyMessages notifications, you receive messages when new eBay messages or member to member messages (M2M) are received in your My Messages mailbox. These messages can contain only header information, or the full header and message body, depending on the amount of detail you subscribe to. Both buyers and sellers can subscribe to these notifications.

Before using these notifications, be sure that you have read and understood the information in Platform Notifications.

Data Fields Returned

API Call that displays this notification: GetMyMessages with ReturnHeaders or ReturnMessages detail level

The data fields returned by the MyMessages notification are the same as those returned by GetMyMessagesResponse. Refer to GetMyMessagesResponseType in the Type reference for additional information.

Refer to SOAP Message Body for information about the standard elements returned for all notifications.

MyMessages Notification

Some special rules apply to subscribing to My Messages notifications with SetNotificationPreferences. Though you can choose to be notified of both types of My Messages mail [i.e., messages from eBay, and member to member (M2M) messages,] you can only subscribe to one amount of detail at a time.

For example, you cannot subscribe to both MyMessagesM2MMessageHeader (GetMyMessages with a detail level of ReturnHeaders) and MyMessagesM2MMessage (GetMyMessages with a detail level of ReturnMessages) at the same time.

Subscribing to a MyMessages Notification

To subscribe to a MyMessagesnotification at a specified amount of detail (e.g., headers instead of the full alert or message body,) call SetNotificationPreferences with:

  • EventType = MyMessagesM2MMessageHeader,
  • EventEnable = Enable.

Subscribing to a Different Amount of Detail

To subscribe to a different amount of detail (for example, from MyMessagesM2MMessageHeader to MyMessagesM2MMessage):

  1. Call SetNotificationPreferences with:
    • EventType = MyMessagesM2MMessageHeader
    • EventEnable = Disable
  2. Call SetNotificationPreferences with:
    • EventType = MyMessagesM2MMessage
    • EventEnable = Enable

MyMessagesM2MMessage Notification

This is a notification type where a specified user or application is notified when a member to member (M2M) message is sent to MyMessages. This notification type sends a GetMyMessages response at a detail level of ReturnMessages. MyMessagesM2MMessageHeader and MyMessagesM2MMessage cannot be subscribed to at the same time or specified in the same call.

MyMessagesM2MMessageHeader Notification

This is a notification type where a specified user or application is notified when a member to member (M2M) message is sent to MyMessages. This notification type sends a GetMyMessages response at a detail level of ReturnHeaders. MyMessagesM2MMessageHeader and MyMessagesM2MMessage cannot be subscribed to at the same time or specified in the same call.