Grainger interview question

Walk me through the process of developing an API