Page Introduction

MarketplaceCompat namespace

This namespace page is optimized for frontend implementation with endpoint index, request/response examples, and code snippets.

  • Use auth and summary fields to configure your API client.
  • Use code snippets as starter references, not production-ready final code.
  • Validate critical mutations in interactive console before release.

CarOwner Namespace

MarketplaceCompat

Namespace details with request/response examples and code snippets.

2Endpoint methods

Endpoint Quick Index

Detailed Endpoints

GET/api/co/shops/921460929

Endpoint operation.

Fetches one workshop by orgNr.

Auth: None (public endpoint).Source: CAROWNER-API-COMPLETE.md

Request Example

{}

Response Example

{
  "orgNr": "921460929",
  "name": "string_value",
  "addressLine": "string_value",
  "description": "string_value",
  "phone": "+4799999999",
  "mobile": "string_value",
  "email": "owner@minbil.io",
  "logo": [
    "string_value"
  ],
  "images": [
    "string_value"
  ],
  "homepage": "string_value",
  "updatedAt": "2026-02-12",
  "categories": [
    "string_value"
  ],
  "addresses": [
    {
      "address": "string_value",
      "postal_code": "string_value",
      "city": "string_value",
      "county": "string_value",
      "latitude": 499.0,
      "longitude": 499.0
    }
  ],
  "contacts": [
    {
      "id": 1,
      "email": "owner@minbil.io",
      "phone": "+4799999999",
      "mobile": "string_value",
      "manager": "string_value"
    }
  ],
  "ratings": [
    {}
  ],
  "total_ratings": {
    "average_rating": 4.5,
    "total_reviews": 12
  },
  "services": [
    {
      "service_id": 1,
      "org_nr": "921460929",
      "title": "string_value",
      "description": "string_value",
      "price": 499.0,
      "estimated_time": 499.0,
      "images": [
        {}
      ],
      "categories": [
        {}
      ],
      "supports_walk_in": true
    }
  ],
  "openingHours": {},
  "isOpenNow": true,
  "is_favourite": true
}
Node.js Axios example
import axios from "axios";

const BASE_URL = process.env.MINBIL_API_BASE_URL ?? "http://localhost:5000";
const API_KEY = process.env.MINBIL_API_KEY ?? "YOUR_API_KEY";
const ACCESS_TOKEN = process.env.MINBIL_ACCESS_TOKEN ?? "YOUR_BEARER_TOKEN";

async function run() {
  const response = await axios({
    method: "get",
    url: BASE_URL + "/api/co/shops/921460929",
    headers: {
      "Content-Type": "application/json",
    },
    timeout: 20000,
  });
  console.log(response.status, response.data);
}

run().catch((error) => {
  console.error(error.response?.status, error.response?.data ?? error.message);
});
cURL example
curl -X GET 'https://api.minbil.no/api/co/shops/921460929'\
  -H 'Accept: application/json'
Fetch example
const BASE_URL = process.env.MINBIL_API_BASE_URL ?? "http://localhost:5000";
const API_KEY = process.env.MINBIL_API_KEY ?? "YOUR_API_KEY";
const ACCESS_TOKEN = process.env.MINBIL_ACCESS_TOKEN ?? "YOUR_BEARER_TOKEN";

const response = await fetch(BASE_URL + "/api/co/shops/921460929", {
  method: "GET",
  headers: {
    "Content-Type": "application/json",
  },
});
const data = await response.json();
console.log(response.status, data);
GET/api/co/marketplace/shops

Endpoint operation.

Auth: None (public endpoint).Source: CAROWNER-API-COMPLETE.md

Request Example

{}

Response Example

{
  "data": {},
  "meta": {
    "request_id": "f59ee325-0445-4bd0-9bf1-73edcd7da151",
    "generated_at": "2026-02-12T10:00:00Z"
  }
}
Node.js Axios example
import axios from "axios";

const BASE_URL = process.env.MINBIL_API_BASE_URL ?? "http://localhost:5000";
const API_KEY = process.env.MINBIL_API_KEY ?? "YOUR_API_KEY";
const ACCESS_TOKEN = process.env.MINBIL_ACCESS_TOKEN ?? "YOUR_BEARER_TOKEN";

async function run() {
  const response = await axios({
    method: "get",
    url: BASE_URL + "/api/co/marketplace/shops",
    headers: {
      "Content-Type": "application/json",
    },
    timeout: 20000,
  });
  console.log(response.status, response.data);
}

run().catch((error) => {
  console.error(error.response?.status, error.response?.data ?? error.message);
});
cURL example
curl -X GET 'https://api.minbil.no/api/co/marketplace/shops'\
  -H 'Accept: application/json'
Fetch example
const BASE_URL = process.env.MINBIL_API_BASE_URL ?? "http://localhost:5000";
const API_KEY = process.env.MINBIL_API_KEY ?? "YOUR_API_KEY";
const ACCESS_TOKEN = process.env.MINBIL_ACCESS_TOKEN ?? "YOUR_BEARER_TOKEN";

const response = await fetch(BASE_URL + "/api/co/marketplace/shops", {
  method: "GET",
  headers: {
    "Content-Type": "application/json",
  },
});
const data = await response.json();
console.log(response.status, data);