SellersList sellers

List sellers

Returns all sellers. Requires an administrator JWT.

curl -X GET "http://localhost:8080/api/sellers" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN (JWT)"
[
  {
    "id": 123,
    "email": "user@example.com",
    "name": "John Doe",
    "role": "ADMIN"
  }
]
GET
/api/sellers
GET
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token (JWT)
Bearer Tokenstring
Required

JWT access token, or refresh token for the token refresh endpoint.

JWT access token, or refresh token for the token refresh endpoint.
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token (JWT). JWT access token, or refresh token for the token refresh endpoint.

Responses

idinteger
Required

Seller identifier.

emailstring
Required

Seller email address.

namestring
Required

Seller display name.

rolestring
Required

Seller role.

Allowed values:ADMINSELLER