Skip to main content
Published: March 17 2011, 4:09:00 PMUpdated: November 28 2020, 9:14:58 PM

Use the ReviseFixedPriceItem call to revise item specifics of a currently active fixed-price listing.
Here is a Java SDK ReviseFixedPriceItem sample for revising item specifics.

© 2011-2013 eBay Inc., All Rights Reserved
Licensed under CDDL 1.0 -

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

* The following needs to be done for executing RevisFixedPriceItem call to revise item specifics
* 1. Create an ApiContext Object
* 2. Set the auth token and target api url (Webservice endpoint)
* 3. Create a ReviseFixedPriceItemCall object.
* 4. Create an item object and set the SKU for the item.
* 5. Create a NameValueListType for each Item Specific that is to be defined.
* 6. Create a NameValueListArrayType object and add all the NameValueListType objects to it.
* 7. Set the NameValueListArrayType to the item using ItemType#setItemSpecifics(NameValueListArrayType)
* 8. Execute the revision using ReviseFixedPriceItemCall#reviseFixedPriceItem()
public class ReviseFPItemSpecificsSample {

    private static String USER_TOKEN="YOUR TOKEN";
    public static void reviseFixedPriceItemSpecifics() {

        ApiContext apiContext = new ApiContext();
        // set API Token to access eBay API Server
        ApiCredential cred = apiContext.getApiCredential();
        ApiLogging apiLogging = new ApiLogging();

        // set the server url and credentials for Sandbox

        // Set site to US

        ReviseFixedPriceItemCall reviseFP = new ReviseFixedPriceItemCall(apiContext);

        ItemType item = new ItemType();

        // We are using SKU to identify items

        // Create 4 item specifics for item which was listed on category 63889          
        NameValueListArrayType itemSpec = new NameValueListArrayType();

        NameValueListType nv1 = new NameValueListType();
        nv1.setName("US Shoe Size (Women's)");
        nv1.setValue(new String[]{"6.5"});
        NameValueListType nv2 = new NameValueListType();
        nv2.setValue(new String[]{"Medium (B, M)"});

        NameValueListType nv3 = new NameValueListType();
        nv3.setName("Heel Height");
        nv3.setValue(new String[]{"Low (3/4 in. to 1 1/2 in.)"});

        NameValueListType nv4 = new NameValueListType();
        nv4.setValue(new String[]{"Coach"});
        itemSpec.setNameValueList(new NameValueListType[]{nv1, nv2,  nv3, nv4});


        try {
        } catch (ApiException e) {
        } catch (SdkException e) {
        } catch (Exception e) {


    public static void main(String[] args) {

The generated AddFixedPriceItem SOAP request is attached to this article.

How well did this answer your question?
Answers others found helpful