use api to add products