add product rest api.