Skip to main content
Published: July 13 2011, 5:12:00 AMUpdated: November 28 2020, 9:54:14 PM

Use the ReviseFixedPriceItem call to change the properties of a currently active fixed-price listing.

Here is a VB.NET ReviseFixedPriceItem sample for revising item specifics of an existing item. This sample has been written using the .NET SDK.

Below is the code. Corresponding SOAP request is attached with this article.

Imports eBay.Service.Call
Imports eBay.Service.Core.Sdk
Imports eBay.Service.Util
Imports eBay.Service.Core.Soap

Namespace Trading_Samples
     Public Class Revise
          Private Sub ReviseFixedPriceItem()

               'create the context
               Dim context As New ApiContext()

               'set the User token
               context.ApiCredential.eBayToken = "Your token"

               'set the server url
               context.SoapApiServerUrl = ""

               '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 = "727"
               context.Site = SiteCodeType.Australia

               Dim reviseFP As New ReviseFixedPriceItemCall(context)

               Dim item As New ItemType()
               item.SKU = "5591"

               'Specify the entire item specifics container
               item.ItemSpecifics = New NameValueListTypeCollection()

               Dim ItemSpecs As New NameValueListTypeCollection()

               Dim nv1 As New NameValueListType()
               Dim valueCol1 As New StringCollection()

               nv1.Name = "Brand"
               valueCol1.Add("Ralph Lauren")
               nv1.Value = valueCol1


               Dim nv2 As New NameValueListType()
               Dim valueCol2 As New StringCollection()
               nv2.Name = "Size"
               nv2.Value = valueCol2

               Dim nv3 As New NameValueListType()
               Dim valueCol3 As New StringCollection()
               nv3.Name = "Colour"
               nv3.Value = valueCol3

               item.ItemSpecifics = ItemSpecs

               reviseFP.Item = item
               Console.WriteLine(reviseFP.ApiResponse.Ack + " Revised SKU " + reviseFP.SKU)

          End Sub

     End Class

End Namespace

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