The RelistFixedPriceItem call can be used to to relist fixed-price item that has ended. It is recommended to use this call instead of creating a new listing using the AddFixedPriceItem call to take advantage of the recent sales score associated with the listing.
Here is a Java RelistFixedPriceItem sample for re-listing an item as-is.
/**
* Sample code to relist an item (without any modifications) using the RelistFixedPriceItem call
*
* 1. Create an ApiContext Object
* 2. Set the auth token and target api url (Webservice endpoint)
* 3. Create a RelistFixedPriceItemCall object.
* 4. Create an item object and set the SKU for the item whose field(s) is/are to added/modified.
* 5. Set the InventoryTrackingMethod in the item object and set it to the ReviseFixedPriceItemCall object.
* 6. Execute the API call RelistFixedPriceItemCall.relistFixedPriceItem() to revise the listing
*/
public class RelistFPItemBasicSample {
public static void relistFixedPriceItem() {
ApiContext apiContext = new ApiContext();
ApiCredential cred = apiContext.getApiCredential();
ApiLogging apiLogging = new ApiLogging();
apiContext.setApiLogging(apiLogging);
// set the server url and credentials for Sandbox
apiContext.setApiServerUrl("https://api.sandbox.ebay.com/wsapi");
cred.seteBayToken("YourToken");
// Set site to US
apiContext.setSite(SiteCodeType.US);
RelistFixedPriceItemCall relistCall = new RelistFixedPriceItemCall(apiContext);