GET/awaiting_feedback
This method retrieves line items awaiting feedback from the user's order partner. You can refine the results using optional filter query parameters, such as item ID, user name, or user role in the transaction. Sorting and pagination features help organize and navigate returned items efficiently.
For sellers, only sold items that have not yet received feedback are included. For buyers, only purchased items for which feedback is still pending are included. If the user is both a buyer and a seller, this API returns items awaiting feedback for transactions where the user acted as either. Applying filters can limit results to either buyer-only or seller-only transactions.
The response provides an overview of feedback yet to be left for completed transactions (as filtered), with counts for both the buyer and seller roles. It includes an array of line items, each containing the listing ID, title, price (with currency and value). For each line item, the response offers feedback templates specifying which ratings are available.
Note: Detailed seller ratings are for sellers only, and are created from buyer feedback.
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 |
---|---|---|
filter | string | Use this parameter to limit the response based on the specified filter parameters. Supported filter parameters include:
Send the filter as a query parameter in a comma-separated name:value list. For example:
Occurrence: Optional |
limit | integer | This parameter sets the maximum number of line 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 parameter to specify the number of 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 |
sort | string | Use this parameter to configure the order of the returned listings. The time is based on when the buyer paid for the line item. Acceptable values:
If this parameter is omitted, its value defaults to END_TIME_DESC. Default: 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 the authorization code grant flow, 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
See OAuth access tokens for more information.
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 |
---|---|---|
itemsAwaitingFeedbackCount | ItemsAwaitingFeedbackCount | This container returns the number of line items awaiting feedback. The asSeller and asBuyer fields return the total count of items awaiting feedback as seller and buyer and are not affected by the userRole filter. Occurrence: Always |
itemsAwaitingFeedbackCount.asBuyer | integer | The number of line items for which feedback is pending from the user in the buyer role. Occurrence: Always |
itemsAwaitingFeedbackCount.asSeller | integer | The number of line items for which feedback is pending from the user in the seller role. Occurrence: Always |
lineItems | array of AwaitingFeedback | This array contains the details for each line item awaiting feedback. An empty array is returned if no line items are awaiting feedback or that match the filter criteria. Occurrence: Always |
lineItems.listingId | string | This is the unique identifier for the listing associated with the line item. It is used to reference the specific listing for which feedback is being awaited. Occurrence: Always |
lineItems.listingPrice | ListingPrice | This container shows the sales price of the listing. Occurrence: Always |
lineItems.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 |
lineItems.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 |
lineItems.listingTitle | string | The title of the listing. Occurrence: Always |
lineItems.orderLineItemId | string | The unique identifier for the eBay order line item associated with the listing. It is used to pinpoint the exact line item for which feedback is being awaited. Occurrence: Always |
lineItems.ratingTemplates | array of FeedbackRatingTemplateType | This array contains a list of available values for use in a particular rating, and whether the value is enabled. This is dependent on what seller ratings the buyer's order partner qualifies. Note: Rating templates should only be returned to the user in their role as a buyer; only sellers have Detailed Seller Ratings (DSRs). Use the metadata returned here when leaving DSR ratings through the leaveFeedback method. The key field in this container is the ratingKey field. See FeedbackRatingTypeEnum for its values. The other metadata returned in this container apply to each ratingKey value that is returned. Occurrence: Always |
lineItems.ratingTemplates.acceptableValues | array of FeedbackRatingAcceptableValue | This array contains a list of available values for use in a particular rating, and whether the value is enabled. Provided if ratingValueType is The following is an example of a predefined list: [For other examples, see the Using rating templates section in the Feedback API Overview. Occurrence: Conditional |
lineItems.ratingTemplates.acceptableValues.enabled | boolean | If Occurrence: Always |
lineItems.ratingTemplates.acceptableValues.value | string | The value that can be selected for feedback. For most ratingType values, this is Occurrence: Always |
lineItems.ratingTemplates.acceptableValues.valueLabel | string | This field provides information about the corresponding value. Occurrence: Always |
lineItems.ratingTemplates.defaultValue | string | The default value preselected for the rating, if set. Occurrence: Conditional |
lineItems.ratingTemplates.earlyFeedbackMessage | string | For eligible sellers, a message may be shown requiring a wait period before you can leave neutral or negative feedback. Occurrence: Conditional |
lineItems.ratingTemplates.enabled | boolean | If returned as Occurrence: Always |
lineItems.ratingTemplates.maximumCharactersAllowed | integer | The maximum number of characters allowed to be used for a rating that uses free text. It is only applicable for a rating whose ratingValueType is Maximum: 500 Occurrence: Conditional |
lineItems.ratingTemplates.multiValueRating | boolean | If returned as Occurrence: Conditional |
lineItems.ratingTemplates.ratingKey | FeedbackRatingTypeEnum | This enumerated value indicates the type of rating that is tracked for the seller. All of the metadata returned under each node for the ratingTemplates array will apply to this rating type. For example, the value Occurrence: Always |
lineItems.ratingTemplates.ratingLabel | string | This field provides more details about and/or provides guidance on the corresponding rating type. For example, the rating label of Rate this transaction describes the feedback for the user to enter for an Occurrence: Always |
lineItems.ratingTemplates.ratingValueType | FeedbackRatingValueTypeEnum | This enumerated value indicates the type of data used to provide the specific feedback rating. If set to Occurrence: Always |
lineItems.ratingTemplates.required | boolean | If returned as Occurrence: Always |
lineItems.transactionId | string | The unique identifier of the sales transaction. Occurrence: Always |
pagination | Pagination | This container provides pagination information for the returned line items awaiting feedback (as filtered). Occurrence: Always |
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 |
---|---|---|---|
501024 | API_FEEDBACK | REQUEST | Input sort value is invalid. |
501025 | API_FEEDBACK | REQUEST | Input user role value is invalid. |
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 Items Awaiting Feedback
This sample call retrieves all line items awaiting feedback from the user as both buyer and seller.
Input
The input specifies the limit and offset as query parameters.
GEThttps://api.ebay.com/commerce/feedback/v1/awaiting_feedback?limit=2&offset=0
Output
A successful call returns an array of line items matching the pagination parameters. This example returns results including two line items where feedback is due from the user, one with the user's role as a buyer and one with the user's role as seller.