match build api to inventory api