Skip to main content

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

GET https://api.ebay.com/commerce/feedback/v1/awaiting_feedback?

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

ParameterTypeDescription
filterstringUse this parameter to limit the response based on the specified filter parameters. Supported filter parameters include:

  • listingId: Filter results by the specific listing ID
  • receiverName: Filter results by the user's order partner name involved in the transaction
  • userRole: Use this filter to only retrieve feedback due from the user in role as a seller or a buyer. If this filter is not used, all feedback due in both user roles is retrieved (BUYER or SELLER)

Send the filter as a query parameter in a comma-separated name:value list. For example:
filter=listingId:123,receiverName:user,userRole:BUYER

Occurrence: Optional

limitintegerThis 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 20 and limit set to 10, the call retrieves entries 21 through 30 from the result set.

Although this field is optional, if omitted the default value of 25 is used.

Default: 25

Minimum: 25

Maximum: 200

Occurrence: Optional

offsetintegerUse 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:
  • If offset is 0 and limit is 10, the method will retrieve items 1-10 from the list of line items returned
  • If offset is 10 and limit is 10, the method will retrieve items 11-20 from the list of line items returned.

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 0 which returns the first page of records.

Default: 0

Occurrence: Optional

sortstringUse 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:
  • END_TIME_ASC: Sorts listings by end time from oldest to newest
  • END_TIME_DESC: Sorts listings by end time from newest to oldest (default)

If this parameter is omitted, its value defaults to END_TIME_DESC.

Default: END_TIME_DESC

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/fieldTypeDescription
itemsAwaitingFeedbackCountItemsAwaitingFeedbackCount

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.asBuyerinteger

The number of line items for which feedback is pending from the user in the buyer role.

Occurrence: Always

itemsAwaitingFeedbackCount.asSellerinteger

The number of line items for which feedback is pending from the user in the seller role.

Occurrence: Always

lineItemsarray 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.listingIdstring

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.listingPriceListingPrice

This container shows the sales price of the listing.

Occurrence: Always

lineItems.listingPrice.currencystring

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.valuenumber

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.listingTitlestring

The title of the listing.

Occurrence: Always

lineItems.orderLineItemIdstring

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.ratingTemplatesarray 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.acceptableValuesarray 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 RANGE or PREDEFINED.

The following is an example of a predefined list:

[
{
"value": "POSITIVE",
"valueLabel": "Positive",
"enabled": true
},
{
"value": "NEUTRAL",
"valueLabel": "Neutral",
"enabled": true
},
{
"value": "NEGATIVE",
"valueLabel": "Negative",
"enabled": true
}
]
For other examples, see the Using rating templates section in the Feedback API Overview.

Occurrence: Conditional

lineItems.ratingTemplates.acceptableValues.enabledboolean

If true, this boolean indicates that this value is enabled and selectable.

Occurrence: Always

lineItems.ratingTemplates.acceptableValues.valuestring

The value that can be selected for feedback. For most ratingType values, this is 1 through 5, with 1 representing the lowest rating and 5 representing the highest rating. For ratingType of OVERALL_EXPERIENCE, this can be POSITIVE, NEGATIVE, and NEUTRAL. These are the same values as used with the leaveFeedback methods.

Occurrence: Always

lineItems.ratingTemplates.acceptableValues.valueLabelstring

This field provides information about the corresponding value.

Occurrence: Always

lineItems.ratingTemplates.defaultValuestring

The default value preselected for the rating, if set.

Occurrence: Conditional

lineItems.ratingTemplates.earlyFeedbackMessagestring

For eligible sellers, a message may be shown requiring a wait period before you can leave neutral or negative feedback.

Occurrence: Conditional

lineItems.ratingTemplates.enabledboolean

If returned as true, this boolean indicates that the corresponding feedback rating template is enabled for the user to provide feedback for this line item. This value will generally be true when the user role is a buyer, but false when the user role is a seller because buyers do not have Detailed Seller Ratings (DSRs).

Occurrence: Always

lineItems.ratingTemplates.maximumCharactersAllowedinteger

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 FREETEXT.

Maximum: 500

Occurrence: Conditional

lineItems.ratingTemplates.multiValueRatingboolean

If returned as true, multiple values can be specified for the rating.

Occurrence: Conditional

lineItems.ratingTemplates.ratingKeyFeedbackRatingTypeEnum

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 OVERALL_EXPERIENCE indicates the rating is for the overall transaction experience.

Occurrence: Always

lineItems.ratingTemplates.ratingLabelstring

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 OVERALL_EXPERIENCE ratingKey.

Occurrence: Always

lineItems.ratingTemplates.ratingValueTypeFeedbackRatingValueTypeEnum

This enumerated value indicates the type of data used to provide the specific feedback rating.

If set to PREDEFINED or RANGE, is returned here, more information on the supported values will be returned under the acceptableValues array. If FREETEXT is returned here, the maximum number of characters supported can be seen in the maximumCharactersAllowed field.

Occurrence: Always

lineItems.ratingTemplates.requiredboolean

If returned as true, this rating type is required when leaving feedback.

Occurrence: Always

lineItems.transactionIdstring

The unique identifier of the sales transaction.

Occurrence: Always

paginationPagination

This container provides pagination information for the returned line items awaiting feedback (as filtered).

Occurrence: Always

pagination.countinteger

This value indicates the number of feedback entries on the current response page.

Occurrence: Always

pagination.limitinteger

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 25, returning up to 25 line items on each page.

Default: 25

Occurrence: Always

pagination.nextstring

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.offsetinteger

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 0, returning the first page of results.

Default: 0

Occurrence: Always

pagination.prevstring

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.totalinteger

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.

StatusMeaning
200Success
400Bad Request
401Not Authorized
500Internal Server Error

Error codes

For more on errors, plus the codes of other common errors, see Handling errors.

CodeDomainCategoryMeaning
501024API_FEEDBACKREQUESTInput sort value is invalid.
501025API_FEEDBACKREQUESTInput 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.