Handle Queue Request
Product로 진입 요청 시 waiting Queue에 추가 혹은 대기자 없을 시 바로 Product로 진입
Handle Queue Request
POST
/api/waitingQueue/{productId}
Access Permissions
Role
Description
ADMIN
관리자
CUSTOMER
구매자
Request Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Path Variable
Name
Type
Description
productId
Long
Product ID
Response
{
"status": 200,
"data": {
"userId": 1,
"rank": 1
},
"error": null,
"timeStamp": "2024-09-27 12:00:00"
}
Last updated