Get Shop
curl --request GET \
--url https://api.launchmystore.io/api/v1/shop.json \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.launchmystore.io/api/v1/shop.json"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.launchmystore.io/api/v1/shop.json', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.launchmystore.io/api/v1/shop.json",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.launchmystore.io/api/v1/shop.json"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.launchmystore.io/api/v1/shop.json")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.launchmystore.io/api/v1/shop.json")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"status": 123,
"state": "<string>",
"message": "<string>",
"data": {
"shop": {
"id": "<string>",
"name": "<string>",
"email": "<string>",
"businessEmail": "<string>",
"ownerName": "<string>",
"business": "<string>",
"phone": "<string>",
"storeURL": "<string>",
"storeAdd": "<string>",
"country": "<string>",
"availableCountries": [
{}
],
"availableLanguages": [
{}
],
"defaultLanguage": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
}
}Shop
Get Shop
Retrieve shop information and settings
GET
/
api
/
v1
/
shop.json
Get Shop
curl --request GET \
--url https://api.launchmystore.io/api/v1/shop.json \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.launchmystore.io/api/v1/shop.json"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.launchmystore.io/api/v1/shop.json', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.launchmystore.io/api/v1/shop.json",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.launchmystore.io/api/v1/shop.json"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.launchmystore.io/api/v1/shop.json")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.launchmystore.io/api/v1/shop.json")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"status": 123,
"state": "<string>",
"message": "<string>",
"data": {
"shop": {
"id": "<string>",
"name": "<string>",
"email": "<string>",
"businessEmail": "<string>",
"ownerName": "<string>",
"business": "<string>",
"phone": "<string>",
"storeURL": "<string>",
"storeAdd": "<string>",
"country": "<string>",
"availableCountries": [
{}
],
"availableLanguages": [
{}
],
"defaultLanguage": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
}
}Get Shop
Returns the shop’s account record and settings. The shop object is returned as-is (it is not transformed into a Shopify-style shop resource), so the field names match the platform’s store account.Request
curl -X GET "https://api.launchmystore.io/api/v1/shop.json" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
const response = await fetch('https://api.launchmystore.io/api/v1/shop.json', {
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
});
Response
The response uses the standard envelope. The shop record is nested underdata.shop.
HTTP status code (e.g.,
200)Result state —
success on success, error on failureHuman-readable message, or
null on successResponse data wrapper
Show data
Show data
The shop account object
Show Shop Object
Show Shop Object
Unique shop ID
Shop name
Account email
Business contact email
Store owner name
Business / legal name
Shop phone number
Store URL
Store address
Store country (drives the store’s currency)
Countries the store ships to / supports
Language codes enabled for the store
Default / primary language code
Shop creation timestamp (ISO 8601)
Last update timestamp (ISO 8601)
Sensitive fields (password, verification code, internal payment-customer IDs,
POS PIN) are always excluded from this response.
Example Response
{
"status": 200,
"state": "success",
"message": null,
"data": {
"shop": {
"id": "9f1c2b7e-3d4a-4f6b-8c1d-2e5a6b7c8d90",
"name": "My Awesome Store",
"email": "hello@mystore.com",
"businessEmail": "billing@mystore.com",
"ownerName": "Jane Doe",
"business": "My Awesome Store LLC",
"phone": "+1 (555) 123-4567",
"storeURL": "mystore.launchmystore.io",
"storeAdd": "123 Commerce St, San Francisco, CA 94102",
"country": "United States",
"availableCountries": ["United States", "Canada"],
"availableLanguages": ["en"],
"defaultLanguage": "en",
"createdAt": "2023-01-15T10:00:00.000Z",
"updatedAt": "2024-03-20T14:30:00.000Z"
}
},
"count": null,
"pagination": null
}
Error Response
Errors return the same envelope withstate set to error and a message.
{
"status": 404,
"state": "error",
"message": "Shop not found",
"data": null
}
| Status | Description |
|---|---|
401 | Invalid or missing access token |
403 | App doesn’t have read_shop scope |
404 | Shop not found |
⌘I