basic product api done