Skip to main content
Published: January 06 2011, 3:59:00 PMUpdated: November 28 2020, 9:07:53 PM

Use the ReviseFixedPriceItem call to change the properties of a currently active fixed-price listing.
Here is a C# Basic ReviseFixedPriceItem sample. This sample has been written using the .NET SDK v673 and demonstrates how to revise the title of a listing.

Below is the code. Corresponding SOAP request is attached with this article. Please note, this modifies the item with the following SKU.

  • 5364

You will need to first make and AddFixedPriceItem call to create an item with this SKU.

using System;
using eBay.Service.Call;
using eBay.Service.Core.Sdk;
using eBay.Service.Util;
using eBay.Service.Core.Soap;

namespace Trading_Samples
{
    public class Revise
    {
        static void Main(string[] args)
        {
            Revise test = new Revise();
            test.ReviseFixedPriceItem();
        }

        private void ReviseFixedPriceItem()
        {

            //create the context
            ApiContext context = new ApiContext();

            //set the User token
            context.ApiCredential.eBayToken = "Your token";
            
            //set the server url
            context.SoapApiServerUrl = "https://api.sandbox.ebay.com/wsapi";

            //enable logging
            context.ApiLogManager = new ApiLogManager();
            context.ApiLogManager.ApiLoggerList.Add(new FileLogger("log.txt", true, true, true));
            context.ApiLogManager.EnableLogging = true;

            //set the version
            context.Version = "673";
            context.Site = SiteCodeType.Australia;

            ReviseFixedPriceItemCall reviseFP = new ReviseFixedPriceItemCall(context);

            ItemType item = new ItemType();
            item.SKU = "5364";

            //Basic (Title revision)
            item.Title = "Revising Title";

            reviseFP.Item = item;

            reviseFP.Execute();
            Console.WriteLine(reviseFP.ApiResponse.Ack + " Revised SKU " + reviseFP.SKU);
        }
    }

}

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