eBay’s API Rules

Most people who would actually read this know that with AuctionAds, I’ve had my head deep inside the bowels of the eBay API. Recently I sold a whole lot of 1 item on eBay and I had the daunting task of leaving 400+ feedbacks in front of me. I google’d for some tools, and not coming up with anything I just assumed the API didn’t allow feedback calls. After lamenting this to the ex-director of API at eBay when I was in San Francisco last week, he told me they DID have Feedback calls. In about 5 minutes I was able to write a script to leave 400+ feedbacks for me.

I love the eBay API.


$requestXmlBody = '<?xml version="1.0" encoding="utf-8"?>';
$requestXmlBody .= '<LeaveFeedback xmlns="urn:ebay:apis:eBLBaseComponents">';
$requestXmlBody .= "<RequesterCredentials><eBayAuthToken>$userToken</eBayAuthToken></RequesterCredentials>";
$requestXmlBody .= '<ErrorLanguage>en_US</ErrorLanguage>';
$requestXmlBody .= '<CommentText>Great eBayer! Thanks for purchasing and prompt payment!</CommentText>';
$requestXmlBody .= '<CommentType>Positive</CommentType>';
$requestXmlBody .= "<ItemID>$item_id</ItemID>";
$requestXmlBody .= "<TargetUser>$user_id</TargetUser>";
$requestXmlBody .= "<TransactionID>$trans_id</TransactionID>";
$requestXmlBody .= '</LeaveFeedback>';

RSS feed

1 Comment

Comment by Rick
2007-06-09 11:08:59

Love your blog brother and i have a badass crownline too =)

I have to ask what you sold on eaby? its driving me crazy =)

Thanks

 

Sorry, the comment form is closed at this time.