curl --request GET \
--url https://apiv2.gomarketbox.com/v1/projects/{projectId}/suppliers/{supplierId} \
--header 'x-api-key: <api-key>'import requests
url = "https://apiv2.gomarketbox.com/v1/projects/{projectId}/suppliers/{supplierId}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://apiv2.gomarketbox.com/v1/projects/{projectId}/suppliers/{supplierId}', 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://apiv2.gomarketbox.com/v1/projects/{projectId}/suppliers/{supplierId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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://apiv2.gomarketbox.com/v1/projects/{projectId}/suppliers/{supplierId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://apiv2.gomarketbox.com/v1/projects/{projectId}/suppliers/{supplierId}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://apiv2.gomarketbox.com/v1/projects/{projectId}/suppliers/{supplierId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"supplierId": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"active": true,
"updatedAt": "<string>",
"avatarUrl": "<string>",
"services": [
{
"serviceId": "<string>",
"name": {}
}
],
"skills": [
{
"skillId": "<string>",
"name": {}
}
],
"locations": [
{
"locationId": "<string>",
"locationType": "PHYSICAL",
"name": "<string>",
"country": "<string>",
"state": "<string>",
"city": "<string>",
"addressOneLine": "<string>",
"street": "<string>",
"latitude": 123,
"longitude": 123,
"travelZoneType": "CIRCULAR"
}
],
"servedRegions": [
"ca/",
"ca/on/",
"ca/on/scarborough/",
"ca/on/toronto/"
],
"languages": [
"<string>"
],
"locales": [
"<string>"
],
"rating": {
"averageRating": 4.7,
"reviewCount": 128,
"recent": [
{
"reviewId": "<string>",
"supplierId": "<string>",
"projectId": "<string>",
"ratingStars": 123,
"direction": "CLIENT_TO_SUPPLIER",
"subjectType": "SUPPLIER",
"subjectId": "<string>",
"createdAt": "<string>",
"clientId": "<string>",
"reviewText": "<string>",
"reviewerId": "<string>",
"bookingId": "<string>",
"supplierName": "<string>",
"clientName": "<string>"
}
]
},
"availability": {
"timezone": "America/Toronto",
"timezoneSource": "SUPPLIER",
"schedules": [
{
"scheduleId": "sch_01kv60qgnef2kt3pvqgwmkbzfr",
"timezone": "America/Toronto",
"startDate": "2026-01-01",
"endDate": "2026-12-31",
"rrule": "FREQ=WEEKLY;INTERVAL=1",
"exdates": [
"2026-07-01"
],
"weeklyHours": [
{
"dayOfWeek": "MO",
"startTime": "09:00",
"endTime": "17:00",
"crossesMidnight": false
}
],
"appliesToAllOfferings": true,
"offeringIds": [],
"locationIds": [
"loc_01kv60qg12e82acr78edfnjhvv"
],
"travelZone": {
"locationId": "stz_01kv60qgnef2kt3pvqgwmkbzfr",
"source": "SUPPLIER_TRAVEL_ZONE"
},
"summary": {
"days": "Mon, Wed, Fri",
"times": "9:00 AM – 5:00 PM",
"dateRange": "Jan 1 – Dec 31, 2026",
"coverageArea": "Toronto travel zone",
"offerings": "All offerings"
}
}
]
},
"access": {
"userId": "<string>",
"invitationStatus": "NONE",
"roles": [
"CLIENT"
],
"membershipStatus": "ACTIVE",
"accessEndedAt": "<string>"
},
"phone": "<string>",
"addressoneline": "<string>",
"longitude": 123,
"latitude": 123,
"city": "<string>",
"state": "<string>",
"country": "<string>",
"postalcode": "<string>",
"bio": "<string>",
"maxTravelTime": 123,
"externalId": "<string>",
"externalData": {},
"timezone": "America/Toronto",
"defaultLocale": "<string>"
}
}{
"code": "NOT_FOUND",
"message": "Booking not found",
"statusCode": 404,
"requestId": "a3f1c2de-9b64-4a2f-8f0e-5c9d1b7a2e10"
}{
"code": "NOT_FOUND",
"message": "Booking not found",
"statusCode": 404,
"requestId": "a3f1c2de-9b64-4a2f-8f0e-5c9d1b7a2e10"
}{
"code": "NOT_FOUND",
"message": "Booking not found",
"statusCode": 404,
"requestId": "a3f1c2de-9b64-4a2f-8f0e-5c9d1b7a2e10"
}One supplier in full: profile, services, skills, locations, rating and working hours
Everything about one supplier in a single call — the same shape GET /suppliers returns for a row, plus two blocks the list deliberately omits because they cost a read each: rating and availability. Use it for a supplier profile page; use the list for a directory.
It also carries an access block saying whether the supplier record is linked to a person and what that person may do on the project: userId, invitationStatus, roles, membershipStatus and accessEndedAt. The list does not carry it.
The response carries the full booking identity, not just display content: supplierId to book against, active for whether they take bookings at all, services[] with ids AND localized labels, timezone for rendering their hours, country/state/postalcode (the inputs regional price rules resolve against), and every locations[].locationId — including travel zones, which is the id you send as locationId when you book a mobile service.
availability is the recurring pattern of WHEN AND WHERE THIS SUPPLIER WORKS. It is not a list of bookable times: it ignores existing bookings, time off, and how long an offering takes, so never present a slot built from it as available. For times you can actually book, call POST /availability/suppliers with a service, an offering and a location. Only ACTIVE schedules appear, so availability.schedules: [] means this supplier cannot currently be booked at all — which can be true even when active is true, because the two are set independently.
Unlike the list, this endpoint DOES return an inactive supplier, with active: false, so a profile page for a paused supplier still renders. A 404 means the id is unknown in this project, belongs to another project, or has been deleted — those three are not distinguished.
curl --request GET \
--url https://apiv2.gomarketbox.com/v1/projects/{projectId}/suppliers/{supplierId} \
--header 'x-api-key: <api-key>'import requests
url = "https://apiv2.gomarketbox.com/v1/projects/{projectId}/suppliers/{supplierId}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://apiv2.gomarketbox.com/v1/projects/{projectId}/suppliers/{supplierId}', 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://apiv2.gomarketbox.com/v1/projects/{projectId}/suppliers/{supplierId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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://apiv2.gomarketbox.com/v1/projects/{projectId}/suppliers/{supplierId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://apiv2.gomarketbox.com/v1/projects/{projectId}/suppliers/{supplierId}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://apiv2.gomarketbox.com/v1/projects/{projectId}/suppliers/{supplierId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"supplierId": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"active": true,
"updatedAt": "<string>",
"avatarUrl": "<string>",
"services": [
{
"serviceId": "<string>",
"name": {}
}
],
"skills": [
{
"skillId": "<string>",
"name": {}
}
],
"locations": [
{
"locationId": "<string>",
"locationType": "PHYSICAL",
"name": "<string>",
"country": "<string>",
"state": "<string>",
"city": "<string>",
"addressOneLine": "<string>",
"street": "<string>",
"latitude": 123,
"longitude": 123,
"travelZoneType": "CIRCULAR"
}
],
"servedRegions": [
"ca/",
"ca/on/",
"ca/on/scarborough/",
"ca/on/toronto/"
],
"languages": [
"<string>"
],
"locales": [
"<string>"
],
"rating": {
"averageRating": 4.7,
"reviewCount": 128,
"recent": [
{
"reviewId": "<string>",
"supplierId": "<string>",
"projectId": "<string>",
"ratingStars": 123,
"direction": "CLIENT_TO_SUPPLIER",
"subjectType": "SUPPLIER",
"subjectId": "<string>",
"createdAt": "<string>",
"clientId": "<string>",
"reviewText": "<string>",
"reviewerId": "<string>",
"bookingId": "<string>",
"supplierName": "<string>",
"clientName": "<string>"
}
]
},
"availability": {
"timezone": "America/Toronto",
"timezoneSource": "SUPPLIER",
"schedules": [
{
"scheduleId": "sch_01kv60qgnef2kt3pvqgwmkbzfr",
"timezone": "America/Toronto",
"startDate": "2026-01-01",
"endDate": "2026-12-31",
"rrule": "FREQ=WEEKLY;INTERVAL=1",
"exdates": [
"2026-07-01"
],
"weeklyHours": [
{
"dayOfWeek": "MO",
"startTime": "09:00",
"endTime": "17:00",
"crossesMidnight": false
}
],
"appliesToAllOfferings": true,
"offeringIds": [],
"locationIds": [
"loc_01kv60qg12e82acr78edfnjhvv"
],
"travelZone": {
"locationId": "stz_01kv60qgnef2kt3pvqgwmkbzfr",
"source": "SUPPLIER_TRAVEL_ZONE"
},
"summary": {
"days": "Mon, Wed, Fri",
"times": "9:00 AM – 5:00 PM",
"dateRange": "Jan 1 – Dec 31, 2026",
"coverageArea": "Toronto travel zone",
"offerings": "All offerings"
}
}
]
},
"access": {
"userId": "<string>",
"invitationStatus": "NONE",
"roles": [
"CLIENT"
],
"membershipStatus": "ACTIVE",
"accessEndedAt": "<string>"
},
"phone": "<string>",
"addressoneline": "<string>",
"longitude": 123,
"latitude": 123,
"city": "<string>",
"state": "<string>",
"country": "<string>",
"postalcode": "<string>",
"bio": "<string>",
"maxTravelTime": 123,
"externalId": "<string>",
"externalData": {},
"timezone": "America/Toronto",
"defaultLocale": "<string>"
}
}{
"code": "NOT_FOUND",
"message": "Booking not found",
"statusCode": 404,
"requestId": "a3f1c2de-9b64-4a2f-8f0e-5c9d1b7a2e10"
}{
"code": "NOT_FOUND",
"message": "Booking not found",
"statusCode": 404,
"requestId": "a3f1c2de-9b64-4a2f-8f0e-5c9d1b7a2e10"
}{
"code": "NOT_FOUND",
"message": "Booking not found",
"statusCode": 404,
"requestId": "a3f1c2de-9b64-4a2f-8f0e-5c9d1b7a2e10"
}Authorizations
API key minted in the MarketBox dashboard. Scope is restricted to the projects you select at creation time. Every route needs the key's standard API access (*) except POST /v1/projects/{projectId}/events, which needs events:write; a key without * is refused with 403 CAPABILITY_NOT_GRANTED.