회원이 판매한 상품을 전체 조회 합니다.
해당 회원의 Id를 Pathvariable로 보내줍니다.
offset
- 상품 번호(index)
- 0부터 시작
limit
- 한번에 받아오는 상품 개수
- 1부터 시작
sort
- 정렬 조건
- 종료 임박순:
END_DATE_ASC
- 정렬 조건 안보내주면 기본으로 종료 임박순 정렬
요청
Get api/v1/users/{id}/products?offset=&limit=&sort
응답
200 OK [ { "id": Number, "title": String, "thumbnailImage": String, "minimumPrice": Number, "expireAt": Date, "createdAt": Date, "updatedAt": Date, }, {} // 유사 데이터 limit 개수만큼 반환 ]