ShopsGet a shop

Get a shop

Returns one Shopee shop. Requires an administrator JWT.

curl -X GET "http://localhost:8080/api/shops/123" \
  -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/{id}
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.
path
idinteger
Required

Shop identifier.

Format: int64
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.

Path Parameters

idinteger
Required

Shop identifier.

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.