Shopee TokensCreate Shopee authorization

Create Shopee authorization

Starts Shopee authorization for a shop and returns its OAuth authorization URL.

curl -X POST "http://localhost:8080/api/shops/123/token/create" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN (JWT)"
{
  "auth_url": "example_string"
}
POST
/api/shops/{id}/token/create
POST
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

auth_urlstring
Required

Shopee OAuth authorization URL.