eBay Developers Program
  • Forums Sign in
  • My Account
    • My Developer Account
    • Solutions Directory
    • Applications Settings
  • Forums
    • Orders, Returns and Feedback
    • Java SDK for Trading API
    • Search
    • Selling
    • Talk to Your Fellow Devs
    • .Net SDK for Trading API
    • Tokens, Notifications, Messages
    • Feedback & Suggestions
  • Documentation
    • Release Notes
    • Finding API
    • Shopping API
    • Trading API
    • Large Merchant Services
    • Marketing Handbook
    • All Features Comparison
    • All API Documentation
  • Support
    • eBay SDKs
    • API Site Status
    • Program & News Blog
    • Compatible Application Check
    • Support Ticket
    • Knowledge Base
    • Developer Help Center
    • Search Details
  • Home
  • eBay Forums
  • Talk to your fellow developers /
avatar image

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.

People who like this

0
Comment
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image

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.

Comment

People who like this

0 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

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 } })

Comment

People who like this

0 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

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


Support

Developer Help Center
eBay Developers Program Blog
API Site Status
Request Support
Knowledge Base
Developer Forums
eBay Software Development Kits

API Information

API License Agreement
API Documentation
API Call Limits
Marketing Handbook
API Features Comparison

Apps Center

Applications Directory
Solutions Directory

Social Media

     

Programs

About Us
Success Stories
Affiliate Developers
eBay Market Data Program
Developer Directory
Developer Jobs
Copyright 1999 - 2019 eBay Inc. All rights reserved. User Agreement | Privacy Policy.    Site Feedback
  • Anonymous
  • Login with eBay
  • Create
  • Ask a question
  • Forums
  • Buy APIs (BETA) - Browse
  • Buy APIs (BETA) - Order
  • Feedback, Comments, Suggestions
  • New Sell APIs - Account, Inventory, Catalog and Compliance
  • New Sell APIs - Fulfillment
  • New Sell APIs - Marketing, Analytics, Metadata
  • Post Order APIs - Cancellation
  • Post Order APIs - Inquiry, Case Management
  • Post Order APIs - Return
  • Talk to your fellow developers
  • Token, Messaging, Sandbox related issues
  • eBay APIs: .NET SDK for Trading API
  • eBay APIs: Java SDK for Trading API
  • eBay APIs: Orders, resolutions and feedback
  • eBay APIs: Search
  • eBay APIs: Selling
  • Explore
  • Tags
  • Questions
  • Users
  • Badges