This APA 7 guide is based with permission on the APA Style: New 7th Edition guide from Northwest Technical College.
Entire book:
Author, A. A., Author, B. B., & Author, C. C. (Year). Title of book: Subtitle words. Publisher Name.
One chapter in an edited book (a book that contains chapters by different authors):
Author, A. A. (Year). Title of chapter. In A. A. Editor & B. B. Editor (Eds.), Title of book (pages of chapter). Publisher Name.
Bonilla-Silva, E. (2017). Racism without the racists: Color-blind racism and the persistence of racial inequality in America. Rowman & Littlefield.
Olsen, Y., & Sharfstein, J. M. (2019). The opioid epidemic: What everyone needs to know. Oxford University Press.
Kindler, L. L., & Polomano, R. C. (2017). Pain. In S. L. Lewis, S. R. Dirksen, M. M. Heitkemper, & L. Bucher (Eds.), Medical-surgical nursing (10th ed., pp. 114-139). Elsevier.
Scott, C.L. (2014). Historical perspectives for studying workforce diversity. In M.Y. Byrd (Ed.), Diversity in the workforce: Current issues and emerging trends (pp. 3-33). Routledge.
Pedersen, P. B., Lonner, W. J., Draguns, J. G., Trimble, J.E., & Scharrón-del Río, M. R. (Eds.). (2016). Counseling across cultures (7th ed.). Sage.
If the book comes from a library database and has no DOI, end the reference after the publisher name, just like a print book.
Goodwin, G., & Sachs, G. (2010). Fast facts: Bipolar disorder. Health Press.