How to add ConditionID support to your PHP scripts.
Find the answer to your question
Please enter a search keyword.
Advanced Search
Products
Question
Answer
Answer
Answer
Description:
Attached is a self-contained script that can add an item via the AddItem API. The important part of this file for ConditionID is this line:
$item->addChild("ConditionID", 1000);
$item was initialize with this line:
$request->addChild("Item");
By adding a child to $item, you are creating the Item.ConditionID needed for specifying the condition of your new listing.
For your convenience, after installing this script on you PHP web server, you can add ?debug=true to your URL to get some further output on the page.
Additional Information:
Item.ConditionID - http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/AddItem.html#Request.Item.ConditionID