ShopsCreate a shop

Create a shop

Creates a Shopee shop configuration. Requires an administrator JWT.

curl -X POST "http://localhost:8080/api/shops" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN (JWT)" \
  -d '{
  "seller_id": 123,
  "shopee_partner_id": "example_string",
  "shopee_partner_key": "example_string",
  "shopee_shop_id": "example_string"
}'
{
  "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"
}
POST
/api/shops
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.
Content-Typestring
Required

The media type of the request body

Options: application/json
seller_idinteger
Required

Owning seller identifier.

Format: int64
shopee_partner_idstring
Required

Shopee partner identifier.

shopee_shop_idstring
Required

Shopee shop identifier.

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.

Body

application/json
seller_idinteger
Required

Owning seller identifier.

shopee_partner_idstring
Required

Shopee partner identifier.

shopee_shop_idstring
Required

Shopee shop identifier.

Responses