Skip to main content
Published: April 14 2011, 9:13:00 PMUpdated: August 19 2022, 2:56:14 PM


  Message field that is returned by the Add/Revise/Relist calls contains listing hints, policy violation explanations, or other details. To be able to handle the Message field and display it to your seller will help them to take an appropriate action accordingly in a timely manner. 

Message is the property of AbstractResponseType object, when use wrapper class like ReviseFixedPriceItemCall in Java SDK to make the AddItem family of calls,  you can retreive it via getResponseObject() method as below:

import com.ebay.sdk.*;
import com.ebay.soap.eBLBaseComponents.*;

public class ReviseFixedPriceItem {

    static String messageValue;
    public static void reviseFixedPriceItem(){

           String newdescription="YOUR NEW DESRIPTION";
          ApiContext apiContext = new ApiContext(); // Create a new APIContext Object 
          // set Api Token to access eBay Api Server
          ApiCredential cred = apiContext.getApiCredential();
          apiContext.setApiServerUrl("");// Pointing to SandBox for testing
          // Enable logging of SOAP requests and responses. Recommended only for testing/debugging.
          apiContext.setSite(SiteCodeType.US); // Set site to US
          ReviseFixedPriceItemCall rfp = new ReviseFixedPriceItemCall(apiContext);
          ItemType item = new ItemType();  
          try { 
              //you need to surface the message to sellers if the Message object is returned
               if (rfp.getResponseObject().getMessage() !=null){
                   // surface the message to your seller

         } catch (ApiException apiE) { 
        } catch (SdkException sdkE) { 
          } catch (Exception e) {
     public static void main(String[] args) {





How well did this answer your question?