List sub-merchants
curl --request GET \
--url https://cool.jobmojito.com/functions/v1/merchant-sub-merchant-list \
--header 'Authorization: Bearer <token>'import requests
url = "https://cool.jobmojito.com/functions/v1/merchant-sub-merchant-list"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://cool.jobmojito.com/functions/v1/merchant-sub-merchant-list', 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://cool.jobmojito.com/functions/v1/merchant-sub-merchant-list",
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://cool.jobmojito.com/functions/v1/merchant-sub-merchant-list"
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://cool.jobmojito.com/functions/v1/merchant-sub-merchant-list")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://cool.jobmojito.com/functions/v1/merchant-sub-merchant-list")
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{
"data": [
{
"id": "<string>",
"name": "<string>",
"status": "<string>",
"contact_person": "<string>",
"contact_email": "<string>",
"billing_country": "<string>",
"business_type": "<string>",
"image_logo_url": "<string>",
"frontend_domain": "<string>",
"interview_frontend_domain": "<string>",
"register_domain": "<string>",
"info_notes": "<string>",
"merchant_features": "<unknown>",
"interview_subscription_status": "<string>",
"interview_subscription_type": "<string>",
"stripe_interview_subscription_start": "<string>",
"consumer_webanalytics": "<string>",
"interview_webanalytics": "<string>",
"admin_profiles": "<unknown>",
"users": "<unknown>",
"interview_count": 123,
"interview_latest": "<string>",
"credits_used_30d": 123,
"credits_used_total": 123,
"created_at": "<string>"
}
],
"pagination": {
"total": 137,
"limit": 50,
"offset": 0,
"has_more": true
}
}{
"error": "Field is required.",
"name": "interview_result_id"
}{
"error": "Field is required.",
"name": "interview_result_id"
}{
"error": "Field is required.",
"name": "interview_result_id"
}{
"error": "Field is required.",
"name": "interview_result_id"
}Admin
List sub-merchants
Paginated list of the sub-merchants the caller administers (the admin-portal sub-merchants list). Visibility is enforced by row-level security. Capped at 1000 records per page.
GET
/
merchant-sub-merchant-list
List sub-merchants
curl --request GET \
--url https://cool.jobmojito.com/functions/v1/merchant-sub-merchant-list \
--header 'Authorization: Bearer <token>'import requests
url = "https://cool.jobmojito.com/functions/v1/merchant-sub-merchant-list"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://cool.jobmojito.com/functions/v1/merchant-sub-merchant-list', 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://cool.jobmojito.com/functions/v1/merchant-sub-merchant-list",
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://cool.jobmojito.com/functions/v1/merchant-sub-merchant-list"
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://cool.jobmojito.com/functions/v1/merchant-sub-merchant-list")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://cool.jobmojito.com/functions/v1/merchant-sub-merchant-list")
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{
"data": [
{
"id": "<string>",
"name": "<string>",
"status": "<string>",
"contact_person": "<string>",
"contact_email": "<string>",
"billing_country": "<string>",
"business_type": "<string>",
"image_logo_url": "<string>",
"frontend_domain": "<string>",
"interview_frontend_domain": "<string>",
"register_domain": "<string>",
"info_notes": "<string>",
"merchant_features": "<unknown>",
"interview_subscription_status": "<string>",
"interview_subscription_type": "<string>",
"stripe_interview_subscription_start": "<string>",
"consumer_webanalytics": "<string>",
"interview_webanalytics": "<string>",
"admin_profiles": "<unknown>",
"users": "<unknown>",
"interview_count": 123,
"interview_latest": "<string>",
"credits_used_30d": 123,
"credits_used_total": 123,
"created_at": "<string>"
}
],
"pagination": {
"total": 137,
"limit": 50,
"offset": 0,
"has_more": true
}
}{
"error": "Field is required.",
"name": "interview_result_id"
}{
"error": "Field is required.",
"name": "interview_result_id"
}{
"error": "Field is required.",
"name": "interview_result_id"
}{
"error": "Field is required.",
"name": "interview_result_id"
}Authorizations
Supabase JWT — Authorization: Bearer <token>.
Query Parameters
Optional merchant to scope to. Admins and sub-merchant operators only; other callers always use their token's merchant.
Example:
"28106cba-1c27-4e53-b149-32113e5e8e31"
Sort order of the result set.
Available options:
name, created_at_newest, created_at_oldest Example:
"created_at_newest"
Case-insensitive search on the sub-merchant name.
Maximum number of records to return (1–1000).
Required range:
1 <= x <= 1000Example:
50
Number of records to skip from the start of the result set.
Required range:
x >= 0Example:
0