I need php script to link my site to api ebay. I'm interested in the discharge of the orders and closing of the ads in the case, the stock is at 0. I need a php script to include in a cron job that I download orders every fixed period of time and I would need to enter orders into a mysql database. After I'll create the script that scale orders from the warehouse. But I need another script that I delete from ebay listings which of availability on stock went to 0