question

smartmobilewala avatar image
0 Likes"
smartmobilewala asked ·

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.
pythonreviseitemhalf.comebaysdk
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

getopts avatar image
0 Likes"
getopts answered ·
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 } })
· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

$$anonymous$$ avatar image
0 Likes"
$$anonymous$$ answered ·
Hello smartmobilewala, Can you please provide some more details of your request for us to reproduce this error. Regards.
· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.