GET/feedback
This method enables users to retrieve feedback for any specified user ID and feedback type (sent or received). You can refine the results using optional query parameters such as its feedback ID, listing ID, or order line item ID, or applying one or more filters.
Applying filters can narrow results using criteria such as comment type, photos, or topics identified through AI-based analysis. When filtering for feedback with photos (filterImage:true), only entries with images (entries that include image URLs) are returned. Additionally, feedback can be refined for the number of days to look back, the role of the user providing the feedback, and whether to include automated feedback entries left by eBay.
Sorting and pagination features help organize and navigate returned items efficiently.
Returned data includes feedback details (such as comment text and type), feedback ratings (covering criteria like overall experience, and for sellers item description, shipping time, and communication), role and attributes of the feedback giver, line item and transaction summaries, images, and any available topics. See filter for additional information. Privacy is safeguarded by restricting the amount of detail visible to users, depending on their context. When accessing another user's feedback without logging in, buyer names are masked and seller names are shown. Logged-in users viewing their own feedback see all names, while those viewing other users' feedback will encounter some masking.
Input
Resource URI
This method is supported in Sandbox environment. To access the endpoint, just replace the api.ebay.com root URI with api.sandbox.ebay.com
URI parameters
| Parameter | Type | Description |
|---|---|---|
| feedback_type | string | Use this field to specify the type of feedback records to return. Acceptable values:
If not specified, both feedback received and feedback left for the user shall be retrieved. Note: When using FEEDBACK_SENT, it is recommended to also filter feedback_id to target results accurately. Occurrence: Required |
| user_id | string | Use this field to specify the unique identifier user ID (eBay username of the user) of the account for which feedback is being retrieved. Note: Both usernames and public user IDs will be accepted in this field. For more information, please refer to Data Handling Compliance. Occurrence: Required |
| feedback_id | string | Use this field to only return a specific feedback record by its feedback ID. Note: If this query parameter is used, no other filters will be applicable. Occurrence: Optional |
| listing_id | string | Use this field to limit feedback entries to those associated with a specified listing. Occurrence: Optional |
| transaction_id | string | Use this field to limit feedback entries to those associated with the specified transaction ID. Occurrence: Optional |
| order_line_item_id | string | Use this field to retrieve specific feedback entries related to an order line item ID. A maximum of two entries may be retrieved: feedback left by the buyer and feedback left by the seller. Note: If this query parameter is set, no other filters will be applicable. Occurrence: Optional |
| sort | string | Use this parameter to configure the order of the returned items. The time is based on when the buyer paid for the line item. Acceptable values:
If this parameter is omitted, its value defaults to RELEVANCE. Default: Occurrence: Optional |
| limit | integer | Use this parameter to set the maximum number of items to return per page of data. Use this parameter in conjunction with the offset parameter to control the pagination of the output. For example, with offset set to Although this field is optional, if omitted the default value of Default: 25 Minimum: 25 Maximum: 200 Occurrence: Optional |
| offset | integer | Use this field to specify the number of line items to skip in the result set. This is used with the limit field to control the pagination of the output. For example:
Note: This feature employs a zero-based list, where the first line item in the list has an offset of 0. If this parameter is not set, its value defaults to Default: 0 Occurrence: Optional |
| filter | string | Use this parameter to limit the response based on the specified filter parameters as follows:
filter=commentType:POSITIVE,filterImage:true,topics:fit,period:30,role:SELLER,showAutomatedFeedback:true Occurrence: Optional |
HTTP request headers
All requests made to eBay REST operations require you to provide the Authorization HTTP header for authentication authorization.
All other standard RESTful request headers are optional. For more information on standard RESTful request headers, see the HTTP request headers- opens rest request components page table.
OAuth scope
This request requires an access token created with either authorization code grant flow or client credentials grant flow. Please refer to the note below for more details.
The access token must be created using one or more scopes from the following list (please check your Application Keys page for a list of OAuth scopes available to your application):
https://api.ebay.com/oauth/api_scope/commerce.feedback
https://api.ebay.com/oauth/api_scope/commerce.feedback.readonly
See OAuth access tokens for more information.
Note: For this API, an OAuth token can be created with the authorization code grant flow or with the client credentials grant flow.
- Authorization code grant flow
Use this flow and the following scope if the user has a relationship with the feedback as either a buyer or seller, to retrieve all available data. When using this flow, users viewing their own feedback see all eBay user names, while viewing other users' feedback will encounter some masking.
Scope: https://api.ebay.com/oauth/api_scope/commerce.feedback - Client credentials grant flow
Use this flow and the following scope to access another user's feedback without logging in. Buyer names are masked and seller names are shown.
Scope: https://api.ebay.com/oauth/api_scope/commerce.feedback.readonly
Request payload
This call has no payload.
Request fields
This call has no field definitions.
Output
HTTP response headers
This call has no response headers.
Response payload
Response fields
| Output container/field | Type | Description |
|---|---|---|
| feedbackEntries | array of FeedbackDetail | This array contains a list of feedback entries that meet the specified criteria. Occurrence: Always |
| feedbackEntries.automatedFeedback | boolean | If the returned value is Note: Detailed Seller Ratings (DSRs) are not provided by ebay, only a predefined comment and a positive rating. Occurrence: Always |
| feedbackEntries.commentType | FeedbackRatingValuesEnum | This enumerated value indicates the type of feedback: Note: Sellers can only leave positive feedback for buyers. Occurrence: Always |
| feedbackEntries.eligibleForRevision | boolean | This boolean indicates whether the feedback is eligible for revision. If returned as Occurrence: Always |
| feedbackEntries.feedbackComment | Comment | This container provides the feedback comment left by a user when submitting feedback for a seller or buyer. Occurrence: Always |
| feedbackEntries.feedbackComment.commentPeriod | CommentCommentPeriod | This container indicates the timing of a feedback comment based on when it was left. It is only returned if a comment was provided. Possible values are 30 days, 90 days, 180 days, 365 days, or 5 years:
Occurrence: Always |
| feedbackEntries.feedbackComment.commentPeriod.unit | string | Unit of time for the value. Supported values: Occurrence: Always |
| feedbackEntries.feedbackComment.commentPeriod.value | integer | Value of the time period expressed in the period contained in the unit. Supported values: See the commentPeriod container for more information. Occurrence: Conditional |
| feedbackEntries.feedbackComment.commentText | string | The text of the feedback comment, follow-up, or reply. HTML formatting and personal information (for example, phone numbers) are not allowed. This field is returned if a comment was provided for the feedback entry. If the comment was removed due to eBay policy, this field will contain ' Occurrence: Always |
| feedbackEntries.feedbackComment.commentTextRemovedPerPolicy | boolean | If Occurrence: Always |
| feedbackEntries.feedbackComment.state | FeedbackCommentStateEnum | This enumerated value indicates the state of the feedback (for example, Occurrence: Always |
| feedbackEntries.feedbackEnteredDate | string | The timestamp when the feedback was submitted. Occurrence: Always |
| feedbackEntries.feedbackEnteredPeriod | FeedbackEnteredPeriod | This container represents the duration since feedback was entered, expressed as a numeric value and a unit of time in days. Occurrence: Conditional |
| feedbackEntries.feedbackEnteredPeriod.unit | string | The unit for the feedback entry period's value. Supported value: Occurrence: Conditional |
| feedbackEntries.feedbackEnteredPeriod.value | integer | The value for the feedback entry period, specified in units of unit. Supported values: Occurrence: Conditional |
| feedbackEntries.feedbackId | string | The unique identifier of the feedback entry. Occurrence: Always |
| feedbackEntries.feedbackRatings | array of FeedbackRating | This array contains a list of ratings attached to feedback. Note: This array only applies to buyers feedback for sellers (sellers can only give positive feedback to buyers). Occurrence: Conditional |
| feedbackEntries.feedbackRatings.ratingType | FeedbackRatingTypeEnum | This enumerated value indicates the type of rating (for example, Occurrence: Conditional |
| feedbackEntries.feedbackRatings.value | string | The value assigned to the rating, specified as a string representing a number from Occurrence: Conditional |
| feedbackEntries.feedbackScore | integer | The feedback receiver's feedback score after receiving this specific feedback. Occurrence: Conditional |
| feedbackEntries.feedbackState | FeedbackStateEnum | This enumerated value indicates the current state of the feedback entry (for example, Occurrence: Always |
| feedbackEntries.followupComment | Comment | This container provides the details of any follow-up comment left. Note: A buyer leaves followup comments, and a seller leaves reply comments. Occurrence: Conditional |
| feedbackEntries.followupComment.commentPeriod | CommentCommentPeriod | This container indicates the timing of a feedback comment based on when it was left. It is only returned if a comment was provided. Possible values are 30 days, 90 days, 180 days, 365 days, or 5 years:
Occurrence: Always |
| feedbackEntries.followupComment.commentPeriod.unit | string | Unit of time for the value. Supported values: Occurrence: Always |
| feedbackEntries.followupComment.commentPeriod.value | integer | Value of the time period expressed in the period contained in the unit. Supported values: See the commentPeriod container for more information. Occurrence: Conditional |
| feedbackEntries.followupComment.commentText | string | The text of the feedback comment, follow-up, or reply. HTML formatting and personal information (for example, phone numbers) are not allowed. This field is returned if a comment was provided for the feedback entry. If the comment was removed due to eBay policy, this field will contain ' Occurrence: Always |
| feedbackEntries.followupComment.commentTextRemovedPerPolicy | boolean | If Occurrence: Always |
| feedbackEntries.followupComment.state | FeedbackCommentStateEnum | This enumerated value indicates the state of the feedback (for example, Occurrence: Always |
| feedbackEntries.hasImages | boolean | If returned as Occurrence: Always |
| feedbackEntries.images | array of Image | This array contains the list of attached images. Occurrence: Conditional |
| feedbackEntries.images.url | string | This field provides the URL of an attached image and is included in the response whenever an image is attached. Occurrence: Always |
| feedbackEntries.orderLineItemSummary | OrderLineItemSummary | This container provides a summary of the line item associated with the feedback entry. Note: Certain fields within this container are returned only when the request uses the Authorization code grant flow (user access token) and the user_id matches the authenticated user. These fields are not returned when accessing a different user_id or when using the Client credentials grant flow (application access token). See OAuth scope for for details on the flows and required permissions. Occurrence: Always |
| feedbackEntries.orderLineItemSummary.listingId | string | This field provides the unique identifier for the listing associated with the feedback entry. Conditionally returned based on the authorization flow and user context. See orderLineItemSummary for details on when this field is included. Occurrence: Conditional |
| feedbackEntries.orderLineItemSummary.listingPrice | ListingPrice | This container provides the sale price of the listing. Conditionally returned based on the authorization flow and user context. See orderLineItemSummary for details on when this field is included. Occurrence: Conditional |
| feedbackEntries.orderLineItemSummary.listingPrice.currency | string | This field provides the three-letter ISO 4217 code that represents the currency of the amount in the value field. Both the value and currency fields are always returned when expressing prices. Occurrence: Always |
| feedbackEntries.orderLineItemSummary.listingPrice.value | number | This field contains the numerical value of the listing price in the currency specified in the currency field. Both the value and currency fields are always returned when expressing prices. Occurrence: Always |
| feedbackEntries.orderLineItemSummary.listingTitle | string | This field contains the title of the listing. Conditionally returned based on the authorization flow and user context. See orderLineItemSummary for details on when this field is included. Occurrence: Conditional |
| feedbackEntries.orderLineItemSummary.orderLineItemAttributes | array of OrderLineItemAttribute | This array describes order line attributes including names and values of a transaction. Occurrence: Conditional |
| feedbackEntries.orderLineItemSummary.orderLineItemAttributes.name | OrderLineItemAttributesEnum | This enumerated value indicates an attribute of the line item. The value field indicates if the attribute applies. Occurrence: Conditional |
| feedbackEntries.orderLineItemSummary.orderLineItemAttributes.value | string | If returned as Occurrence: Conditional |
| feedbackEntries.orderLineItemSummary.orderLineItemId | string | The unique identifier of the line item for this feedback. Conditionally returned based on the authorization flow and user context. See orderLineItemSummary for details on when this field is included. Occurrence: Conditional |
| feedbackEntries.orderLineItemSummary.transactionPeriod | TransactionPeriod | This container indicates if the time since the item was bought on ebay is less than, more than, or equal to 90 days Occurrence: Always |
| feedbackEntries.orderLineItemSummary.transactionPeriod.period | Period | This container indicates if the time since the item was bought on ebay is less than, more than, or equal to 90 days. Occurrence: Always |
| feedbackEntries.orderLineItemSummary.transactionPeriod.period.unit | string | The unit of the period's value. Supported value: Occurrence: Always |
| feedbackEntries.orderLineItemSummary.transactionPeriod.period.value | integer | The value for the feedback period, specified in units of unit. Supported value: Occurrence: Always |
| feedbackEntries.orderLineItemSummary.transactionPeriod.thresholdType | ThresholdTypeEnum | This enumerated value indicates whether a transaction period exceeds, falls short, or matches the threshold. You can use this field to trigger specific logic or actions based on whether a transaction period exceeds, falls short, or matches the threshold. Occurrence: Always |
| feedbackEntries.providerUserDetail | ProviderUserDetail | This container details the attributes of the user who provided the feedback. Occurrence: Always |
| feedbackEntries.providerUserDetail.feedbackScore | integer | This integer indicates the feedback score of the feedback provider at the time of providing this specific feedback. Occurrence: Always |
| feedbackEntries.providerUserDetail.feedbackStar | FeedbackStarTypeEnum | This enumerated value provides the visual star representation of the feedback score (for example, Occurrence: Always |
| feedbackEntries.providerUserDetail.role | UserRoleEnum | This enumerated value indicates the user's role in the transaction ( Occurrence: Always |
| feedbackEntries.providerUserDetail.userAttributes | array of ProviderUserDetailUserAttributes | This array lists additional attributes that relate to the user (such as verification status). Occurrence: Always |
| feedbackEntries.providerUserDetail.userAttributes.name | UserAttributeEnum | This enumerated value indicates an attribute of the user (for example, Occurrence: Always |
| feedbackEntries.providerUserDetail.userAttributes.value | string | If returned as Occurrence: Always |
| feedbackEntries.providerUserDetail.userId | string | This field indicates the unique identifier of the user who gave the feedback. Occurrence: Always |
| feedbackEntries.repliedBeforeFollowup | boolean | If returned as Occurrence: Conditional |
| feedbackEntries.replyComment | Comment | This container provides the details of any reply to the feedback. Note: A buyer leaves followup comments, and a seller leaves reply comments. Occurrence: Conditional |
| feedbackEntries.replyComment.commentPeriod | CommentCommentPeriod | This container indicates the timing of a feedback comment based on when it was left. It is only returned if a comment was provided. Possible values are 30 days, 90 days, 180 days, 365 days, or 5 years:
Occurrence: Always |
| feedbackEntries.replyComment.commentPeriod.unit | string | Unit of time for the value. Supported values: Occurrence: Always |
| feedbackEntries.replyComment.commentPeriod.value | integer | Value of the time period expressed in the period contained in the unit. Supported values: See the commentPeriod container for more information. Occurrence: Conditional |
| feedbackEntries.replyComment.commentText | string | The text of the feedback comment, follow-up, or reply. HTML formatting and personal information (for example, phone numbers) are not allowed. This field is returned if a comment was provided for the feedback entry. If the comment was removed due to eBay policy, this field will contain ' Occurrence: Always |
| feedbackEntries.replyComment.commentTextRemovedPerPolicy | boolean | If Occurrence: Always |
| feedbackEntries.replyComment.state | FeedbackCommentStateEnum | This enumerated value indicates the state of the feedback (for example, Occurrence: Always |
| feedbackEntries.topics | array of Topic | This array provides descriptions of AI-generated insights related to a feedback entry for the specified filter topic. The feedback provided is considered relevant to the requested topic. For example, when using the request parameter filter of {If no topics exist for that feedback, an empty array is returned. Occurrence: Conditional |
| feedbackEntries.topics.coarseTopic | string | The main topic (or category) detected in the comment. See the available topics in filter. Occurrence: Conditional |
| feedbackEntries.topics.fineTopic | string | Note: Fine topics are not currently supported. A more specific detail or subtopic related to the coarse topic.Occurrence: Conditional |
| feedbackEntries.topics.highlightedTexts | array of string | This array lists any text snippets, phrases, or examples, from the feedback that supports the detected topic. Occurrence: Conditional |
| feedbackEntries.topics.sentiment | string | This field indicates a classification of the feedback, whether the feedback is Occurrence: Conditional |
| pagination | Pagination | This container provides pagination information for the returned feedback response (as filtered). Occurrence: Conditional |
| pagination.count | integer | This value indicates the number of feedback entries on the current response page. Occurrence: Always |
| pagination.limit | integer | The value of the limit parameter submitted in the request. This is the maximum number of line items, as filtered, awaiting feedback to return per page from the result set. This field indicates the number of line items returned per page of data. Note: If this is the last or only page of the result set, the page may contain fewer line items than the limit value. If a limit parameter was not included in the request, this value will default to Default: 25 Occurrence: Always |
| pagination.next | string | The relative URI for the next page of results starting with the resource name. This URI is returned if there is an additional page of results in the result set. Occurrence: Conditional |
| pagination.offset | integer | The value of the offset parameter submitted in the request. This field indicates how many results were skipped in the response. If an offset parameter was not included in the request, this value will default to Default: 0 Occurrence: Always |
| pagination.prev | string | The relative URI for the previous page of results starting with the resource name. This URI is returned if there is a previous page of results in the result set. Occurrence: Conditional |
| pagination.total | integer | The total number of line items available that match the filter criteria. Note: If the total value exceeds the limit value, there are multiple pages of results. Occurrence: Always |
HTTP status codes
This call can return one of the following HTTP status codes. For an overview of the status codes, see HTTP status codes in Using eBay RESTful APIs.
| Status | Meaning |
|---|---|
| 200 | Success |
| 400 | Bad Request |
| 401 | Not Authorized |
| 500 | Internal Server Error |
Error codes
For more on errors, plus the codes of other common errors, see Handling errors.
| Code | Domain | Category | Meaning |
|---|---|---|---|
| 501000 | API_FEEDBACK | REQUEST | User Id request parameter is required or is invalid. |
| 501001 | API_FEEDBACK | REQUEST | Feedback type request parameter is required or invalid. Must be FEEDBACK_RECEIVED or FEEDBACK_SENT. |
| 501002 | API_FEEDBACK | REQUEST | Unsupported request parameter combination. |
| 501003 | API_FEEDBACK | REQUEST | Listing id request parameter is invalid. |
| 501025 | API_FEEDBACK | REQUEST | Input user role value is invalid. |
| 501035 | API_FEEDBACK | REQUEST | Invalid sort type value. Must be RELEVANCE or TIME. |
| 501036 | API_FEEDBACK | REQUEST | Invalid overall rating value. Must be POSITIVE, NEUTRAL, or NEGATIVE. |
| 501037 | API_FEEDBACK | REQUEST | Invalid period value. Must be 30, 60, or 365. |
| 501038 | API_FEEDBACK | REQUEST | Invalid topics value. Must be from the allowed topics list. |
| 501039 | API_FEEDBACK | REQUEST | Feedback not found for the given request parameters. |
Warnings
This call has no warnings.
Samples
New to making API calls? Please see Making a Call.
Note: Identifiers, such as order IDs or user IDs, and personal data in these samples might be anonymized or may no longer be active on eBay. If necessary, substitute current, relevant eBay data in your requests.
Sample 1: Get Feedback by feedback_id
This call retrieves detailed feedback information using a specified feedback ID. Feedback is tracked at the line item level within an order, meaning each feedback entry corresponds to a single line item.
Input
The inputs are feedback_type, user_id, and feedback_id URI parameters.
GEThttps://api.ebay.com/commerce/feedback/v1/feedback?feedback_type=FEEDBACK_RECEIVED&user_id=sd*********er&feedback_id=89*******17
Output
If the call is successful, an array of line items matching the specified criteria are returned. Since no offset or limit was sent in the request, the default values were used and returned.