add  food stock api function