Connected Interview Question

Design REST API for the clothing store. What kinds of commands? What HTTP method? What url? What about filtering (i.e show only pants)?