Store
General operations related to the store
Retrieves general information about the store, including store name, owner, and basic settings.
Authorization:
Requires a valid JWT Bearer token.
Successful operation
Unique identifier of the store.
762Unique ID of the store owner account.
10000Title or name of the store.
Epic storeSubtitle of the store.
The most epic store you will ever find.Description of the store.
The best store in the world!Subdomain used for the store. Full URL: <domain>.tip4serv.com.
epicstoreCustom domain registered for the store, if any.
shop.epicstore.comURL of the store logo.
https://tip4serv.com/template/images/defaultLogo.jpgCurrency used by the store.
USDTimezone in which timestamps for the store are expressed.
Europe/ParisMain theme color of the store.
#5990f1Missing or invalid Tip4Serv API Key
Internal server error
GET /v1/store/whoami HTTP/1.1
Host: api.tip4serv.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": 762,
"owner": 10000,
"title": "Epic store",
"subtitle": "The most epic store you will ever find.",
"description": "The best store in the world!",
"domain": "epicstore",
"custom_domain": "shop.epicstore.com",
"logo": "https://tip4serv.com/template/images/defaultLogo.jpg",
"currency": "USD",
"timezone": "Europe/Paris",
"color": "#5990f1",
"social_medias": {
"facebook": "https://www.facebook.com/zuck/",
"instagram": "https://www.instagram.com/zuck/",
"tiktok": "https://www.tiktok.com/@openai",
"twitter": "https://x.com/X",
"youtube": "https://www.youtube.com/user/PewDiePie",
"twitch": "https://www.twitch.tv/openai",
"steam": "https://steamcommunity.com/profiles/76561198380145423"
},
"menu_links": [
{
"title": "Books",
"url": "https://duster-books.com"
}
]
}Retrieves general information about the store's theme, including the current active mode, colors, and associated images.
Authorization:
Requires a valid JWT Bearer token.
Successful operation
Unique identifier of the theme.
2Short name of the theme.
neonPattern: ^[a-z0-9_-]+$Name of the theme publicly displayed.
Neon ThemeDefault mode of the theme (e.g., light, dark, etc.).
lightMissing or invalid Tip4Serv API Key
Internal server error
GET /v1/store/theme HTTP/1.1
Host: api.tip4serv.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": 2,
"short_name": "neon",
"name": "Neon Theme",
"slug": {
"product": "product",
"category": "category"
},
"images": {
"favicon": "8651782c6c560e354f81a5e586939495.jpg",
"light": {
"logo_header": "2613ab81ede1995cd1024b542962194a.png",
"logo_footer": "logo2.png",
"home_cover": "home_cover_inner.jpg"
},
"dark": {
"logo_header": "2613ab81ede1995cd1024b542962194a_dark.png",
"logo_footer": "logo2_dark.png",
"home_cover": "home_cover_inner_dark.jpg"
}
},
"mode": "light",
"widgets": {
"description": "below_categories_list",
"top_customer": 1,
"featured_product": 1,
"top_product": 1,
"show_banner": true
}
}Last updated
