ShopsList shops

List shops

Returns all configured Shopee shops. Requires an administrator JWT.

curl -X GET "http://localhost:8080/api/shops" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN (JWT)"
[
  {
    "id": 123,
    "seller_id": 123,
    "shopee_partner_id": "example_string",
    "shopee_shop_id": "example_string",
    "has_token": true,
    "token_expires_at": "2024-12-25T10:00:00Z"
  }
]
GET
/api/shops
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

Shop identifier.

seller_idinteger
Required

Owning seller identifier.

shopee_partner_idstring
Required

Shopee partner identifier.

shopee_shop_idstring
Required

Shopee shop identifier.

has_tokenboolean
Required

Whether the shop has an authorized Shopee token.

token_expires_atstring
Required

Token expiration timestamp.