Skip to main content

POST/respond_to_feedback

This method allows users to respond to feedback provided by the order partner for a specific line item in an order. For each order, the order partner is the other participant in the transaction, either the buyer or seller, depending on the eBay user associated with the user token. This method allows the user to provide additional context or address the order partner's feedback.

Note: The feedback response must adhere to community guidelines and be relevant to the transaction.

You can only use this method if feedback has been provided by the order partner and you have not yet responded to it.

When responding to feedback, your feedback score is not affected when you respond to feedback.

For additional information on leaving feedback, see the following:

A successful call returns an HTTP status of 200 Success.

Input

Resource URI

POST https://api.ebay.com/commerce/feedback/v1/respond_to_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

This method has no URI parameters.

HTTP request headers

All requests made to eBay REST operations require you to provide the Authorization HTTP header for authentication authorization.

The table below shows additional HTTP request headers that are either required, conditionally required, or strongly recommended for this method. Other standard HTTP request headers- opens rest request components page (not in this table) can also be used, but they are optional.

HeaderTypeDescription
Content-TypestringThis header indicates the format of the request body provided by the client. Its value should be set to application/json.

For more information, refer to HTTP request headers.

Occurrence: Required

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

Copy complete valid JSON to clipboard

Request fields

Input container/fieldTypeDescription
feedbackIdstring

Use this field to provide the unique identifier for the feedback being responded to, used to specify the feedback entry associated with the feedback response. This value can be returned using the getFeedback method (feedbackId field).

Occurrence: Required

recipientUserIdstring

Use this field to provide the identifier of the user who provided the original feedback. This value can be returned using the getFeedback method (userId field).

Note: Both usernames and public user IDs will be accepted in this field. For more information, please refer to Data Handling Compliance.

Occurrence: Required

responseTextstring

Use this field to provide the text content of the response. This field is used to provide additional context or address the feedback given by the order partner. No HTML formatting or personal information (such as phone numbers) is permitted.

Maximum length: 500 characters.

Occurrence: Required

responseTypeResponseTypeEnum

Set this enumerated value to describe the type of response being submitted (for example, a REPLY or a FOLLOW_UP).

Occurrence: Required

Output

HTTP response headers

This call has no response headers.

Response payload

This call has no payload.

Response fields

This call has no field definitions.

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
403Forbidden
409Conflict
500Internal Server Error

Error codes

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

CodeDomainCategoryMeaning
501011API_FEEDBACKBUSINESSFeedback provider is not eligible to leave feedback.
501013API_FEEDBACKREQUESTComment text is too long, maximum length is 500 characters.
501014API_FEEDBACKREQUESTComment text value is invalid.
501015API_FEEDBACKREQUESTComment text contains profanity.
501026API_FEEDBACKREQUESTFeedback ID request parameter is required or is invalid.
501027API_FEEDBACKREQUESTResponse type request parameter is required or is invalid. Must be REPLY or FOLLOW_UP.
501028API_FEEDBACKREQUESTResponse text request parameter is required.
501029API_FEEDBACKREQUESTRecipient user ID request parameter is required.
501030API_FEEDBACKBUSINESSFeedback ID for respond to feedback not found.
501031API_FEEDBACKBUSINESSReply not allowed for automated feedback.
501032API_FEEDBACKBUSINESSReply already left for feedback.
501033API_FEEDBACKBUSINESSFollow up comment already left for feedback.

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: Reply to feedback

This call responds to the user's order partner feedback for a line item in the order.

Input

The inputs are the feedback ID, the recipient user ID, the response text, and the type of response.

POSThttps://api.ebay.com/commerce/feedback/v1/respond_to_feedback

Output

If the call is successful, HTTP status code 200 Success is returned.