Question by smartmobilewala · Jun 14, 2014 at 12:55 PM · reviseitemebaysdkpythonhalf.com
ReviseItem call in ebaysdk python is not working
This is my code to update the price of Item having "ItemID". from ebaysdk.trading import Connection api = Connection(appid='',certid='',siteid='203',devid=' ', token='',debug=True) ItemID=151308915151 newprice=23456 api.execute('ReviseItem',{'ItemID':ItemID,'BuyItNowPrice':newprice})
This is the error i'm getting on adding debug=True in connection constructor
2014-06-14 18:12:56,157 ebaysdk [DEBUG]:RESPONSE (4fa3dfa8-3c8f-405f-8f57-ae1ceeca9e70): 2014-06-14 18:12:56,158 ebaysdk [DEBUG]:elapsed time=0:00:04.046627 2014-06-14 18:12:56,158 ebaysdk [DEBUG]:status code=200 2014-06-14 18:12:56,158 ebaysdk [DEBUG]:headers={'x-ebay-request-id': '1469a66e-e000-a605-a7f6-9086fe9fac8a!ws.api.dll!10.96.90.127!esbtrading[]', 'content-length': '637', 'x-ebay-esb-app-name': ' ', 'content-type': 'text/xml', 'x-ebay-esb-call-name': 'ReviseItem', 'server': 'Apache-Coyote/1.1', 'x-ebay-api-server-name': '__ZW9nNGQ3MWYrZjU3YCgyNSg+Oys+KTQ1PD8zPTY=', 'date': 'Sat, 14 Jun 2014 12:42:54 GMT', 'x-ebay-esb-guid': 'urn:uuid:c9564540-0a8e-43cf-80ef-a5f69309b7e5', 'guid': '1469a66e-e000-a605-a7f6-9086fe9fac8a', 'x-ebay-api-pool-name': '__cDRidW8ydmtv', 'x-ebay-esb-siteid': '203'} 2014-06-14 18:12:56,159 ebaysdk [DEBUG]:content= 2014-06-14T12:42:55.432ZFailureItem cannot be accessed.This item cannot be accessed because the listing has been deleted, is a Half.com listing, or you are not the seller.17Error0RequestError877E877_UNI_API5_16881702_R1 2014-06-14 18:12:56,168 ebaysdk [ERROR]:ReviseItem: Class: RequestError, Severity: Error, Code: 17, Item cannot be accessed.This item cannot be accessed because the listing has been deleted, is a Half.com listing, or you are not the seller.
2014-06-14 18:12:56,169 ebaysdk [ERROR]:ReviseItem: Class: RequestError, Severity: Error, Code: 17, Item cannot be accessed.This item cannot be accessed because the listing has been deleted, is a Half.com listing, or you are not the seller. Traceback (most recent call last): File "ebayupdate.py", line 10, in api.execute('ReviseItem',{'ItemID':ItemID,'BuyItNowPrice':newprice}) File "build/bdist.linux-x86_64/egg/ebaysdk/connection.py", line 120, in execute File "build/bdist.linux-x86_64/egg/ebaysdk/connection.py", line 188, in error_check ebaysdk.exception.ConnectionError: ReviseItem: Class: RequestError, Severity: Error, Code: 17, Item cannot be accessed.This item cannot be accessed because the listing has been deleted, is a Half.com listing, or you are not the seller.
Answer by $$anonymous$$ · Jun 23, 2014 at 07:04 PM
Hello smartmobilewala,
Can you please provide some more details of your request for us to reproduce this error.
Regards.
People who like this
Answer by getopts · Feb 04, 2016 at 05:49 PM
I know this is an old post but for future reference, I'm posting the working code here.
api = Trading(appid=_appid, devid=_devid, certid=_certid, token=_token, debug=False) response = api.execute('ReviseFixedPriceItem', { 'item': { 'ItemID': itemId, 'StartPrice': price } })
People who like this
Your answer

Follow this Question
Related Questions
eBay API AttributeError: Response object has no attribute _dom 1 Answer
how to rewrite HTML code of all active ebay items description 1 Answer
New to programming, API, and eBay SDK... Stumbling but slowly catching on, simply need small advice! 1 Answer
Enable HitCounter using ReviseItem does not work 1 Answer
GeteBayDetails example for python 0 Answers