Home
Find the answer to your question
*Prerequisite - make sure to have added an item with the SKU below
Below is the code. Corresponding SOAP request is attached with this article.
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 = "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 = "817" context.Site = SiteCodeType.UK Dim reviseFP As New ReviseFixedPriceItemCall(context) Dim item As 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) End Sub End Class End Namespace |