Website GraphQL API
The website GraphQL API gives a website built for a Gorilla Dash organisation read access to its pages, tribes, products, articles, menus and media, and lets it submit enquiries, bookings and orders back into Gorilla Dash.
| Endpoint | https://graphql.gorilladash.com/graphql |
| Methods | POST for everything; GET for queries only |
| Authentication | OAuth 2 client credentials. Send Authorization: Bearer <access token> with every request. |
| Token URL | https://graphql.gorilladash.com/oauth/token |
| Token lifetime | 15 days |
| Schema file | https://gorilladash.com/graphql/schema.graphql (GraphQL SDL, for code generators and editor plugins) |
| REST API | Organisation-level integrations such as people, enquiries and tribes are documented separately at https://docs.gorilladash.com. |
This API exists to power websites. Every credential belongs to one website that has been set up in Gorilla Dash, and everything the API returns is scoped to the organisation that owns that website. If you need to read or write organisation data from another system, such as a CRM or an accounting package, use the REST API instead.
What is a tribe?
A tribe is one location, branch or business unit inside an organisation. A franchise network with forty stores has forty tribes. The API, like the rest of Gorilla Dash, uses the word everywhere, so arguments such as tribe_slug select a location.
Your website credentials
Each website in Gorilla Dash is given its own API credentials when it is created. You need to be able to manage websites in the organisation to see them.
- Sign in to Gorilla Dash and open the organisation that owns the website.
- Select Websites, then choose the website you are building.
- Select Settings and scroll to the Website API section.
The section shows three values. Their labels do not match OAuth terminology, so it is worth being clear about which is which:
| Label on screen | What it is | Used for |
| API Website ID | The OAuth client ID | client_id when requesting an access token |
| API Access Token | The OAuth client secret | client_secret when requesting an access token |
| Public Key | A key that Gorilla Dash sends to your website | Verifying cache-clear notifications (see Keeping content up to date). It is not used to call the API. |
Keep the client secret on your server
The API Access Token field is a long-lived secret. Store it in your server's environment, never in JavaScript that reaches the browser or in a public repository. If it leaks, regenerate it from the same screen and update your website's configuration. Regenerating it also revokes every access token issued with the old secret, so they stop working within a minute.
Getting an access token
The API does not accept the client secret directly. Your website exchanges its client ID and secret for an access token using the OAuth 2 client credentials grant, then sends that token with every GraphQL request.
curl -X POST https://graphql.gorilladash.com/oauth/token \
-A "acme-website/1.0" \
-H "Content-Type: application/json" \
-d '{
"grant_type": "client_credentials",
"client_id": "YOUR_API_WEBSITE_ID",
"client_secret": "YOUR_API_ACCESS_TOKEN"
}'
A successful response looks like this:
{
"token_type": "Bearer",
"expires_in": 1296000,
"access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9..."
}
The token lasts 15 days (expires_in is in seconds). Request one when your website starts or when the cached one is close to expiry, and reuse it for every request in between. Requesting a new token for each page view is slow and unnecessary.
If a GraphQL request is rejected with HTTP 404 (see Errors), treat the token as no longer valid: request a new one and retry the request once.
Why the example sets a User-Agent
Requests to graphql.gorilladash.com pass through a firewall that turns away some automated traffic with HTTP 403 before it reaches the API, and requests that do not identify themselves are the most likely to be refused. Send a User-Agent that names your website, both when testing and from your server code.
Sending your first query
With a token in hand, send a GraphQL document to the endpoint as JSON. This query asks for the website's name and address and the base paths it uses for product and tribe pages:
curl -X POST https://graphql.gorilladash.com/graphql \
-A "acme-website/1.0" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"query": "query WebsiteInfo { websiteInfo { name url base_products_path base_tribes_path } }"}'
The response carries the result under data, in the same shape as the query:
{
"data": {
"websiteInfo": {
"name": "Acme Signs",
"url": "https://www.acmesigns.com",
"base_products_path": "/products",
"base_tribes_path": "/stores"
}
}
}
The same request from JavaScript running on your server:
const response = await fetch('https://graphql.gorilladash.com/graphql', {
method: 'POST',
headers: {
'Authorization': `Bearer ${accessToken}`,
'Content-Type': 'application/json',
'User-Agent': 'acme-website/1.0',
},
body: JSON.stringify({
query: `query WebsitePage($slug: String, $locale: String) {
websitePage(slug: $slug, locale: $locale) {
name
meta_title
meta_description
contents { name type value }
}
}`,
variables: { slug: 'about-us', locale: 'fr-FR' },
}),
});
const { data, errors } = await response.json();
How requests work
POST and GET
Send a JSON body of the form {"query": "…", "variables": {…}, "operationName": "…"} with POST. Queries may also be sent with GET, passing query, variables (as JSON) and operationName as URL parameters. Mutations are only accepted over POST.
Fields can be nested at most 15 levels deep. A deeper query is rejected with an error and does not run.
Whether you use GET or POST changes how the response is cached. Read Persisted queries and caching before choosing.
Use variables
Pass values such as slugs, search terms and form input as variables rather than writing them into the query text. The query text then stays identical from one request to the next, which is what makes persisted queries and caching work, and your input never has to be escaped into GraphQL syntax.
Name every operation
Write query TribePage { … } rather than an anonymous { … }. The operation name is recorded with each request, so when you ask Gorilla Dash support about a slow or failing call, they can find it.
Batching
You can send several operations in one POST by making the body a JSON array of operation objects. The response is an array of results in the same order. This is useful for loading everything a page needs in one round trip, for example the page, the menus and the lastUpdatedAt timestamp.
[
{ "query": "query Page($slug: String, $locale: String) { websitePage(slug: $slug, locale: $locale) { name meta_title } }",
"variables": { "slug": "contact", "locale": "fr-FR" } },
{ "query": "query Redirects { websiteRedirects { from to } }" }
]
Pass the locale to every operation in a batch
The language used for translated fields is set per request, not per operation. In a batch, give every operation the same $locale variable, otherwise an operation that omits it can return text in a different language from the one before it.
Persisted queries and caching
A content delivery network in front of the API can serve a GET response from its cache, but only when the request is an automatic persisted query (described below) and every top-level field it selects gives the same answer to every visitor of the website, as pages, menus, tribes, products and articles do. Those responses, when they contain no errors, are sent with Cache-Control: public, max-age=330 and an ETag, and repeat requests for the same URL are served from the cache for up to five and a half minutes.
Every other GET response is sent with Cache-Control: private, no-store and is not cached. That includes every plain ?query= request, and any query that selects a field belonging to one visitor, such as logins, loginExists, getUserByToken, foodShoppingCart, foodOrderingPortal or foodCouponAvailable. POST requests, and any response that contains errors, are never cached.
This gives you two sensible ways to send requests:
- Automatic persisted queries over GET for content that is the same for every visitor to the site: pages, menus, tribes, products, articles. The URL stays short and responses are cached at the edge.
- POST for anything that belongs to one visitor, such as a shopping cart or a signed-in customer's details, and for every mutation.
Do not send visitor-specific queries with GET
Gorilla Dash does not let the network cache store these responses, so sending them with GET gains nothing. It does put the cart session, sign-in token or personal data into the URL, where server and proxy logs record it. Send these queries with POST, and use persisted queries rather than plain ?query= GET requests for everything else.
How persisted queries work
Instead of sending the full query text, your client sends a SHA-256 hash of it. The first time the server sees a hash it replies with a PersistedQueryNotFound error; the client then sends the hash together with the full query, the server remembers the pair for five minutes, and later requests from the same website can send the hash alone. A hash registered by one website is not recognised for another. Apollo Client's persisted-query link does all of this for you.
Gorilla Dash computes the hash slightly differently from the Apollo standard. The organisation ID and website ID are appended to the printed query before hashing:
sha256( printedQuery + "{organisationId}_{websiteId}" )
A client that uses the standard hash will receive PersistedQueryInvalidHash errors. Both IDs appear in the address bar when you open the website's settings in Gorilla Dash, which reads …/organisations/organisation ID/applications/websites/website ID/settings. Note that the website ID here is not the API Website ID credential.
import { PersistedQueryLink } from '@apollo/client/link/persisted-queries'
import { print } from '@apollo/client/utilities'
import { sha256 } from 'crypto-hash'
const organisationId = 123 // from the settings page address
const websiteId = 456 // from the settings page address
const persistedQueriesLink = new PersistedQueryLink({
generateHash: (query) => sha256(print(query) + `${organisationId}_${websiteId}`),
useGETForHashedQueries: true,
})
Tribes (locations)
An access token belongs to a website, and through it to one organisation; it does not carry a current tribe. When a page is about a particular location, pass that tribe's slug to the query, usually as tribe_slug (the tribe query itself takes slug).
Many queries fall back to the organisation-level record when a tribe does not have its own. For example, websitePage with a tribe_slug returns the tribe's version of the page when one exists and the organisation's version when it does not. Whether a query returns null or an error when nothing matches differs from query to query, and each entry in the reference says which.
To build a store locator, use searchStores, which returns up to ten active tribes near a point, starting with any tribe whose service territory covers it, or tribes to list every tribe. Tribe pages on Gorilla Dash websites conventionally live at /stores/{tribe_slug}; websiteInfo.base_tribes_path tells you the path this website uses.
Some tribe text fields, such as heading, introduction, meta_title and meta_description, may contain placeholders for details such as the tribe's name, suburb, phone number or email address. The API replaces these before returning the text, so display the value as you receive it.
Languages
Content that has been translated in Gorilla Dash is returned in the language you ask for. Locales are written as a language and region, such as en-US, fr-CA or de-DE, and must match the locale the translation was saved under; a bare fr matches nothing. Always declare a variable named exactly $locale in your operation and pass it to any locale argument the query accepts:
query ProductPage($slug: String, $locale: String) {
product(slug: $slug, locale: $locale) {
name
description
}
}
Nested fields read the same variable, which is why its name matters: a query such as articles has no locale argument, but its translated fields are still returned in the requested language when the operation declares $locale. When no translation exists for a field, or the translated value is blank, the original text is returned instead.
Images are returned as absolute URLs on cdn.gorilladash.com, ready to use in an <img> tag. Most records expose them through a media_collection field, which returns named collections (for example a banner collection and a gallery) each holding a list of Media items.
Every Media item offers the image in several sizes:
| Field | Size |
default | The original upload |
thumbnail | 300 pixels wide |
square | 600 × 600 |
portrait | 600 × 800 |
rectangle | 1200 × 800 |
banner | 1500 × 750 |
original_cropped | The original, cropped as the user chose in Gorilla Dash |
An organisation can change the square, portrait, rectangle and banner dimensions in its media library settings, so treat the sizes above as the defaults. When a size has not been generated for an image, its field is an empty string, so fall back to default in your templates.
Despite its name, the size argument of media_collection chooses which collections are returned, by collection name (for example main, gallery or banner). It does not limit the image sizes: every image in the result carries the URL of each size, and you choose which ones to display by selecting fields.
Most list queries return every matching record. The queries whose names end in Pagination, together with ourWorks, organisationOurWorks and the webinar event queries, take page and itemsPerPage arguments and return a pagination object. itemsPerPage is limited to 100, as are most other arguments that set how many records to return; a larger value returns 100 records rather than an error. On forms, an itemsPerPage above 100 is refused with a validation error instead. The exceptions are reviews without count and ranges without result_count: with your website's access token they return every record, and with a browser token they return at most 100:
query Articles($page: Int, $locale: String) {
articlesPagination(page: $page, itemsPerPage: 12) {
data { heading slug }
total
current_page
last_page
has_more_pages
}
}
Pages are numbered from 1. from and to give the positions of the first and last items on the page and are null when the page is empty.
Keeping content up to date
A website usually caches what it reads from the API. Gorilla Dash gives you two ways to know when that cache is out of date.
Polling the change timestamps
Two timestamps move when content changes, and they cover different kinds of content, so check both. They are cheap to fetch together:
query Freshness {
lastUpdatedAt
websiteInfo { last_updated_at }
}
lastUpdatedAt changes when articles, article categories, component content, our-work entries, products, product categories, product ranges or reviews are edited.
websiteInfo.last_updated_at changes when the website's pages, page content, sections, menus or settings are edited.
When either value differs from the one you stored, clear your cached content. The last_updated_at fields on individual records such as pages, tribes and products are not change timestamps, and should not be used for this.
Cache-clear notifications
Gorilla Dash can also call your website when something changes. In the website's Settings, the Website Cache section holds a Cache Clear URL, which defaults to {website URL}/gorilla-dash/clear-cache?key={public key}, and a Clear Website cache Automatically option. Gorilla Dash sends a GET request to that URL when the website's settings change (with the option turned on), when any tribe in the organisation changes, and when an image the website uses changes. Several changes in quick succession produce one request.
Your endpoint should check that key matches the website's Public Key, clear its cache and respond quickly. Gorilla Dash waits at most ten seconds, does not follow redirects and does not retry a failed call, so the URL must answer directly. Edits to pages, products and articles do not trigger this call, so combine it with polling the timestamps above or with a short cache lifetime.
Forms, carts and sign-in
The mutations let a website send information back to Gorilla Dash: enquiry and custom page forms, appointment bookings, promotion entries, food orders, customer sign-in and the website chatbot. Each entry in the mutation reference describes what it creates and what it returns.
- Always send mutations with
POST. They are rejected over GET.
- Some mutations hand their work to a background process. For those, a successful response means Gorilla Dash accepted the submission, not that every follow-up step (such as notification emails) has finished. The reference says which.
- Customer sign-in state is carried by a separate login token that the sign-in queries and mutations return and accept as an argument. It is not the same as the API access token.
- Collect telephone numbers with a country selector and send them in international format, for example
+61412345678, so the number reaches the right person.
If you call the API from the browser
Anything in the visitor's browser can be copied, so never give it your website's access token or client secret. Instead, have your server exchange the access token for a read-only browser token at https://graphql.gorilladash.com/oauth/website-browser-token and give the page that. A browser token lasts one hour and can only run queries for published content; enquiries, forms and orders are sent from your server. The JavaScript SDK reference shows both steps.
Submitting an enquiry
The submitEnquiry mutation records a submission of one of the organisation's enquiry forms in the same way as a form built in Gorilla Dash. It saves the answers and any files, finds or creates the person, links the enquiry to the tribes you name, records the enquirer's SMS consent and sends the form's notifications. Building a form on your own website takes three steps.
1. Load the form's fields
Every answer you send must use the name of a field defined on the form, so start by reading the form. The enquiryForm query looks a form up by its name:
query ContactForm {
enquiryForm(name: "Contact Us") {
name
fields { name type value }
}
}
Answers whose name does not match a field on the form are discarded without an error, so compare your form against this list whenever the form is edited in Gorilla Dash. The mutation itself identifies the form by its slug, which Gorilla Dash shows as Slug at the top of the form when you edit it (a form named "Contact Us" has the slug contact-us).
2. Ask for SMS consent the way the form requires
An organisation sets SMS consent wording once for all its forms, and each tribe either uses it or sets its own. Read the wording that applies with the form's sms_consent field, passing the tribe the enquiry is for. Without tribe_slug you get the organisation's wording, which is what applies when the enquiry names no tribe:
query ContactFormConsent($tribe: String) {
enquiryForm(name: "Contact Us") {
sms_consent(tribe_slug: $tribe) {
enabled
mode
message
checkbox_label
radio_yes_label
radio_no_label
}
}
}
The tribe's own sms_legal_message_enabled, sms_legal_message_mode, sms_legal_message, sms_checkbox_label, sms_radio_yes_label and sms_radio_no_label fields on the tribe query return the same wording, so a website that already reads them needs no change.
When enabled is false, the other fields are null: show nothing and leave sms_approved out of the mutation. When it is true, show message beside the phone number field, and collect the answer according to mode:
| Mode | What to show | What to send as sms_approved |
opt_in | A checkbox labelled checkbox_label, unticked by default. | true if the enquirer ticked it, otherwise false. |
opt_out | A checkbox labelled checkbox_label, ticked by default. | true unless the enquirer unticked it, in which case false. |
user_choice | Two radio buttons labelled radio_yes_label and radio_no_label, with neither selected. Make the choice required. | true for the yes option, false for the no option. |
message_only | The legal message on its own, with no checkbox or buttons. | Leave it out. |
The legal message is HTML from a text editor. It can contain paragraphs (<p>), line breaks, bold, italic and underlined text, and links (<a>), for example to a privacy policy; Gorilla Dash removes every other tag before it sends the message. Render it as HTML rather than showing the tags as text.
Consent belongs to a mobile number and a tribe
The answer is saved as an SMS consent for the enquirer's mobile number, once for each tribe in tribes whose consent wording is turned on, or once against the organisation's wording when tribes is empty. Send mobile in international format, collected with a country selector, and name the tribe in tribes; without them the consent cannot be tied to anyone. submitCustomPageEnquiry accepts sms_approved in the same way. Leave it out when nothing was asked: an enquiry without an answer records no consent, so it never replaces an earlier one.
3. Send the mutation
Send the mutation with POST, passing the enquirer's details and answers as variables:
mutation SubmitEnquiry(
$slug: String, $tribes: [String], $locale: String,
$first_name: String!, $last_name: String, $email: String!, $mobile: String,
$business_name: String, $fields: [JsonParser]!, $sms_approved: Boolean,
$submit_url: String, $tracking_data: [JsonParser], $gorilla_user_key: String
) {
submitEnquiry(
slug: $slug, tribes: $tribes, locale: $locale,
first_name: $first_name, last_name: $last_name, email: $email, mobile: $mobile,
business_name: $business_name, fields: $fields, sms_approved: $sms_approved,
submit_url: $submit_url, tracking_data: $tracking_data, gorilla_user_key: $gorilla_user_key
)
}
{
"slug": "contact-us",
"tribes": ["sydney-cbd"],
"locale": "en-AU",
"first_name": "Sam",
"last_name": "Taylor",
"email": "sam.taylor@example.com",
"mobile": "+61412345678",
"business_name": "Taylor Plumbing",
"fields": [
{ "name": "Message", "value": "Please call me about a new shopfront sign." },
{ "name": "Preferred contact time", "value": "Morning" }
],
"sms_approved": true,
"submit_url": "https://www.acmesigns.com/stores/sydney-cbd/contact",
"tracking_data": [
{ "parameter": "utm_source", "value": "google", "path": "/contact", "session_at": "2026-09-15T10:00:00Z" }
]
}
The mutation returns a list of three strings: the form's thank-you page title, heading and text, in the requested language where a translation exists and with tribe placeholders filled in. Show them in place of the form. Sending exactly the same submission again returns the thank-you text without creating a second enquiry.
Every field submitEnquiry accepts
All 36 arguments are listed below, grouped by purpose. Only first_name, email and fields are required by the schema, and slug (or name) is needed to find the form.
Which form and tribe
| Argument |
Type |
Description |
slug |
String
|
Slug of the enquiry form to submit to; either slug or name is required, and the request fails if the organisation has no form with that slug.
|
name |
String
|
The enquiry form slug, used only when slug is not sent.
|
id |
Int
|
The ID of the enquiry form whose thank-you text is returned; the enquiry itself is always recorded on the form named by slug or name, so send one of those as well.
|
tribes |
[String]
|
Slugs of the tribes the enquiry is for; the enquiry and person are linked to every listed tribe in the organisation, and when the first slug belongs to a connected organisation instead, the enquiry is submitted to that organisation's form with the same slug.
|
locale |
String
|
The locale code of the page, such as en-US, used to choose the translation of the thank-you text and stored with the enquiry; when omitted or untranslated, the form's own wording is returned.
|
The enquirer
| Argument |
Type |
Description |
first_name |
String!
required
|
The enquirer's first name.
|
last_name |
String
|
The enquirer's last name.
|
email |
String!
required
|
The enquirer's email address; together with the name and business name it identifies the person record the enquiry is linked to.
|
mobile |
String
|
The enquirer's phone number, ideally in E.164 format such as +61412345678; a number without a country code is read as a number in the organisation's country, and when this is empty a form answer named Mobile, Phone or similar is used instead.
|
business_name |
String
|
The enquirer's business name; when empty, a form answer named Business Name is used instead.
|
address_1 |
String
|
The first line of the enquirer's street address, stored with the enquiry; when sent, the address fields are also saved to the person record.
|
address_2 |
String
|
The second line of the enquirer's street address.
|
locality |
String
|
The enquirer's suburb, town or city.
|
state |
String
|
The enquirer's state, province or region.
|
postal_code |
String
|
The enquirer's postal code.
|
country |
String
|
The enquirer's country.
|
Consent, notifications and spam
| Argument |
Type |
Description |
sms_approved |
Boolean
|
The enquirer's answer to the SMS consent question: true when they agreed to receive SMS messages, false when they did not. For each listed tribe whose SMS consent wording is turned on (its own, or its organisation's when it has none), the answer is recorded as an SMS consent for the enquirer's mobile number; when no tribe is listed, the organisation's wording decides. How to ask the question is given by mode on the form's sms_consent (or the tribe's sms_legal_message_mode); omit this argument when the mode is message_only.
|
notifications |
Boolean
|
Set to false to record the enquiry without sending its notification emails or SMS; defaults to true.
|
possible_spam |
Boolean
|
Set to true when your website suspects the submission is spam; the enquiry is still saved but flagged, and no notification emails are sent for it. Defaults to false.
|
Answers and attachments
| Argument |
Type |
Description |
fields |
[JsonParser]!
required
|
The form answers as a list of JSON objects such as {"name": "Message", "value": "Please call me"}; only entries whose name matches a field defined on the enquiry form, ignoring case, are saved.
|
files |
[JsonParser]
|
Files to attach, as a list of JSON objects such as {"filename": "photo.jpg", "file": "https://example.com/photo.jpg"}, where file is an http or https URL to download or the file content encoded as base64, either plain or as a data: URI such as data:image/jpeg;base64,....
|
products |
[JsonParser]
|
Products the enquiry is about, as a list of JSON objects such as {"id": 123, "meta": {"quantity": 2}}, where id is a Gorilla Dash product ID and meta is optional extra data; unknown IDs are skipped.
|
online_store_products |
[JsonParser]
|
Online store products the enquiry is about, as a list of JSON objects such as {"id": 123, "meta": {"quantity": 2}}; unknown IDs are skipped.
|
meta |
[JsonParser]
|
Any extra data to store with the enquiry, as a list of JSON values.
|
Where the enquiry came from
| Argument |
Type |
Description |
submit_url |
String
|
The URL of the page the form was submitted from, stored with the enquiry.
|
source |
String
|
A label for where the enquiry came from, stored with the enquiry as sent.
|
ip |
String
|
The visitor's IP address, stored with the enquiry and used to recognise a repeated submission.
|
browser_agent |
String
|
The visitor's browser user-agent string, stored with the enquiry.
|
browser |
String
|
The name of the visitor's browser, stored with the enquiry.
|
device |
String
|
The type of device the visitor used, stored with the enquiry.
|
operating_system |
String
|
The visitor's operating system, stored with the enquiry.
|
tracking_data |
[JsonParser]
|
The visitor's URL parameter and referrer history for lead-source attribution, as a list of JSON objects such as {"parameter": "utm_source", "value": "google", "path": "/contact", "session_at": "2026-09-15T10:00:00Z"}; a missing or implausible session_at is replaced with the time of submission.
|
gorilla_user_key |
String
|
The visitor key set by the Gorilla Dash website tracking script, stored with the enquiry to connect it to the visitor's browsing history.
|
client_site_visitor_id |
String
|
The visitor's ID in your website's own visitor tracking, which Gorilla Dash can use later to fetch that visitor's history for lead-source attribution.
|
Importing past enquiries
| Argument |
Type |
Description |
created_at |
String
|
Overrides the date and time the enquiry is recorded as created, for example 2026-09-15 10:30:00, when importing past enquiries; defaults to the time of submission.
|
media_in_job |
Boolean
|
Set to true to download files given as URLs in the background after the enquiry is saved, instead of during the request; defaults to false.
|
Errors
The HTTP status tells you whether the request reached the API at all. Problems inside a valid request are reported in the body.
| Status | Meaning | What to do |
200 | The request was executed. Check the body for an errors array as well as data. | Handle the listed errors; fields that failed are returned as null. |
404 | The access token is missing, malformed, expired or revoked (regenerating the website's API Access Token revokes every token issued with the old one), or the organisation's websites have been disabled. The API answers 404 rather than 401 in all of these cases. | Request a new access token and retry once. If it fails again, check the credentials. |
403 | The request was blocked by the firewall before reaching the API, usually because of the User-Agent. | Send a User-Agent that names your website. |
GraphQL errors follow the standard format. Each has a message, and usually locations and path pointing at the part of the query that failed:
{
"errors": [
{
"message": "Cannot query field \"nmae\" on type \"website\".",
"locations": [{ "line": 1, "column": 15 }]
}
]
}
- An unexpected failure on the server is reported as
Internal server error, without further detail. Gorilla Dash records these automatically.
- Persisted-query errors carry
extensions.code: PERSISTED_QUERY_NOT_FOUND means send the full query with the hash; an invalid-hash error means the hash was not calculated as described in Persisted queries.
- A browser token (see the JavaScript SDK reference) is refused with
extensions.code WEBSITE_TOKEN_READ_ONLY when it asks for a mutation, for a visitor's sign-in, cart, order portal or coupon, or for productSuppliers, and when the request holds no query it can run. Send those from your website's server with the website's access token instead. WEBSITE_TOKEN_UNVERIFIED means the token could not be checked; contact Gorilla Dash support if you see it.
- Whichever token you use, the API only returns content a public website may show: published articles and our-work entries, active components, promotions, food menus and menu entries, approved media, team members who are active and set to show on the website, and public reviews plus any review your team has featured. Arguments that used to ask for other statuses are still accepted, so existing queries keep working, but they are ignored.
- A GraphQL result can contain both data and errors. A field that fails is set to
null; when that field is declared non-null (shown with ! in the reference), its parent becomes null instead.
Client libraries
Laravel websites
The Gorilla Dash website SDK for Laravel requests and caches access tokens, serves API responses from a stale-while-revalidate cache so pages render without waiting on the API, and registers the cache-clear endpoint for you.
composer require gorilladash/laravel-website-sdk
GD_WEBSITE_BASE_URI=https://graphql.gorilladash.com
GD_WEBSITE_CLIENT_ID=your-api-website-id
GD_WEBSITE_CLIENT_SECRET=your-api-access-token
GD_WEBSITE_PUBLIC_KEY=your-public-key
Set GD_WEBSITE_BASE_URI to https://graphql.gorilladash.com as shown, even if an older copy of the package's readme suggests a different address.
JavaScript websites
Any GraphQL client works. With Apollo Client, combine an authentication link that adds the Authorization header, the persisted-query link shown in Persisted queries and caching, and an error link that fetches a new token and retries once when a request fails with HTTP 404. If your site renders pages on the server, set a User-Agent that names the site on server-side requests, and contact Gorilla Dash support before launch so high-volume server traffic is recognised.
Exploring the schema
Introspection is enabled, so tools such as Altair, Insomnia, Postman and GraphQL editor plugins can browse the schema once you give them the endpoint and an Authorization header. For code generation without a token, download the schema file.
Reference
The reference below is generated from the live schema, so it always matches what the API accepts. Types ending in ! are non-null, and square brackets mean a list.
Queries
appointmentAvailableTime query
Returns the appointment time slots a tribe offers on one date for one appointment type. Slots are built from the opening hours of the tribe for that weekday, in steps of the appointment type interval, and a slot is marked as not enabled when an existing appointment overlaps it. Returns an error when the tribe or the appointment type is not found in the organisation of the authenticated website.
Returns AppointmentAvailableTime
| Argument |
Type |
Description |
slug |
String
|
The slug of the tribe to list appointment times for. Required in practice: the query returns an error when it does not match a tribe.
|
type |
String
|
The name of the appointment type, which sets the length of each slot. Required in practice: the query returns an error when it does not match an appointment type.
|
date |
String
|
The date to list slots for, for example 2026-09-15. Only the calendar date is read, in the timezone of the tribe. When omitted or empty, today in the timezone of the tribe is used. A value that is not a valid date returns a validation error.
|
article query
Returns one published article from the organisation of the authenticated website. With tribe_slug the article must be assigned to that tribe; without it, only organisation-level articles that are not assigned to any tribe are considered. When several articles match, the most recently created one is returned, and null is returned when none match.
Returns Article
| Argument |
Type |
Description |
slug |
String
|
The slug of the article to return. When omitted, the most recent article that matches the other arguments is returned.
|
status |
String
|
Ignored. Only published articles are returned.
|
tribe_slug |
String
|
The slug of the tribe the article is assigned to. When omitted, only articles that are not assigned to any tribe are considered.
|
included_related_articles |
Boolean
|
Currently has no effect.
|
articleBusinessCloud query
Returns the distinct business names tagged on the published articles of the organisation of the authenticated website, sorted alphabetically. Only organisation-level articles that are not assigned to a tribe are counted, and names longer than four words are left out. Pass the slug form of a name to articlesPagination as businessSlug to list the matching articles.
Returns [String!]!
Takes no arguments.
articleCategories query
Returns the article categories of the organisation of the authenticated website, sorted by name. Returns an empty list when no category matches.
Returns [ArticleCategory]
| Argument |
Type |
Description |
slug |
String
|
Returns only the category with this slug. When omitted, all categories are returned.
|
article_status |
String
|
Ignored. Each category's article count includes published articles only.
|
articles query
Returns every published article of the organisation of the authenticated website that matches the filters, newest first, without pagination. By default the list includes both organisation-level articles and articles assigned to tribes; set only_organisation to leave out tribe articles. Returns an empty list when nothing matches.
Returns [Article!]!
| Argument |
Type |
Description |
search |
String
|
Returns only articles whose heading, sub heading, author, slug, abstract, body or tagged business name contains this text, ignoring case. When omitted, no text search is applied.
|
slug |
String
|
Returns only articles with this slug. When omitted, articles are not filtered by slug.
|
status |
String
|
Ignored. Only published articles are returned.
|
categories |
[String]
|
Returns only articles in at least one of these categories, matched by category name (not slug). When omitted, articles are not filtered by category.
|
only_organisation |
Boolean
|
When true, articles assigned to a tribe are left out and only organisation-level articles are returned. Defaults to false.
|
articlesPagination query
Returns a paginated list of the published organisation-level articles of the organisation of the authenticated website, newest first. Articles assigned to a tribe are never included; use tribeArticlesPagination for those. Returns an empty page when nothing matches.
Returns ArticlePagination
| Argument |
Type |
Description |
search |
String
|
Returns only articles whose heading, sub heading, author, slug, abstract, body or tagged business name contains this text, ignoring case. When omitted, no text search is applied.
|
slug |
String
|
Returns only the article with this slug. When omitted, articles are not filtered by slug.
|
businessSlug |
String
|
Returns only articles about the business whose name, converted to a slug, equals this value; the available names come from articleBusinessCloud. Returns an empty page when the value matches no business name.
|
status |
String
|
Ignored. Only published articles are returned.
|
categories |
[String]
|
Returns only articles in at least one of these categories, matched by category name or slug. Include the value all to turn the category filter off. When omitted, articles are not filtered by category.
|
page |
Int
|
The page number to return. Defaults to 1.
|
itemsPerPage |
Int
|
The number of articles per page, at most 100. Defaults to 15.
|
categories query
Returns the product categories of the organisation that owns the authenticated website, as a single unpaginated list. Only categories with the status Active are included, and an empty list is returned when nothing matches.
Returns [ProductCategory]
| Argument |
Type |
Description |
slug |
String
|
Returns only the category with this exact slug. When omitted, every active category is returned.
|
supplier_ids |
[Int]
|
Returns only top-level categories (categories without a parent) that belong to one of these supplier IDs, each with its full tree of child categories. When omitted, categories are not filtered by supplier.
|
images_tribe_slug |
String
|
Currently has no effect.
|
tribe_slug |
String
|
Slug of the tribe whose details fill tribe placeholders (such as the tribe name) in the text of the returned categories. It does not filter the list; when omitted, placeholders use their default values.
|
locale |
String
|
Language code (for example fr-FR) used to return translated text where a translation exists. When omitted, text is returned in its original language.
|
childWebsites query
Returns the default website of each child organisation of the organisation of the authenticated website, with the organisation id, website URL and tribe base path. Child organisations without a default website are left out, and an empty list is returned when there are none.
Returns [childWebsite!]
Takes no arguments.
EFTribeWebinarEvents query
Returns a paginated list of upcoming webinar events for one tribe, read from the tribe components of the named tribe component type in the organisation of the authenticated website. Only components assigned to the tribe in tribe_slug whose Date (mm/dd/yyyy) mm 01-12, dd 01-31 field is today or later are included, soonest first. Returns an error when the component type is not found.
Returns TribeComponentPagination
| Argument |
Type |
Description |
name |
String!
required
|
The exact name of the tribe component type that holds the events.
|
types |
[String]
|
Returns only events whose Type field is one of these values. When omitted, events of every type are returned.
|
page |
Int
|
The page number to return. Defaults to 1.
|
itemsPerPage |
Int
|
The number of events per page, at most 100. Defaults to 15.
|
tribe_slug |
String
|
The slug of the tribe whose events are returned. Required in practice: when it is omitted, no events are returned.
|
EFWebinarEvents query
Returns a paginated list of upcoming webinar events read from components, soonest first. Without tribe_slug the events come from the component type of the authenticated website named in name; with tribe_slug they come from a tribe component type belonging to that tribe, and name is not used. Only active components whose Date (mm/dd/yyyy) mm 01-12, dd 01-31 field is today or later are included, and an error is returned when no component type is found.
Returns ComponentPagination
| Argument |
Type |
Description |
name |
String!
required
|
The exact name of the website component type that holds the events. Only used when tribe_slug is omitted.
|
types |
[String]
|
Returns only events whose Type field is one of these values. When omitted, events of every type are returned.
|
status |
String!
required
|
Ignored. Only events whose component is active are returned.
|
page |
Int
|
The page number to return. Defaults to 1.
|
itemsPerPage |
Int
|
The number of events per page, at most 100. Defaults to 15.
|
tribe_slug |
String
|
The slug of a tribe. When given, events are read from a tribe component type belonging to that tribe instead of the website component type named in name. When omitted, the website component type is used.
|
enquiryForm query
Returns an enquiry form of the authenticated website's organisation, found by slug or by name. Returns a not_found error when no form matches.
Returns EnquiryForm
| Argument |
Type |
Description |
slug |
String
|
The form's slug: the key submitEnquiry files an enquiry into. It is set when the form is created and is kept when the form is renamed, so a website should prefer it to name. Takes precedence over name when both are given.
|
name |
String
|
The exact name of the enquiry form, as it is named in Gorilla Dash. Renaming the form in Gorilla Dash changes it.
|
foodCouponAvailable query
Checks whether a food coupon code can be used at a tribe for an order of the given amount, and returns the coupon with the discount and new total calculated. The tribe must have the status Active or Testing, and the coupon must be active, within its start and end dates in the tribe timezone, have a minimum spend no greater than amount, and be either available to every tribe or assigned to this one. Returns an error when the tribe or a usable coupon is not found.
Returns FoodCouponAvailable!
| Argument |
Type |
Description |
code |
String!
required
|
The coupon code entered by the customer, matched exactly.
|
amount |
Int!
required
|
The order subtotal in cents, used for the minimum spend check and to calculate the discount.
|
tribe_slug |
String!
required
|
The slug of the tribe the order is placed with.
|
email |
String!
required
|
The email address of the customer. Currently has no effect.
|
foodOrderingPortal query
Returns the food ordering portal with the given slug from the organisation of the authenticated website. Returns an error when no portal matches, or when the portal has an access code and access_code is omitted or does not match it.
Returns FoodOrderingPortal
| Argument |
Type |
Description |
slug |
String!
required
|
The slug of the food ordering portal to return.
|
access_code |
String
|
The access code the customer entered for the portal. A portal that has an access code is returned only when this matches it; a portal without one is returned whatever is sent.
|
foodOrderingPortalAvailableLocation query
Returns the active locations of the food ordering portal with the given slug in the organisation of the authenticated website, sorted by name. A location is only included when its tribe also has the status Active, and an empty list is returned when the portal is not found or has no active locations.
Returns [FoodOrderingPortalLocation!]!
| Argument |
Type |
Description |
slug |
String!
required
|
The slug of the food ordering portal whose locations are returned.
|
foodShoppingCart query
Returns the food shopping cart for a session in the organisation of the authenticated website, as long as it is still open or awaiting payment. Returns null when there is no such cart, which includes a cart that has already been submitted.
Returns FoodShoppingCart
| Argument |
Type |
Description |
session_id |
String!
required
|
The session id the cart was created with, the same value passed to addFoodMenuItemToShoppingCart.
|
tribe_slug |
String
|
The slug of the tribe the cart belongs to. When omitted, or when it matches no tribe in the organisation, only a cart that is not tied to any tribe is returned.
|
foodStoreSetting query
Returns the active store settings of a tribe in the organisation of the authenticated website, as used for food ordering. Settings that belong to a branded store or an online store are not considered. Returns an error when the tribe is not found, and null when the tribe has no active store settings.
Returns storeSetting
| Argument |
Type |
Description |
tribe_slug |
String!
required
|
The slug of the tribe whose store settings are returned.
|
foodTribeAvailableTime query
Returns the pickup or delivery time slots a tribe can offer for food orders on a date, in 15-minute steps in the tribe timezone, starting no earlier than the current time plus the minimum preparation time. When the store settings limit orders to opening hours, the slots follow the opening hours of the tribe for that day (or its custom hours for that date) and end 15 minutes before closing; otherwise they run until 23:45. Returns an error when the tribe is not found, and an empty times list when the tribe has no store settings.
Returns FoodTribeAvailableTime
| Argument |
Type |
Description |
slug |
String!
required
|
The slug of the tribe to list time slots for.
|
date |
String!
required
|
The date to list time slots for, for example 2026-09-15, read in the tribe timezone.
|
form query
One published standalone form by slug, scoped to the authenticated website organisation and optional tribe. Draft, paused, deleted or inaccessible forms return an error.
Returns Form
| Argument |
Type |
Description |
slug |
String!
required
|
|
tribe_slug |
String
|
|
forms query
Published standalone forms belonging to the authenticated website organisation. With tribe_slug, returns only that tribe’s own forms and shared organisation forms. Paginated by page and itemsPerPage.
Returns [Form!]!
| Argument |
Type |
Description |
tribe_slug |
String
|
|
page |
Int
|
Default: 1.
|
itemsPerPage |
Int
|
Default: 25.
|
getUserByToken query
Returns the website member account that a login token belongs to, using the token returned by logins. Returns an error when the token is unknown or has expired, belongs to an account in another organisation, or belongs to a disabled or cancelled account.
Returns loginUserByToken!
| Argument |
Type |
Description |
token |
String!
required
|
The login token returned by logins.
|
lastUpdatedAt query
Returns the date and time content such as products, product categories, articles, our work entries and components last changed in the organisation of the authenticated website, or null when no change has been recorded. Compare it with a value you stored earlier to decide whether your site needs to fetch content again.
Returns String
Takes no arguments.
loginExists query
Returns true when a website member account with the given email address exists in the organisation of the authenticated website, and false otherwise.
Returns Boolean!
| Argument |
Type |
Description |
email |
String!
required
|
The email address to look up, matched exactly as stored.
|
logins query
Signs a website member in with an email address and password from the organisation of the authenticated website, and returns a login token that stays valid for one year. Returns an error when the email address or password is wrong, or when the account has been cancelled or disabled. Pass the token to getUserByToken and to the member mutations that take a token argument.
Returns LoginToken
| Argument |
Type |
Description |
email |
String!
required
|
The email address of the website member account.
|
password |
String!
required
|
The password of the website member account.
|
organisation query
Returns the organisation that owns the authenticated website.
Returns organisation
Takes no arguments.
organisationOurWork query
Returns one organisation-level our work entry, meaning one that is not assigned to a tribe, from the organisation of the authenticated website. Only an entry with the status Published and a publish date in the past is returned, and an error is returned when no such entry matches. Pass locale to receive translated text and to match a translated slug.
Returns OurWork!
| Argument |
Type |
Description |
slug |
String!
required
|
The slug of the our work entry. When locale is also given, the translated slug for that locale matches as well.
|
locale |
String
|
A locale code such as fr-FR. Translatable text is returned in this locale where a translation exists and in the original language otherwise, and slug can match the translated slug. When omitted, the original text and slug are used.
|
organisationOurWorks query
Returns a paginated list of organisation-level our work entries, meaning those not assigned to a tribe, from the organisation of the authenticated website, most recently published first. Only entries with the status Published and a publish date in the past are included. Pass locale to receive translated text where a translation exists.
Returns OurWorkPagination
| Argument |
Type |
Description |
page |
Int!
required
|
The page number to return, starting at 1.
|
itemsPerPage |
Int!
required
|
The number of entries per page, at most 100.
|
featured |
Boolean
|
When true, only entries marked as featured are returned. When omitted or false, featured and other entries are returned together.
|
locale |
String
|
A locale code such as fr-FR. Translatable text is returned in this locale where a translation exists and in the original language otherwise. When omitted, the original text is returned.
|
orgChartPersonWebsitePages query
Returns the top-level pages of the authenticated website that are linked to the org chart person with the given slug. Child pages are not included, and an empty list is returned when no page matches.
Returns [websitePage!]
| Argument |
Type |
Description |
agent_slug |
String!
required
|
The slug of the org chart person (agent) whose pages are returned.
|
ourWork query
Returns one our work entry assigned to the given tribe in the organisation of the authenticated website. Only an entry with the status Published and a publish date in the past is returned, and an error is returned when no such entry matches. Pass locale to receive translated text and to match a translated slug.
Returns OurWork!
| Argument |
Type |
Description |
tribe_slug |
String!
required
|
The slug of the tribe the entry is assigned to.
|
slug |
String!
required
|
The slug of the our work entry. When locale is also given, the translated slug for that locale matches as well.
|
locale |
String
|
A locale code such as fr-FR. Translatable text is returned in this locale where a translation exists and in the original language otherwise, and slug can match the translated slug. When omitted, the original text and slug are used.
|
ourWorks query
Returns a paginated list of the our work entries assigned to the given tribe in the organisation of the authenticated website, most recently published first. Only entries with the status Published and a publish date in the past are included, and an empty page is returned when the tribe has none. Pass locale to receive translated text where a translation exists.
Returns OurWorkPagination
| Argument |
Type |
Description |
tribe_slug |
String!
required
|
The slug of the tribe whose entries are returned.
|
page |
Int!
required
|
The page number to return, starting at 1.
|
itemsPerPage |
Int!
required
|
The number of entries per page, at most 100.
|
featured |
Boolean
|
When true, only entries marked as featured are returned. When omitted or false, featured and other entries are returned together.
|
locale |
String
|
A locale code such as fr-FR. Translatable text is returned in this locale where a translation exists and in the original language otherwise. When omitted, the original text is returned.
|
product query
Returns one product of the organisation that owns the authenticated website, matched by slug. Only a product with the status Active is returned, unless only_shop_active is true (then any shop-enabled product that is not deleted), and the query returns an error when no product matches.
Returns Product!
| Argument |
Type |
Description |
slug |
String
|
Slug of the product to return. When omitted, the first product that matches the other arguments is returned.
|
tribe_slug |
String
|
Slug of a tribe in the same organisation whose details fill tribe placeholders in the product text and whose tribe-specific content overrides are used where the product type allows them. When omitted or not found, the organisation-level product content is returned.
|
only_shop_active |
Boolean
|
When true, returns a product that is enabled for the online shop, unless it has been deleted. When false or omitted, returns only a product with the status Active.
|
locale |
String
|
Language code (for example fr-FR) used to return translated text where a translation exists. When omitted, text is returned in its original language.
|
productCategory query
Returns one active product category of the organisation that owns the authenticated website, matched by slug. Returns an error when no category with the status Active matches.
Returns ProductCategory!
| Argument |
Type |
Description |
slug |
String
|
Slug of the category to return. When omitted, the first active category found is returned.
|
tribe_slug |
String
|
Slug of a tribe in the same organisation whose details fill tribe placeholders (such as the tribe name) in the category text. When omitted or not found, placeholders use their default values.
|
locale |
String
|
Language code (for example fr-FR) used to return translated text where a translation exists. When omitted, text is returned in its original language.
|
productComponents query
Returns product components for the organisation that owns the authenticated website. When componentType names one of the organisation component types, every component of that type is returned in the order saved for the type; otherwise the result is the components attached to at least one of the organisation products. Returns an empty list when nothing matches.
Returns [Component]
| Argument |
Type |
Description |
componentType |
String
|
Exact name of a component type in the organisation. When it matches, the components of that type are returned in their saved order; when omitted, components are not filtered by type.
|
slug |
String
|
Returns only components with this exact slug. When omitted, components are not filtered by slug.
|
products query
Returns the products of the organisation that owns the authenticated website, as a single unpaginated list. By default only products with the status Active are included; pass onlyShopActive to list the products enabled for the online shop instead, which never includes deleted products. Returns an empty list when nothing matches.
Returns [Product]
| Argument |
Type |
Description |
slug |
String
|
Returns only the product with this exact slug. When omitted, products are not filtered by slug.
|
tribe_slug |
String
|
Slug of the tribe whose details fill tribe placeholders in the product text and whose tribe-specific content overrides are used where the product type allows them. It does not filter the list; when omitted, organisation-level product content is returned.
|
onlyShopActive |
Boolean
|
When true, returns products that are enabled for the online shop, whatever their status. When false or omitted, returns only products with the status Active.
|
random |
Boolean
|
When true, returns the products in random order. When false or omitted, no particular order is guaranteed.
|
customisationPricesProcessed |
Boolean
|
When true, returns only products whose customisation prices have been processed. When false or omitted, products are not filtered on this.
|
supplier_status |
String
|
Returns only products whose supplier status exactly matches this value. When omitted, products are not filtered by supplier status.
|
inventory_tribe_slug |
String
|
Limits the inventory records returned on each product to the tribe with this slug. It does not filter the product list; if inventory_tribe_id is also passed, inventory_tribe_id takes precedence.
|
inventory_tribe_id |
Int
|
Limits the inventory records returned on each product to the tribe with this ID. It does not filter the product list, and it takes precedence over inventory_tribe_slug when both are passed.
|
inventory_id |
Int
|
Limits the inventory records returned on each product to the record with this ID, combined with any tribe inventory filter. It does not filter the product list.
|
images_tribe_slug |
String
|
Currently has no effect.
|
locale |
String
|
Language code (for example fr-FR) used to return translated text where a translation exists. When omitted, text is returned in its original language.
|
productSuppliers query
Returns every product supplier of the organisation that owns the authenticated website, whatever its status. The list is not filtered, ordered or paginated, and is empty when the organisation has no suppliers.
Returns [ProductSupplier]
Takes no arguments.
productType query
Returns a list of every product type of the organisation that owns the authenticated website, despite the singular field name. The list is not filtered, ordered or paginated, and is empty when the organisation has no product types.
Returns [ProductType]
Takes no arguments.
promotion query
Returns one promotion of the organisation that owns the authenticated website, matched by slug. The promotion must have the status Active or Pending and today must fall between its start and end dates (compared by calendar date only); otherwise the query returns an error.
Returns Promotion!
| Argument |
Type |
Description |
slug |
String!
required
|
Slug of the promotion to return.
|
promotionBanner query
Returns the promotion to show as a site banner: an Active promotion of the organisation of the authenticated website whose start and end dates include today. When several promotions match, the one with the earliest start date is returned, and null is returned when none match.
Returns Promotion
Takes no arguments.
promotions query
Returns a list containing at most one promotion of the organisation that owns the authenticated website, matched by slug. Like promotion, only a promotion that is running today is returned. Returns null when no promotion matches.
Returns [Promotion]
| Argument |
Type |
Description |
slug |
String
|
Slug of the promotion to return. When omitted, the first promotion found for the organisation is returned.
|
ranges query
Returns the product ranges of the organisation that owns the authenticated website. Only ranges with the status Active are included, the list is not paginated, and an empty list is returned when nothing matches.
Returns [ProductRange]
| Argument |
Type |
Description |
slug |
String
|
One slug, or several slugs separated by commas (for example outdoor,indoor), to return only those ranges. When omitted, every active range is returned.
|
result_count |
Int
|
Maximum number of ranges to return. No ordering is applied, so which ranges are returned is not guaranteed; when omitted, every matching range is returned. With a read-only browser token the list is capped at 100: a missing or larger result_count returns up to 100 ranges.
|
images_tribe_slug |
String
|
Currently has no effect.
|
locale |
String
|
Language code (for example fr-FR) used to return translated text where a translation exists. When omitted, text is returned in its original language.
|
regions query
Returns active geographic regions (countries, states, cities and areas), for one country when country_iso is sent. Regions are shared reference data and are not specific to the organisation. Returns an empty list when nothing matches.
Returns [Region!]!
| Argument |
Type |
Description |
slug |
String
|
Matches the region name either exactly or after converting the slug to title case with hyphens as spaces, so new-york matches New York. When omitted, regions are not filtered by name.
|
country_iso |
String
|
Country code of the regions to return, for example US or AU. When omitted, regions from every country are returned.
|
type |
String
|
Returns only regions of this type: Country, State/Province/Region, Major City, City Area or Regional Area. When omitted, regions of every type are returned.
|
reviews query
Returns the public reviews (those collected from review sites such as Google, and any review staff have featured) for the organisation that owns the authenticated website, newest first by default. Feedback submitted through the website stays private until it is featured. Reviews can be narrowed to one tribe and to featured reviews, and count caps the list because the query is not paginated. Returns an empty list when nothing matches.
Returns [Review]
| Argument |
Type |
Description |
tribe_slug |
String
|
Returns only reviews of the tribe with this slug. When omitted, reviews of every tribe and organisation-level reviews are returned.
|
tribe_id |
Int
|
Returns only reviews of the tribe with this ID. When omitted, reviews are not filtered by tribe ID.
|
featured |
Boolean
|
When true, returns only featured reviews: reviews featured for the tribe when tribe_slug or tribe_id is also passed, otherwise reviews featured for the organisation. When false or omitted, featured status is ignored.
|
sort_by |
String
|
Sort order: newest (the default), oldest or random. Any other value sorts newest first.
|
count |
Int
|
Maximum number of reviews to return. When omitted, every matching review is returned. With a read-only browser token the list is capped at 100: a missing or larger count returns up to 100 reviews.
|
includeConnectedOrganisations |
Boolean
|
When true, also includes reviews from the organisations connected to this website as child organisations. When false or omitted, only reviews of the website organisation are returned.
|
searchStores query
Store finder: returns up to 10 active tribes of the organisation that owns the authenticated website near a location, sorted by distance. Tribes whose service territory contains the location or its postcode come first, followed by the nearest other tribes. When the address cannot be located, a single fallback tribe for the organisation is returned instead of an error.
Returns [Tribe!]!
| Argument |
Type |
Description |
tribe_type |
String!
required
|
Name of the tribe type to search within, or All Tribes to search every tribe type.
|
address |
String!
required
|
Free-text address entered by the visitor. It is geocoded when lat and lng are both 0, and the query returns an error when both coordinates are 0 and the address is empty.
|
lat |
Float!
required
|
Latitude of the search location. Pass 0 together with lng 0 to have the address geocoded instead.
|
lng |
Float!
required
|
Longitude of the search location. Pass 0 together with lat 0 to have the address geocoded instead.
|
zipcode |
String
|
Postcode of the search location, used to find tribes whose territory lists that postcode. When omitted, the postcode is looked up from the location.
|
radius |
Float
|
Search radius in kilometres. Tribes inside the radius are listed first; when fewer than 10 are inside it, the nearest tribes outside it fill the remaining places. When omitted, the nearest tribes are returned without a radius.
|
using_alternative_address |
Boolean
|
When true and radius is set, also includes the active alternative addresses of tribes as separate results. When false or omitted, only the main tribe locations are searched.
|
shippingZones query
Returns the active shipping zones of a tribe online store that cover a delivery address, and whether the order amount qualifies for free shipping in any of them. When the tribe store is set to show only one delivery option, only the zone with the cheapest base rate is returned. Returns no zones and free false when the address is empty or cannot be located (the tribe is not checked in that case), and an error when a located address is sent for a tribe that is not found.
Returns ShippingZoneWithFree
| Argument |
Type |
Description |
tribe_slug |
String!
required
|
Slug of the tribe, in the organisation that owns the authenticated website, whose shipping zones are checked.
|
address |
String
|
Full delivery address to locate. When omitted or empty, no zones are returned.
|
amount |
Int
|
Order total in cents, compared with the free-shipping threshold of each matching zone. When omitted or 0, free is false.
|
shopping query
Returns the variants of the first active product, in the organisation that owns the authenticated website, that has the given SKU. Returns an empty list when no active product matches.
Returns [ProductVariant]
| Argument |
Type |
Description |
sku |
String
|
SKU code used to find the product. When omitted, the variants of the first active product found are returned.
|
tribe query
Returns one tribe of the organisation that owns the authenticated website, usually matched by slug, or the nearest matching tribe when lat and lng are passed. Only tribes with the status Active are considered unless status says otherwise, and when no tribe matches the query returns the error Tribe not found with extensions.category set to not_found. Pass locale to receive translated headings, introductions and meta text where translations exist.
Returns Tribe!
| Argument |
Type |
Description |
name |
String
|
Despite its name, filters by tribe type: one tribe type name, or several separated by commas (for example Type A,Type B), and matches tribes of any of those types. When omitted, tribes of every type are considered.
|
slug |
String
|
Slug of the tribe to return. When omitted, the first tribe matching the other arguments is returned.
|
onlineStore |
Boolean
|
When true, matches only tribes with a working online store: an active payment provider with its keys set, and an active store with tax settings configured. When false or omitted, tribes are not filtered on this.
|
status |
String
|
Case-insensitive status filter: all matches Active, Testing and Opening Soon tribes; active matches Active and Opening Soon tribes; opening soon matches Opening Soon tribes only. Any other value, or omitting it, matches Active tribes only. Note that tribes uses launch where this query uses active.
|
lat |
Float
|
Latitude of a location. When passed together with a non-zero lng, the matching tribe nearest to that location is returned and tribes without coordinates are ignored.
|
lng |
Float
|
Longitude of a location. When passed together with a non-zero lat, the matching tribe nearest to that location is returned and tribes without coordinates are ignored.
|
locale |
String
|
Language code (for example fr-FR) used to return translated text where a translation exists. When omitted, text is returned in its original language.
|
includeConnectedOrganisations |
Boolean
|
When true, also searches the tribes of the organisations connected to this website as child organisations. When false or omitted, only tribes of the website organisation are searched.
|
tribeArticles query
Returns every article a tribe should show, newest first, as a single unpaginated list: the articles linked to the tribe plus the organisation-wide articles not linked to any tribe, leaving out any organisation article that the tribe has replaced with its own version. Only published articles are included. Returns an empty list when nothing matches; use tribeArticlesPagination for large sets.
Returns [Article!]!
| Argument |
Type |
Description |
slug |
String
|
Returns only the article with this exact slug. When omitted, articles are not filtered by slug.
|
status |
String
|
Ignored. Only published articles are returned.
|
categories |
[String]
|
Returns only articles in at least one of these categories, matched by category name or slug. A list containing all, or omitting the argument, disables the category filter.
|
tribe_slug |
String!
required
|
Slug of the tribe whose articles are returned alongside the organisation-wide articles.
|
tribeArticlesPagination query
Returns one page of the articles a tribe should show, newest first: the articles linked to the tribe plus the organisation-wide articles not linked to any tribe, leaving out any organisation article that the tribe has replaced with its own version. Only published articles are included. Returns an empty page when nothing matches.
Returns ArticlePagination
| Argument |
Type |
Description |
slug |
String
|
Returns only the article with this exact slug. When omitted, articles are not filtered by slug.
|
status |
String
|
Ignored. Only published articles are returned.
|
categories |
[String]
|
Returns only articles in at least one of these categories, matched by category name or slug. A list containing all, or omitting the argument, disables the category filter.
|
page |
Int
|
Page number to return, starting at 1. Defaults to 1.
|
itemsPerPage |
Int
|
Number of articles per page, at most 100. Defaults to 15.
|
tribe_slug |
String!
required
|
Slug of the tribe whose articles are returned alongside the organisation-wide articles.
|
tribeComponent query
Returns one tribe component, matched by slug, whose component type belongs to the organisation that owns the authenticated website and which is assigned to the given tribe. Returns an error when no such component exists.
Returns TribeComponent
| Argument |
Type |
Description |
slug |
String!
required
|
Slug of the tribe component to return.
|
tribe_slug |
String!
required
|
Slug of the tribe the component must be assigned to.
|
tribeComponentType query
Returns one tribe component type of the organisation that owns the authenticated website, matched by name, with its components limited to those assigned to a tribe. Returns null when no type with that name exists or when none of its components match.
Returns TribeComponentType
| Argument |
Type |
Description |
name |
String!
required
|
Exact name of the tribe component type to return (the match is case-sensitive).
|
tribe_slug |
String
|
Limits the returned components to those assigned to the tribe with this slug. When omitted, components assigned to any tribe are returned.
|
tribes query
Returns the tribes of the organisation that owns the authenticated website, as a single unpaginated list sorted by name unless orderBy is passed. Only tribes with the status Active are included unless status says otherwise. Returns an empty list when nothing matches.
Returns [Tribe!]!
| Argument |
Type |
Description |
name |
String
|
Despite its name, filters by tribe type: one tribe type name, or several separated by commas (for example Type A,Type B), and returns tribes of any of those types. When omitted, tribes of every type are returned.
|
slug |
String
|
Returns only the tribe with this exact slug. When omitted, tribes are not filtered by slug.
|
orderBy |
[String]
|
Tribe fields to sort by in ascending order, applied in the order given (for example ["state", "name"]). Defaults to ["name"]. Fields outside this list are ignored, and when none is left the tribes are sorted by name. Allowed fields: id, name, slug, status, tribe_sort_order, address_1, address_2, locality, state, state_abbreviated, postal_code, country, country_iso, latitude, longitude and timezone.
|
onlineStore |
Boolean
|
When true, returns only tribes with a working online store: an active payment provider with its keys set, and an active store with tax settings configured. When false or omitted, tribes are not filtered on this.
|
status |
String
|
Case-insensitive status filter: all returns Active, Testing and Opening Soon tribes; launch returns Active and Opening Soon tribes; opening soon returns Opening Soon tribes only. Any other value, or omitting it, returns Active tribes only.
|
includeConnectedOrganisations |
Boolean
|
When true, also includes tribes from the organisations connected to this website as child organisations. When false or omitted, only tribes of the website organisation are returned.
|
websiteComponent query
Returns one website component, matched by slug, whose component type belongs to the authenticated website. Only an active component is returned, and the query returns an error when no active component matches.
Returns Component!
| Argument |
Type |
Description |
slug |
String!
required
|
Slug of the component to return.
|
status |
String
|
Ignored. Only an active component is returned, and the query returns an error when no active component matches.
|
locale |
String
|
Language code (for example fr-FR) used to return translated component content where a translation exists. When omitted, content is returned in its original language.
|
websiteComponents query
Returns the website component types of the authenticated website, each with its components, as a single unpaginated list. Only active types and their active components are returned, and an empty list is returned when nothing matches.
Returns [ComponentType!]!
| Argument |
Type |
Description |
name |
[String]
|
Names of the component types to return, matched without regard to letter case. When omitted, every component type of the website is returned.
|
status |
String
|
Ignored. Only active component types, and their active components, are returned.
|
locale |
String
|
Language code (for example fr-FR) used to return translated component content where a translation exists. When omitted, content is returned in its original language.
|
websiteFaq query
Returns the FAQs of the authenticated website as a single unpaginated list, with no status filter. Tribe placeholders in each question and answer are filled from the tribe named by assign_store_slug. Returns an empty list when nothing matches.
Returns [websiteFaq]
| Argument |
Type |
Description |
tribe_slug |
String
|
Returns only FAQs that belong to the tribe with this slug. When omitted, FAQs are not filtered by tribe, so organisation-level FAQs and every tribe FAQ are returned together.
|
faq_slug |
String
|
Returns only the FAQ with this exact slug. When omitted, FAQs are not filtered by slug.
|
assign_store_slug |
String
|
Slug of a tribe in the same organisation whose details fill tribe placeholders (such as the tribe name) in the returned questions and answers. It is independent of tribe_slug and does not filter the list; when omitted, placeholders use their default values.
|
websiteFaqCategory query
Returns the FAQ categories of the authenticated website as a single unpaginated list, with no status filter. Returns an empty list when nothing matches.
Returns [websiteFaqCategory]
| Argument |
Type |
Description |
name |
String
|
Returns only the category with this exact name, ignoring letter case. When omitted, every FAQ category of the website is returned.
|
websiteInfo query
Returns the authenticated website itself: its settings and details, as identified by the access token. It never returns null. Its last_updated_at field moves when the website settings are saved or when its pages, page content, sections, section content or menus are edited, so poll it together with lastUpdatedAt (which covers products, articles, reviews, components and other organisation content) to decide when to refresh cached content.
Returns website
Takes no arguments.
websitePage query
Returns one website page of the authenticated website, used to render a page. Matching pages are looked up in order: the page of the team member named by agent_slug, then the page of the tribe named by tribe_slug, then the organisation-level page, and the first page in menu order at the first level that has a match is returned. When the organisation-level page is the match and that tribe has its own copy of it, the copy is returned instead, whatever slug the copy was given. Deleted pages are never returned, and the query returns null when no page matches.
Returns websitePage
| Argument |
Type |
Description |
slug |
String
|
Slug of the page to return. When locale is also passed, a page whose translated slug in that language matches is found as well. When omitted, pages are not filtered by slug.
|
tribe_slug |
String
|
Slug of a tribe with the status Active, Opening Soon or Testing. Its own page is preferred over the organisation-level page, including its copy of that page under a different slug, and its details fill tribe placeholders in the page text. When omitted or not found, only the organisation-level page is considered.
|
locale |
String
|
Language code (for example fr-FR) used to return translated page text and to match translated slugs. When omitted, text is returned in its original language.
|
template_slug |
String
|
Returns only a page that uses the page template with this slug. When omitted, pages are not filtered by template.
|
tribe_template |
Boolean
|
When true, returns only a page whose template is a tribe template or that was copied for a tribe from a parent page that allows tribe copies. When false or omitted, this is not checked.
|
organisation_template |
Boolean
|
When true, returns only a page whose template is an organisation template. When false or omitted, this is not checked.
|
agent_slug |
String
|
Slug of a team member (agent) from the organisation chart. Their personal page is tried first, before any tribe or organisation-level page. When omitted, personal pages are not considered.
|
websitePages query
Returns website pages of the authenticated website in menu order, as a single unpaginated list. When tribe_slug names an Active tribe that has matching pages, the pages of that tribe are returned; otherwise the matching organisation-level pages are returned instead. Deleted pages are never included, and an empty list is returned when nothing matches.
Returns [websitePage!]
| Argument |
Type |
Description |
slug |
String
|
Returns only pages with this exact slug. When omitted, pages are not filtered by slug.
|
type |
[String]
|
Returns only pages whose template-defined Type content field contains at least one of these values. When omitted, pages are not filtered by type.
|
template_type |
String
|
Returns only pages whose page template has exactly this name. When omitted, pages are not filtered by template name.
|
template_slug |
[String]
|
Returns only pages that use one of the page templates with these slugs. When omitted, pages are not filtered by template slug.
|
template_vue_route_name |
[String]
|
Returns only pages that use one of the page templates with these front-end route names. A page's own route name is not matched. When omitted, pages are not filtered by template route name.
|
tribe_slug |
String
|
Slug of an Active tribe whose pages should be returned, and whose details fill tribe placeholders in the page text. When omitted, when the tribe is not found or not Active, or when it has no matching pages, organisation-level pages are returned.
|
locale |
String
|
Language code (for example fr-FR) used to return translated page text where a translation exists. When omitted, text is returned in its original language.
|
websitePageTemplates query
Returns the page templates of the authenticated website as a single unpaginated list, with no status filter and no particular order. Returns an empty list when nothing matches.
Returns [websitePageTemplate!]
| Argument |
Type |
Description |
slug |
String
|
Returns only the template with this exact slug. When omitted, every page template of the website is returned.
|
websiteRedirects query
Returns every redirect configured for the authenticated website as a single unpaginated list, leaving out any redirect that has been detected as part of a redirect loop. Each redirect carries its from and to values but no HTTP status code, so the client decides whether to answer with a 301 or a 302. Returns an empty list when the website has no redirects.
Returns [WebsiteRedirect!]!
Takes no arguments.
websiteSection query
Returns one website section of the authenticated website, matched by name. When tribe_slug is passed and that tribe has its own section with this name, the tribe section is returned; otherwise the organisation-level section is returned. The query returns an error when neither exists.
Returns WebsiteSection
| Argument |
Type |
Description |
name |
String!
required
|
Name of the section to return, matched exactly but ignoring letter case.
|
locale |
String
|
Language code (for example fr-FR) used to return translated section content where a translation exists. When omitted, content is returned in its original language.
|
tribe_slug |
String
|
Slug of the tribe whose own version of the section is preferred. When omitted, or when the tribe has no section with this name, the organisation-level section is returned.
|
websiteSections query
Returns website sections of the authenticated website as a single unpaginated list. Organisation-level sections and the sections of every tribe are returned together, because this query cannot be limited to one tribe; use websiteSection with tribe_slug for that. Returns an empty list when nothing matches.
Returns [WebsiteSection]
| Argument |
Type |
Description |
name |
[String]
|
Names of the sections to return, matched exactly but ignoring letter case. When omitted, every section of the website is returned.
|
locale |
String
|
Language code (for example fr-FR) used to return translated section content where a translation exists. When omitted, content is returned in its original language.
|
Mutations
cancelLoginUser mutation
Cancels a website customer account, for example when the customer closes their account on your website. The account is marked as cancelled immediately and can no longer sign in through the logins query. Cancelling an account that is already cancelled succeeds without changing the date it was cancelled. Returns a two-item list of the status code 201 and a confirmation message.
Returns [String]
| Argument |
Type |
Description |
token |
String!
required
|
The sign-in token returned by the logins query for this account; an unknown token returns an Invalid token error and an expired one returns Token expired. A token for an account in another organisation, or for a disabled account, also returns Invalid token.
|
email |
String!
required
|
The email address of the account, which must match the account the token belongs to.
|
createLoginUser mutation
Registers a new website customer account in the organisation and links it to a person record, reusing a person with the same email address and first name or creating one. The account is created immediately but the customer is not signed in, so call the logins query afterwards to get a token. Returns a list of 201, a confirmation message and the new account ID, or 422, User already exists and null when the organisation already has an account with that email address.
Returns [String]
| Argument |
Type |
Description |
tribe_slug |
String
|
Slug of the tribe to add the customer's person record to; when omitted or not found, the person is not added to a tribe.
|
first_name |
String!
required
|
The customer's first name.
|
last_name |
String!
required
|
The customer's last name.
|
email |
String!
required
|
The customer's email address, which identifies the account within the organisation.
|
password |
String!
required
|
The password the customer will sign in with; it is stored hashed.
|
mobile_e164 |
String
|
The customer's mobile number in E.164 format, for example +61412345678.
|
address_1 |
String
|
The first line of the customer's street address.
|
address_2 |
String
|
The second line of the customer's street address.
|
locality |
String
|
The customer's suburb, town or city.
|
state |
String
|
The customer's state, province or region.
|
country |
String
|
The customer's country.
|
postal_code |
String
|
The customer's postal code.
|
attributes |
JsonParser
|
Extra values to store on the account, as a JSON array (or a JSON-encoded string of one) of objects such as {"name": "favourite_store", "value": "sydney", "platform": "gd", "type": "string"}, where platform is x2, gd or omitted and type is string, integer, boolean or json (default string); entries with a blank name or value, and any attribute named x2_api_payload, are skipped.
|
foodShippingCartPaymentPaid mutation
Closes the open food shopping cart after the visitor has completed payment in Stripe, so the cart cannot be changed or paid again, and returns a one-item list containing the ID of the order. Call it once Stripe confirms the payment intent created by submitFoodShoppingCart. It does not check the payment with Stripe itself: the order is marked as paid separately, when Gorilla Dash receives the payment confirmation from Stripe.
Returns [String]
| Argument |
Type |
Description |
tribe_slug |
String!
required
|
Slug of the tribe the cart belongs to; the request fails if the organisation has no tribe with this slug.
|
session_id |
String!
required
|
The session identifier the cart was built under.
|
payment_intent_id |
String!
required
|
The Stripe payment intent ID that submitFoodShoppingCart created for this cart; the request fails if it does not match the open cart.
|
resetLoginUserPassword mutation
Sets a new password on a website customer account using the reset_token from the link emailed by tbaForgotPassword. The token alone identifies the account. The change is immediate, the token and any other reset links for the account stop working, and the customer is signed out of every other session. Returns true when the password was changed, and false when reset_token is missing, has expired, has already been used, belongs to another organisation, or belongs to an account that has since been disabled or cancelled.
Returns Boolean
| Argument |
Type |
Description |
email |
String!
required
|
Ignored: reset_token alone identifies the account. Still required so existing client queries keep working.
|
password |
String!
required
|
The new password; it is stored hashed.
|
reset_token |
String
|
The reset_token parameter from the link that tbaForgotPassword emailed to the customer. Required in practice: without it the mutation returns false.
|
signature |
String
|
Ignored: no longer accepted to confirm a reset, and kept only so existing client queries still work. Send reset_token instead.
|
selectChatbotTribe mutation
Ties an existing chatbot conversation to the tribe the visitor picked, for example from the chatbot's suggested_tribes, so later answers and any enquiry use that tribe. The choice is saved immediately without asking the chatbot, and the returned ChatbotReply contains a short fixed confirmation message and the selected tribe.
Returns ChatbotReply
| Argument |
Type |
Description |
session_token |
String!
required
|
The session_token returned by startChatbotConversation; an unknown token returns a not-found error.
|
tribe_id |
Int
|
ID of the chosen tribe, which must be active or opening soon in the organisation; send this or tribe_slug.
|
tribe_slug |
String
|
Slug of the chosen tribe, as an alternative to tribe_id; a not-found error is returned when no matching tribe is found.
|
sendChatbotMessage mutation
Sends the visitor's next message in an existing chatbot conversation and returns the chatbot's answer as a ChatbotReply. The answer is generated before the mutation returns, which can take several seconds, and during the turn the chatbot may suggest tribes or save the visitor's details as an enquiry, which is reported in lead_captured.
Returns ChatbotReply
| Argument |
Type |
Description |
session_token |
String!
required
|
The session_token returned by startChatbotConversation; an unknown token returns a not-found error.
|
message |
String!
required
|
The visitor's message; an empty or whitespace-only message returns an error.
|
startChatbotConversation mutation
Starts a new conversation with the website's active chatbot and returns a ChatbotReply whose session_token must be sent with every later chatbot call. Without message, reply holds the chatbot's greeting; with message, the chatbot answers it before the mutation returns, which can take several seconds and may capture the visitor as an enquiry. Returns a not-found error when the website has no active chatbot.
Returns ChatbotReply
| Argument |
Type |
Description |
chatbot_slug |
String
|
Slug of the chatbot to use when the website has more than one; defaults to the website's first active chatbot.
|
tribe_id |
Int
|
ID of the tribe the visitor is viewing, if any; only active or opening-soon tribes in the organisation are used, and a tribe that does not match is ignored.
|
tribe_slug |
String
|
Slug of the tribe the visitor is viewing, as an alternative to tribe_id; if both are sent they must identify the same tribe.
|
message |
String
|
The visitor's opening message; leave it out to receive only the greeting.
|
visitor_name |
String
|
The visitor's name, if your website already knows it, stored with the conversation.
|
visitor_email |
String
|
The visitor's email address, if your website already knows it, stored with the conversation.
|
page_url |
String
|
The URL of the page the chat was opened on, stored with the conversation and with any enquiry it creates.
|
locale |
String
|
The locale code of the page, such as en, stored with the conversation and with any enquiry it creates.
|
tracking_data |
[JsonParser]
|
The visitor's URL parameter and referrer history in the same shape as tracking_data on submitEnquiry, attached to any enquiry the conversation creates for lead-source attribution; at most 100 entries are kept.
|
storeLoginAttributes mutation
Saves extra values against a signed-in website customer account, creating each attribute or overwriting the existing one with the same name and platform. The values are saved immediately. Returns a two-item list of the status code 201 and a confirmation message.
Returns [String]
| Argument |
Type |
Description |
token |
String!
required
|
The sign-in token returned by the logins query; an unknown token returns an Invalid token error and an expired one returns Token expired. A token for an account in another organisation, or for a disabled or cancelled account, also returns Invalid token.
|
attributes |
JsonParser!
required
|
The values to save, as a JSON array (not a JSON-encoded string) of objects such as {"name": "favourite_store", "value": "sydney", "platform": "gd", "type": "string"}, where platform is x2, gd or omitted and type is string, integer, boolean or json (default string); entries without a name are skipped.
|
submitAppointment mutation
Books an appointment of a named appointment type and adds the visitor as its attendee, matching an existing person by email address, first name and last name or creating a new person in the tribe. Offer the visitor times from appointmentAvailableTime so they choose a free slot. Returns an empty list.
Returns [String]
| Argument |
Type |
Description |
slug |
String!
required
|
Slug of the tribe the appointment is at; when no tribe matches, the appointment has no tribe and the organisation's time zone is used.
|
type |
String!
required
|
The exact name of an appointment type in the organisation, whose default duration sets the end time; the request fails if no type has this name.
|
datetime |
String!
required
|
The start date and time in the tribe's local time zone, or the organisation's when there is no tribe, for example 2026-09-20 14:30.
|
first_name |
String!
required
|
The visitor's first name, used to match an existing person.
|
last_name |
String!
required
|
The visitor's last name, used to match an existing person.
|
email |
String!
required
|
The visitor's email address, used to match an existing person.
|
phone |
String!
required
|
The visitor's phone number, stored as entered on the person only when a new person is created.
|
comments |
String
|
Comments from the visitor, stored on the appointment.
|
data |
String
|
Any extra details to store on the appointment, as a JSON-encoded string of an object, for example {"service": "Consultation"}.
|
submitCustomPageEnquiry mutation
Creates an enquiry from a custom page form on the enquiry form with the given slug; if the organisation has no form with that slug, a new form is created first with default wording and a single field named Fields. The enquiry is saved before the mutation returns, in the same way as submitEnquiry, and notification emails and other follow-up work continue in the background. Returns a three-item list of the form's thank-you page title, heading and text, with tribe placeholders filled in.
Returns [String]
| Argument |
Type |
Description |
name |
String
|
The enquiry form slug, used only when slug is not sent.
|
slug |
String
|
Slug of the enquiry form to submit to; either slug or name is required.
|
first_name |
String!
required
|
The enquirer's first name.
|
last_name |
String
|
The enquirer's last name.
|
email |
String!
required
|
The enquirer's email address; together with the name and business name it identifies the person record the enquiry is linked to.
|
ip |
String
|
The visitor's IP address, stored with the enquiry and used to recognise a repeated submission.
|
source |
String
|
A label for where the enquiry came from, stored with the enquiry as sent.
|
mobile |
String
|
The enquirer's phone number, ideally in E.164 format such as +61412345678; a number without a country code is read as a number in the organisation's country, and when this is empty a form answer named Mobile, Phone or similar is used instead.
|
fields |
[JsonParser]!
required
|
The form answers as a list of JSON objects such as {"name": "Message", "value": "Please call me"}; only entries whose name matches a field defined on the enquiry form, ignoring case, are saved.
|
tribes |
[String]
|
Slugs of the tribes the enquiry is for; the enquiry and person are linked to every listed tribe in the organisation, and the first slug fills the tribe placeholders in the thank-you text.
|
business_name |
String
|
The enquirer's business name; when empty, a form answer named Business Name is used instead.
|
files |
[JsonParser]
|
Files to attach, as a list of JSON objects such as {"filename": "photo.jpg", "file": "https://example.com/photo.jpg"}, where file is an http or https URL to download or the file content encoded as base64.
|
products |
[JsonParser]
|
Products the enquiry is about, as a list of JSON objects such as {"id": 123, "meta": {"quantity": 2}}, where id is a Gorilla Dash product ID and meta is optional extra data; unknown IDs are skipped.
|
browser_agent |
String
|
The visitor's browser user-agent string, stored with the enquiry.
|
tracking_data |
[JsonParser]
|
The visitor's URL parameter and referrer history for lead-source attribution, as a list of JSON objects such as {"parameter": "utm_source", "value": "google", "path": "/contact", "session_at": "2026-09-15T10:00:00Z"}; a missing or implausible session_at is replaced with the time of submission.
|
browser |
String
|
The name of the visitor's browser, stored with the enquiry.
|
device |
String
|
The type of device the visitor used, stored with the enquiry.
|
operating_system |
String
|
The visitor's operating system, stored with the enquiry.
|
address_1 |
String
|
The first line of the enquirer's street address, stored with the enquiry; when sent, the address fields are also saved to the person record.
|
address_2 |
String
|
The second line of the enquirer's street address.
|
locality |
String
|
The enquirer's suburb, town or city.
|
state |
String
|
The enquirer's state, province or region.
|
postal_code |
String
|
The enquirer's postal code.
|
country |
String
|
The enquirer's country.
|
sms_approved |
Boolean
|
The enquirer's answer to the SMS consent question: true when they agreed to receive SMS messages, false when they did not. For each listed tribe whose SMS consent wording is turned on (its own, or its organisation's when it has none), the answer is recorded as an SMS consent for the enquirer's mobile number; when no tribe is listed, the organisation's wording decides. How to ask the question is given by mode on the form's sms_consent (or the tribe's sms_legal_message_mode); omit this argument when the mode is message_only.
|
locale |
String
|
The locale code of the page, such as en-US, used to choose the translation of the thank-you text and stored with the enquiry; when omitted or untranslated, the form's own wording is returned.
|
submitEnquiry mutation
Creates an enquiry on one of the organisation's enquiry forms: it saves the answers and files, links the enquirer to a person record and the listed tribes, and checks the organisation's spam list. The enquiry is saved before the mutation returns, and an identical repeat submission returns the thank-you text without creating a second enquiry; notification emails follow a few minutes later and other follow-up work, such as lead-source calculation and AI summaries, runs in the background. Returns a three-item list of the form's thank-you page title, heading and text, with placeholders filled in.
Returns [String]
| Argument |
Type |
Description |
name |
String
|
The enquiry form slug, used only when slug is not sent.
|
slug |
String
|
Slug of the enquiry form to submit to; either slug or name is required, and the request fails if the organisation has no form with that slug.
|
id |
Int
|
The ID of the enquiry form whose thank-you text is returned; the enquiry itself is always recorded on the form named by slug or name, so send one of those as well.
|
first_name |
String!
required
|
The enquirer's first name.
|
last_name |
String
|
The enquirer's last name.
|
email |
String!
required
|
The enquirer's email address; together with the name and business name it identifies the person record the enquiry is linked to.
|
ip |
String
|
The visitor's IP address, stored with the enquiry and used to recognise a repeated submission.
|
source |
String
|
A label for where the enquiry came from, stored with the enquiry as sent.
|
mobile |
String
|
The enquirer's phone number, ideally in E.164 format such as +61412345678; a number without a country code is read as a number in the organisation's country, and when this is empty a form answer named Mobile, Phone or similar is used instead.
|
fields |
[JsonParser]!
required
|
The form answers as a list of JSON objects such as {"name": "Message", "value": "Please call me"}; only entries whose name matches a field defined on the enquiry form, ignoring case, are saved.
|
tribes |
[String]
|
Slugs of the tribes the enquiry is for; the enquiry and person are linked to every listed tribe in the organisation, and when the first slug belongs to a connected organisation instead, the enquiry is submitted to that organisation's form with the same slug.
|
business_name |
String
|
The enquirer's business name; when empty, a form answer named Business Name is used instead.
|
files |
[JsonParser]
|
Files to attach, as a list of JSON objects such as {"filename": "photo.jpg", "file": "https://example.com/photo.jpg"}, where file is an http or https URL to download or the file content encoded as base64, either plain or as a data: URI such as data:image/jpeg;base64,....
|
products |
[JsonParser]
|
Products the enquiry is about, as a list of JSON objects such as {"id": 123, "meta": {"quantity": 2}}, where id is a Gorilla Dash product ID and meta is optional extra data; unknown IDs are skipped.
|
online_store_products |
[JsonParser]
|
Online store products the enquiry is about, as a list of JSON objects such as {"id": 123, "meta": {"quantity": 2}}; unknown IDs are skipped.
|
gorilla_user_key |
String
|
The visitor key set by the Gorilla Dash website tracking script, stored with the enquiry to connect it to the visitor's browsing history.
|
notifications |
Boolean
|
Set to false to record the enquiry without sending its notification emails or SMS; defaults to true.
|
created_at |
String
|
Overrides the date and time the enquiry is recorded as created, for example 2026-09-15 10:30:00, when importing past enquiries; defaults to the time of submission.
|
media_in_job |
Boolean
|
Set to true to download files given as URLs in the background after the enquiry is saved, instead of during the request; defaults to false.
|
possible_spam |
Boolean
|
Set to true when your website suspects the submission is spam; the enquiry is still saved but flagged, and no notification emails are sent for it. Defaults to false.
|
browser_agent |
String
|
The visitor's browser user-agent string, stored with the enquiry.
|
tracking_data |
[JsonParser]
|
The visitor's URL parameter and referrer history for lead-source attribution, as a list of JSON objects such as {"parameter": "utm_source", "value": "google", "path": "/contact", "session_at": "2026-09-15T10:00:00Z"}; a missing or implausible session_at is replaced with the time of submission.
|
browser |
String
|
The name of the visitor's browser, stored with the enquiry.
|
device |
String
|
The type of device the visitor used, stored with the enquiry.
|
operating_system |
String
|
The visitor's operating system, stored with the enquiry.
|
address_1 |
String
|
The first line of the enquirer's street address, stored with the enquiry; when sent, the address fields are also saved to the person record.
|
address_2 |
String
|
The second line of the enquirer's street address.
|
locality |
String
|
The enquirer's suburb, town or city.
|
state |
String
|
The enquirer's state, province or region.
|
postal_code |
String
|
The enquirer's postal code.
|
country |
String
|
The enquirer's country.
|
submit_url |
String
|
The URL of the page the form was submitted from, stored with the enquiry.
|
meta |
[JsonParser]
|
Any extra data to store with the enquiry, as a list of JSON values.
|
client_site_visitor_id |
String
|
The visitor's ID in your website's own visitor tracking, which Gorilla Dash can use later to fetch that visitor's history for lead-source attribution.
|
sms_approved |
Boolean
|
The enquirer's answer to the SMS consent question: true when they agreed to receive SMS messages, false when they did not. For each listed tribe whose SMS consent wording is turned on (its own, or its organisation's when it has none), the answer is recorded as an SMS consent for the enquirer's mobile number; when no tribe is listed, the organisation's wording decides. How to ask the question is given by mode on the form's sms_consent (or the tribe's sms_legal_message_mode); omit this argument when the mode is message_only.
|
locale |
String
|
The locale code of the page, such as en-US, used to choose the translation of the thank-you text and stored with the enquiry; when omitted or untranslated, the form's own wording is returned.
|
submitFoodShoppingCart mutation
Checks out the open food shopping cart for a tribe: it creates (or re-prices) an order awaiting payment in Gorilla Dash with every line priced from the tribe's menu prices, modifiers, tax, coupon and shipping, and links the customer to a person record in the tribe. When Stripe is set up for the tribe or organisation it also creates a new Stripe payment intent, cancelling any earlier one for the cart, and returns a two-item list of the Stripe publishable key and the payment intent client secret for use with Stripe.js; otherwise the order is still saved and two empty strings are returned. The cart stays open until foodShippingCartPaymentPaid is called after the payment succeeds.
Returns [String]
| Argument |
Type |
Description |
tribe_slug |
String!
required
|
Slug of the tribe the order is for; the cart must have been created with this same tribe, or the request fails.
|
session_id |
String!
required
|
The session identifier the cart was built under.
|
customer |
JsonParser!
required
|
The customer details as a JSON object with the keys first_name, last_name, email, phone, address, locality, state, postcode and country; the details from the first submission of a cart are kept if the same cart is submitted again.
|
delivery_option |
String!
required
|
How the customer will receive the order, stored on the order as sent; use delivery when a shipping rate should be charged.
|
delivery_date |
String!
required
|
The requested delivery or pick-up date in the tribe's local time, stored on the order as sent (for example 2026-09-20).
|
delivery_time |
String
|
The requested delivery or pick-up time in the tribe's local time, stored on the order as sent (for example 12:30).
|
early_pick_up |
Boolean
|
Whether the customer asked to collect the order early. Defaults to false.
|
early_pick_up_message |
String
|
A note from the customer about the early pick-up request.
|
comments |
String
|
Free-text comments from the customer, stored on the order.
|
shipping_rate_id |
Int
|
The id of one of the tribe's shipping rates, as returned in shippingRates by the shippingZones query, used only when delivery_option is delivery; the request fails if the rate does not belong to the tribe, and shipping is free once the order reaches the rate's free-shipping amount.
|
coupon_id |
Int
|
The id of a food coupon in the organisation, as returned by foodCouponAvailable, to apply to the order; an unknown ID is ignored, and a free-item coupon adds its menu item to the order.
|
submitFormResponse mutation
Submit answers to a published standalone form, separate from website enquiries. The website determines the organisation; tribe_slug optionally attributes a shared form response to that tribe. Returns a receipt and completion instructions.
Returns FormResponse
| Argument |
Type |
Description |
slug |
String!
required
|
|
tribe_slug |
String
|
|
answers |
JsonParser!
required
|
Object keyed by form field key, with values matching each field type. File answers contain descriptors returned by the public form upload endpoint.
|
first_name |
String
|
|
last_name |
String
|
|
email |
String
|
|
phone |
String
|
|
website |
String
|
Honeypot field. Must be omitted or empty.
|
submitPersonToCategory mutation
Adds every person in the organisation with the given email address to the named person category, for example to record a newsletter sign-up. If nobody has that email address a new person is created with only the email, and if the category does not exist it is created. The change is immediate and the mutation returns an empty list.
Returns [String]
| Argument |
Type |
Description |
email |
String!
required
|
The email address of the person to add to the category.
|
person_category |
String!
required
|
The exact name of the person category, which is created if the organisation does not already have one with this name.
|
submitPortalFoodShoppingCart mutation
Submits an open food shopping cart through a food ordering portal as an order to be invoiced, with no online payment taken. It assigns the cart to the chosen tribe, creates an order awaiting invoice with every line priced and taxed, records the portal as the channel the order came from and closes the cart, all before returning. It returns a one-item list containing the ID of the order.
Returns [String]
| Argument |
Type |
Description |
portal_slug |
String!
required
|
Slug of an active food ordering portal in the organisation; the request fails if none matches.
|
tribe_slug |
String!
required
|
Slug of the tribe that will fulfil the order; the request fails if the organisation has no tribe with this slug.
|
session_id |
String!
required
|
The session identifier the cart was built under; the cart must have been created without a tribe.
|
customer |
JsonParser!
required
|
The customer details as a JSON object with the keys first_name, last_name, email, phone, address, locality, state, postcode and country.
|
delivery_option |
String!
required
|
How the customer will receive the order, stored on the order as sent.
|
delivery_date |
String!
required
|
The requested delivery or pick-up date in the tribe's local time, stored on the order as sent (for example 2026-09-20).
|
delivery_time |
String
|
The requested delivery or pick-up time in the tribe's local time, stored on the order as sent (for example 12:30).
|
early_pick_up |
Boolean
|
Whether the customer asked to collect the order early. Defaults to false.
|
early_pick_up_message |
String
|
A note from the customer about the early pick-up request.
|
comments |
String
|
Free-text comments from the customer, stored on the order.
|
submitPromotion mutation
Enters a person into one of the organisation's promotions, such as a competition or giveaway. The entry is queued and saved in the background, where the person record is created or updated and the promotion's confirmation email is sent, so the response does not confirm that the entry was saved. Returns a one-item list containing the unique entry ID assigned to the entry.
Returns [String]
| Argument |
Type |
Description |
name |
String!
required
|
Slug of the promotion to enter; the entry is not saved if the organisation has no promotion with this slug.
|
first_name |
String!
required
|
The entrant's first name.
|
last_name |
String
|
The entrant's last name.
|
email |
String!
required
|
The entrant's email address; together with the first and last name it identifies the person record.
|
comment |
String
|
A comment from the entrant, stored with the entry.
|
comment_public |
Boolean
|
Whether the entrant agrees to the comment being shown publicly; defaults to false.
|
ip |
String!
required
|
The entrant's IP address, stored with the entry.
|
mobile |
String
|
The entrant's mobile number in international format, for example +61412345678; a number that cannot be read that way is kept for display only.
|
fields |
[JsonParser]!
required
|
The promotion form answers as a list of JSON objects such as {"name": "Favourite flavour", "value": "Vanilla"}, stored with the entry and available to the confirmation email.
|
tribe |
String
|
Slug of the tribe the entry is for; when it matches a tribe in the organisation, the entry and person are linked to that tribe.
|
business_name |
String
|
The entrant's business name, saved to the person record.
|
address_1 |
String
|
The first line of the entrant's street address, saved to the person only when their stored address is incomplete.
|
address_2 |
String
|
The second line of the entrant's street address, saved to the person only when their stored address is incomplete.
|
locality |
String
|
The entrant's suburb, town or city, saved to the person only when their stored address is incomplete.
|
state |
String
|
The entrant's state, province or region, saved to the person only when their stored address is incomplete.
|
country |
String
|
The entrant's country, saved to the person only when their stored address is incomplete.
|
postal_code |
Int
|
The entrant's postal code as a number, saved to the person only when their stored address is incomplete.
|
referral_person_id |
String
|
The encrypted referrer ID that Gorilla Dash returns to the promotion page when a visitor arrives through a referral link; leave it out when there is no referrer.
|
referral_method |
String
|
How the entrant was referred to the promotion, such as Facebook or Email, stored with the entry.
|
gorilla_user_key |
String
|
The visitor key set by the Gorilla Dash website tracking script, stored with the entry.
|
submitReview mutation
Records a review written on your website against a tribe, linked to a person record matched by email address and first name or created for the reviewer. The review is saved immediately and appears with the tribe's reviews in Gorilla Dash, and a 5-star review also sends the reviewer the organisation's review follow-up email. Returns an empty list.
Returns [String]
| Argument |
Type |
Description |
tribe_slug |
String!
required
|
Slug of the tribe being reviewed, which may belong to this website's organisation or to a connected organisation; the request fails if no tribe matches.
|
first_name |
String!
required
|
The reviewer's first name.
|
last_name |
String
|
The reviewer's last name, shown with the first name as the review author.
|
email |
String!
required
|
The reviewer's email address.
|
review |
String!
required
|
The text of the review.
|
rating |
Int!
required
|
The star rating as a whole number from 1 to 5.
|
data |
JsonParser
|
Any extra information to store with the review, as a JSON object.
|
tbaForgotPassword mutation
Starts a password reset for a website customer account by emailing the customer a link to your website's reset-password page, sent from the organisation with its logo and colour. Gorilla Dash adds a reset_token parameter to the link; the token expires after 60 minutes and can be used once, with resetLoginUserPassword. The link must be on one of the organisation's website domains. The email is sent before the mutation returns. Returns true when the email was sent. An account is sent at most 5 reset emails in 15 minutes; a request over that limit also returns true but sends nothing. Returns false when the organisation has no enabled account with that email address (including a disabled or cancelled account), or when the link is not on one of the organisation's website domains.
Returns Boolean
| Argument |
Type |
Description |
email |
String!
required
|
The email address of the account to reset.
|
url |
String!
required
|
The address of the page on your website where the customer chooses a new password, such as https://www.example.com/reset-password. It must be an http or https address on one of the organisation's website domains, without a username, password or non-standard port. Gorilla Dash adds the reset_token parameter before sending the email.
|
updateLoginUser mutation
Updates the details of a signed-in website customer account. Only the arguments you send are changed, and they are saved immediately to the account itself; the linked person record in Gorilla Dash is not updated. Returns a two-item list of the status code 201 and a confirmation message.
Returns [String]
| Argument |
Type |
Description |
token |
String!
required
|
The sign-in token returned by the logins query; an unknown token returns an Invalid token error and an expired one returns Token expired. A token for an account in another organisation, or for a disabled or cancelled account, also returns Invalid token.
|
first_name |
String!
required
|
The customer's first name, required on every call.
|
last_name |
String!
required
|
The customer's last name, required on every call.
|
email |
String!
required
|
The customer's email address, required on every call.
|
mobile_e164 |
String
|
The customer's mobile number in E.164 format, for example +61412345678; leave it out to keep the current number.
|
address_1 |
String
|
The first line of the customer's street address; leave it out to keep the current value.
|
locality |
String
|
The customer's suburb, town or city; leave it out to keep the current value.
|
state |
String
|
The customer's state, province or region; leave it out to keep the current value.
|
country |
String
|
The customer's country; leave it out to keep the current value.
|
postal_code |
String
|
The customer's postal code; leave it out to keep the current value.
|
password |
String
|
A new password, stored hashed; leave it out or send an empty string to keep the current password.
|
updateSavedList mutation
Adds a listing to, or removes one from, the saved listings of a signed-in website customer account. The change is saved immediately and the mutation returns the full list of saved listing IDs after the change.
Returns [Int]
| Argument |
Type |
Description |
token |
String!
required
|
The sign-in token returned by the logins query; an unknown token returns an Invalid token error and an expired one returns Token expired. A token for an account in another organisation, or for a disabled or cancelled account, also returns Invalid token.
|
id |
Int!
required
|
The ID of the listing to add or remove; adding an ID that is already saved adds it a second time.
|
process_type |
String!
required
|
Either add or remove; any other value returns an error.
|
Types
AppointmentAvailableTime object
The bookable appointment times for one appointment type at a tribe on one date.
| Field | Type | Description |
type |
String
|
The appointment type name, as passed to the query.
|
date |
String
|
The calendar date the times apply to, as Y-m-d in the timezone of the tribe. When the query is sent without a date, this is the date it used: today in the timezone of the tribe.
|
times |
JsonParser
|
Every slot within the tribe's opening hours for that date, as a list of objects with enable (false when an existing appointment already covers the slot), text (for display, for example 09:30 am) and value (24-hour HH:MM).
|
last_updated_at |
String
|
When the organisation's content last changed; the same value the lastUpdatedAt query returns.
|
Article object
A blog or news article, with its copy, SEO fields, categories and images.
| Field | Type | Description |
slug |
String!
|
Article slug
|
heading |
String!
|
Article heading
|
sub_heading |
String
|
Article sub heading
|
author |
String
|
Article author
|
meta_title |
String
|
Meta Title
|
meta_description |
String
|
Meta Description
|
abstract |
String
|
A short summary of the article.
|
article |
String
|
The article body.
|
status |
String
|
The article's publishing status: Published, Draft or Deleted.
|
article_categories |
[ArticleCategory!]!
|
Article categories
|
media_collection |
[MediaCollection!]!
|
Images attached to this record, grouped into named collections such as main, gallery or banner. Each image includes absolute CDN URLs for every size.
Arguments:
name: [String]
— Only return collections holding an image with this name in the media library.
size: [String]
— The collection names to return, for example main, gallery, banner, square, rectangle, portrait, thumbnail or original_cropped. Defaults to thumbnail, banner, square, rectangle, original, original_cropped, gallery, main, team_members and portrait. This chooses collections, not image sizes: every image returned includes the URL of each size.
|
last_updated_at |
String
|
The time of the request, not when the record changed. Use the lastUpdatedAt query to detect changes.
|
updated_at |
String
|
When the article itself was last saved.
|
created_at |
String
|
When the article was created.
|
html |
String
|
The article body as HTML, when the article is written with the visual editor.
|
no_index |
Boolean
|
Whether search engines should be told not to index the article.
|
meta_canonical |
String
|
The canonical URL for the article, when one is set.
|
editor_enabled |
Boolean
|
Whether the article uses a blog page template written with the visual editor.
|
facts_table |
JsonParser
|
A table of key facts about the article, as JSON.
|
top_bullet_points |
[String]
|
Short key points to show at the top of the article.
|
articleFields |
[articleFields]
|
Extra fields defined by the article's page template, with their values.
|
is_organisation |
Boolean
|
Whether this is an organisation-level article rather than one written only for specific tribes. Also true for a tribe's customised copy of an organisation article.
|
is_customised |
Boolean
|
Whether this is a tribe's customised copy of an organisation article.
|
related_articles |
[Article!]!
|
Other published articles that share a news link with this one, newest first. Only filled in for Gorilla Dash's own website; empty for every other organisation.
Arguments:
limit: Int
— Maximum number of related articles to return, at most 100. Defaults to 3.
|
feature_related_articles |
[Article!]!
|
Other published articles that feature the same website page, newest first. Only filled in for Gorilla Dash's own website; empty for every other organisation.
Arguments:
limit: Int
— Maximum number of articles to return, at most 100. Defaults to 3.
|
prev |
Article
|
The previous (older) published article in the same listing. Only available when fetching a single article; requesting it inside a list returns an error.
Arguments:
categories: [String]
— Keep the neighbour inside these article categories, by name or slug. Pass all to ignore categories.
|
next |
Article
|
The next (newer) published article in the same listing. Only available when fetching a single article; requesting it inside a list returns an error.
Arguments:
categories: [String]
— Keep the neighbour inside these article categories, by name or slug. Pass all to ignore categories.
|
gorilla_news_links |
[GorillaNewsLink!]!
|
Gorilla Dash news links (people and businesses mentioned) attached to the article.
|
feature_website_page_id |
Int
|
The id of the website page this article features, if any.
|
feature_website_page |
websitePage
|
The website page this article features, if any.
|
ArticleCategory object
A category that groups articles, with its heading, caption and images.
| Field | Type | Description |
name |
String
|
Article category name
|
slug |
String
|
Article category slug
|
heading |
String
|
Article category heading
|
caption |
String
|
Article category caption
|
articles_count |
Int!
|
Number of articles in the category.
|
articles |
[Article]
|
Articles in the category, newest first.
Arguments:
status: String
— Ignored. Only published articles are returned.
|
media_collection |
[MediaCollection!]!
|
Images attached to this record, grouped into named collections such as main, gallery or banner. Each image includes absolute CDN URLs for every size.
Arguments:
name: [String]
— Only return collections holding an image with this name in the media library.
size: [String]
— The collection names to return, for example main, gallery, banner, square, rectangle, portrait, thumbnail or original_cropped. Defaults to thumbnail, banner, square, rectangle, original, original_cropped, gallery, main, team_members and portrait. This chooses collections, not image sizes: every image returned includes the URL of each size.
|
articlesPagination |
ArticlePagination
|
Articles in the category, newest first, one page at a time.
Arguments:
status: String
— Ignored. Only published articles are returned.
page: Int
— Page number to return, starting at 1. Defaults to 1.
itemsPerPage: Int
— Number of articles per page, at most 100. Defaults to 15.
|
last_updated_at |
String
|
The time of the request, not when the record changed. Use the lastUpdatedAt query to detect changes.
|
articleFields object
A custom field on an article, defined by the article's page template.
| Field | Type | Description |
name |
String
|
Article field name
|
source |
String
|
Where the field comes from, for example template.
|
type |
String
|
The field type, for example Short Text, Rich Text or Single Image.
|
value |
String
|
The field value in the requested locale. Null for image fields; read media_collection instead.
|
media_collection |
[MediaCollection!]!
|
Images held by this content, grouped into named collections, using the requested locale's images when a translation has its own. Each image includes absolute CDN URLs for every size.
Arguments:
name: [String]
— Only return collections holding an image with this name in the media library.
size: [String]
— The collection names to return, for example main, gallery, banner, square, rectangle, portrait, thumbnail or original_cropped. Defaults to thumbnail, banner, square, rectangle, original, original_cropped, gallery, main, team_members and portrait. This chooses collections, not image sizes: every image returned includes the URL of each size.
|
ArticlePagination object
| Field | Type | Description |
data |
[Article!]!
|
List of items on the current page
|
total |
Int!
|
Number of total items selected by the query
|
per_page |
Int!
|
Number of items returned per page
|
current_page |
Int!
|
Current page of the cursor
|
from |
Int
|
Number of the first item returned
|
to |
Int
|
Number of the last item returned
|
last_page |
Int!
|
The last page (number of pages)
|
has_more_pages |
Boolean!
|
Determines if cursor has more pages after the current page
|
ChatbotCitation object
A source the chatbot used for its reply, such as a website page or a tribe.
| Field | Type | Description |
id |
String
|
The id of the source record.
|
heading |
String
|
The title of the source.
|
url |
String
|
The URL of the source, when it has one.
|
source_type |
String
|
The kind of source, for example tribe.
|
ChatbotReply object
The chatbot's reply to a website visitor, with the conversation token and any tribes or sources it refers to.
| Field | Type | Description |
session_token |
String
|
The token for this conversation. Send it with the visitor's next message to continue the same conversation.
|
reply |
String
|
The chatbot's reply text. When a conversation starts without a first message, this is the greeting.
|
greeting |
String
|
The chatbot's greeting when a conversation is started; otherwise null.
|
lead_captured |
Boolean
|
Whether this reply captured the visitor's details as an enquiry.
|
tribe |
ChatbotSuggestedTribe
|
The tribe the conversation is tied to, if any.
|
suggested_tribes |
[ChatbotSuggestedTribe]
|
Tribes the chatbot suggested in this reply.
|
tribe_choice |
Boolean
|
Whether suggested_tribes is a choice to put to the visitor (render them as selectable locations) rather than background context.
|
citations |
[ChatbotCitation]
|
The sources the chatbot used for this reply.
|
ChatbotSuggestedTribe object
A tribe, one location of the organisation, that the chatbot suggested or tied the conversation to.
| Field | Type | Description |
id |
Int
|
The tribe id.
|
name |
String
|
The tribe's name.
|
slug |
String
|
The tribe's URL slug.
|
locality |
String
|
The tribe's suburb, town or city.
|
distance |
Float
|
Straight-line distance from the visitor in statute miles. Null when no distance was calculated.
|
distance_km |
Float
|
Straight-line distance from the visitor in kilometres.
|
distance_label |
String
|
That distance ready to show a visitor, in the unit the business's country uses (e.g. "24 km", "15 miles").
|
childWebsite object
A website that belongs to a child organisation of this website's organisation.
| Field | Type | Description |
organisation_id |
Int
|
The id of the child organisation that owns the website.
|
website_url |
String
|
The child website's public base URL.
|
base_tribes_path |
String
|
Path prefix for tribe pages on the child website; a tribe's path is this prefix followed by its slug.
|
Component object
A reusable block of content created by the organisation, with its named contents and the products, ranges, categories and tribes it relates to.
| Field | Type | Description |
name |
String
|
Component name
|
slug |
String
|
Component slug
|
status |
String
|
Component status
|
contents |
[ComponentContent!]!
|
Component contents
Arguments:
name: [String]
— Name of content
type: [String]
— Type of content
|
products |
[Product]
|
Products linked to the component.
|
product_ranges |
[ProductRange]
|
Product ranges linked to the component.
|
product_categories |
[ProductCategory]
|
Product categories linked to the component.
|
last_updated_at |
String
|
The time of the request, not when the record changed. Use the lastUpdatedAt query to detect changes.
|
related_products |
[Product]
|
Related products
|
related_product_ranges |
[ProductRange]
|
Related product ranges
|
related_product_categories |
[ProductCategory]
|
Related product categories
|
related_tribes |
[Tribe]
|
Related tribes
|
ComponentContent object
One named value inside a component, such as a heading, a block of text or a gallery.
| Field | Type | Description |
name |
String
|
Component content name
|
type |
String
|
The content type, for example Short Text, Rich Text, Date, Single Image or Gallery.
|
value |
String
|
The text value in the requested locale. Null for image content; read media_collection instead.
|
media_collection |
[MediaCollection!]!
|
Images held by this content, grouped into named collections, using the requested locale's images when a translation has its own. Each image includes absolute CDN URLs for every size.
Arguments:
name: [String]
— Only return collections holding an image with this name in the media library.
size: [String]
— The collection names to return, for example main, gallery, banner, square, rectangle, portrait, thumbnail or original_cropped. Defaults to thumbnail, banner, square, rectangle, original, original_cropped, gallery, main, team_members and portrait. This chooses collections, not image sizes: every image returned includes the URL of each size.
|
last_updated_at |
String
|
The start of the current day, not when the record changed. Use the lastUpdatedAt query to detect changes.
|
ComponentType object
A type of reusable content component defined by the organisation, with the components created from it.
| Field | Type | Description |
name |
String
|
Component type name
|
status |
String
|
Component type status
|
base_path |
String
|
The base path configured for this component type.
|
components |
[Component!]!
|
The active components of this type, in their saved order.
Arguments:
tribe_slug: String
— Slug of the tribe whose store settings, such as tribe pricing, apply to the components.
|
last_updated_at |
String
|
The time of the request, not when the record changed. Use the lastUpdatedAt query to detect changes.
|
CustomOpeningHour object
Special opening hours for a tribe on one date, such as a public holiday.
| Field | Type | Description |
organisation_id |
Int!
|
The id of the organisation the tribe belongs to.
|
tribe_id |
Int!
|
The id of the tribe the hours apply to.
|
name |
String!
|
The name of the occasion, for example a public holiday.
|
date |
String!
|
The date the special hours apply to.
|
open |
String!
|
The opening time. Uses 12-hour format, for example 9:00 am, when the tribe is set to 12-hour time.
|
close |
String!
|
The closing time. Uses 12-hour format, for example 5:30 pm, when the tribe is set to 12-hour time.
|
EnquiryForm object
An enquiry form and its fields.
| Field | Type | Description |
name |
String!
|
The form's name.
|
slug |
String
|
The form's slug: the key submitEnquiry and enquiryForm(slug:) find it by. Renaming the form does not change it.
|
fields |
[EnquiryFormField!]!
|
The fields on the form.
|
sms_consent |
SmsConsent
|
The SMS consent wording to show on the form. Pass tribe_slug for the tribe the enquiry will be sent to: a tribe uses its organisation's wording unless it has set its own. Without tribe_slug the organisation's wording is returned. An unknown tribe_slug makes this field null with an error, leaving the rest of the form intact.
Arguments:
tribe_slug: String
— The slug of the tribe the enquiry will be sent to.
|
EnquiryFormField object
One field on an enquiry form.
| Field | Type | Description |
name |
String!
|
The field's name.
|
type |
String!
|
The field's type.
|
value |
JsonParser
|
The field's value or options, as JSON.
|
FoodComponent object
An ingredient used in food products, with its unit of measurement.
| Field | Type | Description |
name |
String!
|
The ingredient's name.
|
measurement |
String!
|
The unit the ingredient is measured in.
|
measurement_size |
String!
|
The measurement size that goes with measurement.
|
FoodCouponAvailable object
The result of checking a food coupon code against an order amount at a tribe, with the discount it gives.
| Field | Type | Description |
id |
Int!
|
The id of the food coupon
|
code |
String!
|
The code of the food coupon
|
value |
Int!
|
The coupon's value: a percentage for Percent Discount coupons, or an amount in whole currency units for Amount Discount coupons.
|
type |
String!
|
The coupon type: Percent Discount, Amount Discount or Menu Item.
|
origin_amount |
Int!
|
The order amount the coupon was checked against, in the smallest currency unit (for example cents).
|
discount_amount |
Int!
|
The discount the coupon gives, in the smallest currency unit (for example cents). Zero for Menu Item coupons.
|
amount |
Int!
|
The order amount after the discount, in the smallest currency unit (for example cents).
|
food_menu_item |
FoodMenuItem
|
The free menu item the coupon gives, for Menu Item coupons; otherwise null.
|
FoodModifier object
One option in a modifier group, such as a size or an extra topping.
| Field | Type | Description |
id |
Int!
|
Food modifier id
|
label |
String!
|
The option label shown to customers.
|
price |
Float!
|
The extra charge for the option, in major currency units (for example dollars).
|
quantity |
Float!
|
The option's quantity.
|
link_product |
Boolean!
|
Whether the option is linked to a product.
|
FoodModifierGroup object
A group of options customers choose from for a menu item, such as sizes or extras, with its selection rules.
| Field | Type | Description |
id |
Int!
|
Food modifier group id
|
name |
String!
|
The group's name.
|
label |
String
|
The label shown to customers.
|
minimum_selection |
Int
|
The fewest options a customer must choose.
|
maximum_selection |
Int
|
The most options a customer may choose.
|
no_minimum |
Boolean
|
Whether there is no minimum number of options.
|
no_maximum |
Boolean
|
Whether there is no maximum number of options.
|
enable_qty |
Boolean
|
Whether customers can choose a quantity of each option.
|
foodModifiers |
[FoodModifier!]!
|
The options in the group that are offered on Gorilla Dash-powered ordering.
|
FoodOrderingPortal object
An online food ordering portal set up for a customer, with its menu and contact details.
| Field | Type | Description |
name |
String!
|
The portal's name.
|
slug |
String!
|
The portal's URL slug.
|
status |
String!
|
The portal's status.
|
heading |
String
|
The heading shown at the top of the portal.
|
sub_heading |
String
|
The sub heading shown under the heading.
|
description |
String
|
The portal's description.
|
ordering_instructions |
String
|
Instructions shown to people placing an order.
|
customer_main_contact_name |
String
|
The name of the customer's main contact.
|
customer_main_contact_email |
String
|
The email address of the customer's main contact.
|
customer_main_contact_telephone |
String
|
The telephone number of the customer's main contact, as entered.
|
sales_flow |
String
|
How orders from the portal are processed, for example Online Order.
|
no_index |
Boolean
|
Whether search engines should be told not to index the portal.
|
foodMenu |
FoodMenu
|
The food menu customers order from.
|
FoodOrderingPortalLocation object
A delivery or pickup location on a food ordering portal, with its address and contact details.
| Field | Type | Description |
name |
String!
|
The location's name.
|
external_id |
String
|
The location's id in an external system.
|
tribe_id |
Int
|
The id of the tribe that fulfils orders for this location.
|
status |
String!
|
The location's status.
|
address_1 |
String
|
The first line of the street address.
|
address_2 |
String
|
The second line of the street address.
|
locality |
String
|
The suburb, town or city.
|
state |
String
|
The state or province.
|
postcode |
String
|
The postcode.
|
country |
String
|
The country.
|
notes |
String
|
Notes about the location.
|
telephone_e164 |
String
|
The location's telephone number in E.164 format, for example +61412345678.
|
contact_name |
String
|
The name of the contact at the location.
|
contact_email |
String
|
The email address of the contact at the location.
|
allow_pickup |
Boolean
|
Whether customers can pick up orders.
|
allow_delivery |
Boolean
|
Whether orders can be delivered.
|
tribe |
Tribe
|
The tribe that fulfils orders for this location.
|
FoodProduct object
A food product that menu items are made from, with its ingredients and images.
| Field | Type | Description |
id |
Int!
|
Food product id
|
name |
String!
|
The product's name.
|
description |
String
|
The product's description.
|
media_collection |
[MediaCollection!]!
|
Images attached to this record, grouped into named collections such as main, gallery or banner. Each image includes absolute CDN URLs for every size.
Arguments:
name: [String]
— Only return collections holding an image with this name in the media library.
size: [String]
— The collection names to return, for example main, gallery, banner, square, rectangle, portrait, thumbnail or original_cropped. Defaults to thumbnail, banner, square, rectangle, original, original_cropped, gallery, main, team_members and portrait. This chooses collections, not image sizes: every image returned includes the URL of each size.
|
foodProductComponents |
[FoodProductComponent!]!
|
The ingredients in the product, with the quantity of each.
|
FoodProductComponent object
An ingredient used in a food product, with the quantity used.
| Field | Type | Description |
quantity |
Float!
|
The quantity of the ingredient used.
|
measurement |
String!
|
The unit the quantity is measured in.
|
measurement_size |
String!
|
The measurement size that goes with measurement.
|
foodComponent |
FoodComponent!
|
The ingredient.
|
FoodShoppingCart object
A visitor's food shopping cart.
| Field | Type | Description |
session_id |
String!
|
The session id the cart belongs to.
|
foodShoppingCartItems |
[FoodShoppingCartItem!]
|
The items in the cart.
|
FoodShoppingCartItem object
An item in a food shopping cart, with the options chosen and its calculated prices.
| Field | Type | Description |
id |
Int!
|
The id of the shopping cart item
|
quantity |
Int!
|
The quantity of the shopping cart item
|
foodShoppingCartModifiers |
[FoodShoppingCartModifier!]
|
The options chosen for the item.
|
foodMenuListItem |
FoodMenuListItem!
|
The menu entry the item was added from.
|
foodMenuItem |
FoodMenuItem!
|
The dish that was added.
|
unit_price |
Float!
|
The price of one item before options and tax, in major currency units (for example dollars), priced for the cart's tribe on the menu entry the item was added from — the same price the checkout charges for a cart tied to a tribe. A cart that is not tied to a tribe until checkout (an ordering portal cart) shows the organisation-wide price here and is charged the price of the tribe chosen at checkout.
|
tax |
Float!
|
The tax on this line, in major currency units (for example dollars), calculated from the store's tax settings.
|
sub_total |
Float!
|
The unit price times the quantity, plus the chosen options, in major currency units (for example dollars), before tax is applied.
|
total |
Float!
|
The line total after applying the store's tax settings, in major currency units (for example dollars).
|
FoodShoppingCartModifier object
An option a customer chose for an item in their food shopping cart.
| Field | Type | Description |
quantity |
Int!
|
How many of this option were chosen.
|
foodModifierGroup |
FoodModifierGroup!
|
The modifier group the option belongs to.
|
foodModifier |
FoodModifier!
|
The chosen option.
|
FoodTribeAvailableTime object
The pickup or delivery times a tribe can offer for food orders on one date.
| Field | Type | Description |
date |
String
|
The date the times apply to.
|
times |
JsonParser
|
Available times in 15-minute steps, as a list of objects with text (for display, for example 09:30 am) and value (24-hour HH:MM). Allows for the store's preparation time and, when the store only delivers during opening hours, the tribe's opening and special hours.
|
Form object
A published standalone form definition. Internal notification settings and respondent data are not exposed.
| Field | Type | Description |
id |
ID!
|
|
name |
String!
|
|
slug |
String!
|
|
heading |
String
|
|
message |
String
|
|
submit_label |
String
|
|
fields |
JsonParser
|
Ordered field definitions with key, label, type, required and type-specific options. Use each key in answers when submitting.
|
accepts_files |
Boolean!
|
|
FormResponse object
Receipt for an accepted standalone form response.
| Field | Type | Description |
id |
ID!
|
|
thankyou |
String
|
|
redirect_url |
String
|
|
GorillaNewsLink object
A person or business mentioned in a Gorilla Dash news article, with links and hashtags for sharing.
| Field | Type | Description |
type |
String
|
Whether the link is for a Person or a Business.
|
string |
String
|
The text of the link.
|
link_url |
String
|
The URL the link points to.
|
facebook_hashtag |
String
|
The hashtag to use when sharing on Facebook.
|
linkedin_hashtag |
String
|
The hashtag to use when sharing on LinkedIn.
|
image_url |
String
|
The URL of an image of the person or business.
|
Inventory object
A tribe's stock record for a product, with its price, quantity and custom data.
| Field | Type | Description |
id |
Int
|
The stock record id.
|
unit_price |
Float
|
The unit price, in major currency units (for example dollars).
|
quantity |
Int
|
The quantity in stock.
|
variants |
JsonParser
|
The product variant the stock is for, as JSON.
|
customData |
[InventoryCustomData]
|
Custom fields recorded for the stock.
|
friendly_name |
String
|
A display name for the stock record.
|
InventoryCustomData object
A custom field on a tribe's stock record.
| Field | Type | Description |
name |
String
|
The custom field name.
|
type |
String
|
The custom field type.
|
value |
JsonParser
|
The field value as JSON. For image fields, a list of objects with name and media, where media maps a collection name to an absolute CDN URL.
|
JsonParser scalar
Any JSON value: an object, array, string, number, boolean or null. The shape depends on the field or argument, as its description explains.
LoginAttribute object
A value stored against a customer login for an external platform.
| Field | Type | Description |
platform |
String!
|
The platform the value belongs to, for example x2.
|
attribute_name |
String!
|
The attribute name.
|
type |
String!
|
How to read attribute_value: string, boolean or json.
|
attribute_value |
String
|
The stored value, as a string.
|
LoginToken object
A token that identifies a logged-in customer in later requests.
| Field | Type | Description |
token |
String!
|
The customer login token. Pass it as the token argument of the customer queries and mutations.
|
loginUserByToken object
The customer a login token belongs to, with their contact details and stored attributes.
| Field | Type | Description |
email |
String!
|
The customer's email address.
|
first_name |
String!
|
First name
|
last_name |
String!
|
Last name
|
mobile_e164 |
String
|
The mobile number in E.164 format, for example +61412345678.
|
mobile_display |
String
|
The mobile number formatted for display.
|
mobile_code |
String
|
The dialling code of the mobile number, for example +61.
|
mobile_country |
String
|
The two-letter country code of the mobile number, for example AU.
|
address_1 |
String
|
The first line of the street address.
|
locality |
String
|
The suburb, town or city.
|
state |
String
|
The state or province.
|
country |
String
|
Country
|
postal_code |
String
|
The postal code.
|
loginAttributes |
[LoginAttribute!]
|
Values stored against the login for one platform.
Arguments:
platform: String!
— The platform to return values for, for example x2.
attribute_names: [String]!
— The attribute names to return.
|
Media object
One image or file from the media library, with an absolute CDN URL for each size.
| Field | Type | Description |
default |
String!
|
Absolute CDN URL of the original uploaded file. Use it for files that are not images, such as PDFs.
|
thumbnail |
String!
|
Absolute CDN URL of the thumbnail, 300 pixels wide. Empty string when this size has not been generated.
|
banner |
String!
|
Absolute CDN URL of the banner crop, 1500 x 750 pixels unless the organisation has changed its media sizes. Empty string when this size has not been generated.
|
square |
String!
|
Absolute CDN URL of the square crop, 600 x 600 pixels unless the organisation has changed its media sizes. Empty string when this size has not been generated.
|
rectangle |
String!
|
Absolute CDN URL of the rectangle crop, 1200 x 800 pixels unless the organisation has changed its media sizes. Empty string when this size has not been generated.
|
original_cropped |
String!
|
Absolute CDN URL of the image at its original dimensions with the chosen crop applied. Empty string when this size has not been generated.
|
portrait |
String!
|
Absolute CDN URL of the portrait crop, 600 x 800 pixels unless the organisation has changed its media sizes. Empty string when this size has not been generated.
|
alt_tag |
String
|
Alternative text for the image, when available.
|
tribes |
[Tribe!]!
|
The tribes the image is shared with.
|
approved |
Boolean
|
Whether the image is approved for use, when available.
|
MediaCollection object
A named group of images attached to a record, such as its main image or its gallery.
| Field | Type | Description |
name |
String
|
The collection name, for example main, gallery, banner or square.
|
media |
[Media!]!
|
The images in the collection.
|
description |
String
|
Always an empty string.
|
organisation object
The organisation that owns the website, with its currency, public contact details and media library.
| Field | Type | Description |
name |
String
|
The organisation's name.
|
currency |
String
|
The organisation's currency code, for example AUD or USD.
|
currency_symbol |
String
|
The symbol to show beside prices, for example $.
|
tel_e164 |
String
|
The organisation's public telephone number in E.164 format, for example +61412345678.
|
email_address |
String
|
The organisation's public email address.
|
all_media |
[OriginMedia]
|
Approved items in the organisation's media library, 20 by default.
Arguments:
count: Int
— Maximum number of items to return, at most 100. Defaults to 20.
order: String
— The field to sort by: id, name, type, is_star, quality_score, created_at or updated_at, optionally prefixed with media.. Any other value sorts by id. When omitted, items are returned in no particular order.
desc: Boolean
— Sort in descending order when true; ascending otherwise.
size: [String]
— Sizes to include in each item's url: default (the original file), thumbnail, banner, square, rectangle, portrait, original_cropped or original_small. Defaults to default only.
id: [Int]
— Only return items with these ids.
star: Boolean
— Only return starred items when true.
|
OrgChartPerson object
A team member from the organisation chart, with the contact details they have chosen to make public.
| Field | Type | Description |
first_name |
String
|
The person's first name.
|
last_name |
String
|
The person's last name.
|
email |
String
|
The person's email address. Null unless email_public is true.
|
about |
String
|
The person's profile text.
|
role |
String
|
The person's job title.
|
avatar |
String
|
Absolute URL of the person's profile photo, using the cropped version when there is one. Empty when there is no photo.
|
tribe |
Tribe
|
The tribe the person works at.
|
mobile_e164 |
String
|
The person's mobile number in E.164 format. Null unless mobile_public is true.
|
telephone_number |
String
|
The person's telephone number, as entered. Null unless telephone_public is true.
|
telephone_extension |
String
|
The person's telephone extension. Null unless telephone_public is true.
|
email_public |
Boolean
|
Whether the person's email address may be shown publicly.
|
mobile_public |
Boolean
|
Whether the person's mobile number may be shown publicly.
|
telephone_public |
Boolean
|
Whether the person's telephone number may be shown publicly.
|
show_on_website |
Boolean
|
Whether the person should be listed on the website.
|
positions |
[OrgChartPosition]
|
The positions the person holds, in their saved order.
|
teamMemberCustomFields |
[TeamMemberCustomField!]!
|
The organisation's team member custom fields, with this person's value for each
|
OrgChartPosition object
A position a team member holds, such as store manager.
| Field | Type | Description |
name |
String
|
The position name.
|
description |
String
|
A description of the position.
|
order |
Int
|
Sort order of the position.
|
OriginMedia object
An item in an organisation's or tribe's media library, as returned by all_media.
| Field | Type | Description |
id |
Int
|
The media library item id.
|
name |
String
|
The name given to the item in the media library.
|
alt_tag |
String
|
Alternative text for the image.
|
media |
[Media]
|
The stored files behind the item. Use url for links.
|
description |
String
|
Always an empty string.
|
url |
JsonParser
|
Absolute CDN URLs for the sizes requested with the size argument of all_media, as a list of single-key objects, for example [{"default": "https://..."}, {"square": "https://..."}]. A size that has not been generated is an empty string.
|
is_star |
Boolean
|
Whether the item is starred in the media library.
|
approved |
Boolean
|
Whether the item is approved for use.
|
categories |
[String]
|
Names of the media library categories the item belongs to. Only filled in on a tribe's all_media.
|
OurWork object
A case study or example of work, with its copy, client details and images.
| Field | Type | Description |
heading |
String
|
The heading, in the requested locale.
|
sub_heading |
String
|
The sub heading.
|
meta_title |
String
|
The meta title, in the requested locale.
|
meta_description |
String
|
The meta description, in the requested locale.
|
author |
String
|
The author.
|
client_name |
String
|
The client's name.
|
client_url |
String
|
A link to the client's website.
|
excerpt |
String
|
A short summary, in the requested locale.
|
article |
String
|
The full write-up, in the requested locale.
|
tribe |
Tribe
|
The tribe that did the work.
|
status |
String
|
The status, for example Published or Draft.
|
slug |
String
|
The URL slug, in the requested locale.
|
media_collection |
[MediaCollection!]!
|
Images attached to this record, grouped into named collections such as main, gallery or banner. Each image includes absolute CDN URLs for every size.
Arguments:
name: [String]
— Only return collections holding an image with this name in the media library.
size: [String]
— The collection names to return, for example main, gallery, banner, square, rectangle, portrait, thumbnail or original_cropped. Defaults to thumbnail, banner, square, rectangle, original, original_cropped, gallery, main, team_members and portrait. This chooses collections, not image sizes: every image returned includes the URL of each size.
|
published_at |
String
|
When the work was, or will be, published.
|
no_index |
Boolean
|
Whether search engines should be told not to index the page.
|
Product object
A product, with its page copy, pricing, SKUs, custom data, images and the ranges and categories it belongs to.
| Field | Type | Description |
id |
Int
|
Product id
|
name |
String
|
The product name, in the requested locale.
|
menu_label |
String
|
The label to use in navigation menus, in the requested locale.
|
status |
String
|
The product status, for example Active.
|
slug |
String
|
Product slug
|
heading |
String
|
Product heading
|
sub_heading |
String
|
Product subheading
|
caption |
String
|
Product caption
|
description |
String
|
Product description
|
meta |
String
|
Product meta
|
page_heading |
String
|
Product page heading
|
page_sub_heading |
String
|
Product page subheading
|
media_collection |
[MediaCollection!]!
|
Images attached to this record, grouped into named collections such as main, gallery or banner. Each image includes absolute CDN URLs for every size.
Arguments:
name: [String]
— Only return collections holding an image with this name in the media library.
size: [String]
— The collection names to return, for example main, gallery, banner, square, rectangle, portrait, thumbnail or original_cropped. Defaults to thumbnail, banner, square, rectangle, original, original_cropped, gallery, main, team_members and portrait. This chooses collections, not image sizes: every image returned includes the URL of each size.
|
componentTypes |
[ComponentType]
|
Component types used by components on this product, with their components.
Arguments:
name: [String]
— Name of component types
|
product_ranges |
[ProductRange!]!
|
Active product ranges the product belongs to.
|
product_ranges_count |
Int
|
Number of product ranges the product belongs to.
|
product_categories |
[ProductCategory!]!
|
Active product categories the product belongs to.
|
product_categories_count |
Int
|
Number of product categories the product belongs to.
|
product_type |
ProductType
|
The product type, which defines the product's custom fields.
|
product_related_products |
[Product]
|
Related Products
|
path |
String
|
The product's path on the website: the website's base_products_path followed by the product slug.
|
supplier_status |
String
|
The product's status with its supplier.
|
identifier |
String
|
The supplier's identifier for the product. Null with a read-only browser token; query it from your website's server.
|
has_tribe_custom_data |
Boolean
|
Whether the tribe given by tribe_slug has its own values for this product. False when no tribe_slug is given.
Arguments:
tribe_slug: String
— Slug of the tribe to check.
website_id: Int
— Website ID. Ignored — tribe product overrides are scoped to the tribe, not a website. Accepted so existing website queries keep working.
|
product_custom_data |
[ProductCustomData]
|
The product's custom fields in the requested locale, with the tribe's own values used instead when tribe_slug is given.
Arguments:
tribe_slug: String
— Slug of the tribe whose own values should be used.
website_id: Int
— Website ID. Ignored — tribe product overrides are scoped to the tribe, not a website. Accepted so existing website queries keep working.
|
product_skus |
[ProductSku]
|
The product's SKUs. Empty unless the product is available in the online shop.
|
features |
JsonParser
|
The product's features in the requested locale, as JSON.
|
supplier |
ProductSupplier
|
The product's supplier. Null with a read-only browser token; query it from your website's server.
|
last_updated_at |
String
|
The time of the request, not when the record changed. Use the lastUpdatedAt query to detect changes.
|
inventories |
[Inventory]
|
Tribe stock records for the product.
Arguments:
id: Int
— Only return the stock record with this id.
tribe_slug: String
— Only return stock for the tribe with this slug.
tribe_id: Int
— Only return stock for the tribe with this id.
|
price_brackets |
JsonParser
|
The supplier's quantity brackets, as JSON: each gives only its quantity, which can be used as the minimum order. Prices are in product_store_price_brackets.
|
additional_costs |
JsonParser
|
The supplier's additional costs, as JSON, without their prices. Prices are in product_store_additional_costs.
|
artwork_specification_pdf_url |
String
|
The URL of the artwork specification PDF, when the product has one.
|
minimum_quantity |
String
|
The minimum quantity that can be ordered.
|
colours |
[ProductColour]
|
The colours the product is available in.
|
secondary_colours |
[ProductColour]
|
Secondary colours the product is available in.
|
branding_options |
JsonParser
|
Branding options for the product, as JSON, without their prices. Prices are in product_store_customisations.
|
full_colour_branding |
Int
|
full_colour_branding
|
image_count_branding |
Int
|
image_count_branding
|
primary_price_description |
String
|
Text shown with the product's primary price.
|
primary_pricing_comment |
String
|
Always null. The supplier's pricing comment is not published; the field is kept so existing website queries keep working.
|
shop_active |
Boolean
|
Whether the product is available in the online shop.
|
customisation_prices_processed |
Boolean
|
Whether the product's customisation prices have been calculated.
|
product_store_additional_costs |
[ProductStoreAdditionalCost]
|
Additional costs customers can add in the online store, using the tribe's own prices when tribe_slug is given.
Arguments:
tribe_slug: String
— Slug of the tribe whose own prices should be used.
|
product_store_customisations |
[ProductStoreCustomisation]
|
Customisations customers can add in the online store, using the tribe's own prices when tribe_slug is given.
Arguments:
tribe_slug: String
— Slug of the tribe whose own prices should be used.
|
product_store_price_brackets |
[ProductStorePriceBracket]
|
Quantity price brackets for the online store, using the tribe's own prices when tribe_slug is given.
Arguments:
tribe_slug: String
— Slug of the tribe whose own prices should be used.
|
product_store_colours |
[ProductStoreColour]
|
Colour options for the product in the online store.
|
product_store_setting |
ProductStoreSetting
|
The product's online store settings.
|
enable_variant_prices |
Boolean
|
Whether each variant has its own price.
|
product_variants |
JsonParser
|
The product's variant options and their values, as JSON.
|
product_sku_variants |
JsonParser
|
The product's SKUs with the variant values each one represents, as JSON.
|
url |
String
|
Always null. Build the URL from slug and the base paths in websiteInfo.
|
installation_available |
Boolean
|
Whether installation can be added: true when the product is in the online shop and its primary SKU has an installation cost.
|
seo_review_count |
Int
|
The number of reviews to show in the product's search engine results.
|
seo_review_average |
Float
|
The average review rating to show in the product's search engine results.
|
websiteComponents |
[Component]
|
Active website components linked to the product.
|
tribe_custom_images |
[MediaCollection!]
|
Images a tribe has set to replace this record's own images on its pages. Null unless images_tribe_slug is given.
Arguments:
name: [String]
— Only return collections holding an image with this name in the media library.
size: [String]
— The collection names to return, for example main, gallery, banner, square, rectangle, portrait, thumbnail or original_cropped. Defaults to thumbnail, banner, square, rectangle, original, original_cropped, gallery, main, team_members and portrait. This chooses collections, not image sizes: every image returned includes the URL of each size.
images_tribe_slug: String
— Slug of the tribe whose replacement images to return.
|
ProductCategory object
A product category, with its page copy, SEO fields, images and the products and ranges in it.
| Field | Type | Description |
id |
Int
|
Product category id
|
name |
String
|
The category name, in the requested locale.
|
menu_label |
String
|
The label to use in navigation menus, in the requested locale.
|
status |
String
|
The category status, for example Active.
|
slug |
String
|
Product category slug
|
heading |
String
|
Product category heading
|
sub_heading |
String
|
Product category subheading
|
caption |
String
|
Product category caption
|
description |
String
|
Product category description
|
meta |
String
|
Product category meta
|
page_heading |
String
|
Product category page heading
|
page_sub_heading |
String
|
Product category page subheading
|
introduction |
String
|
Product category introduction text
|
meta_title |
String
|
Meta Title
|
meta_description |
String
|
Meta Description
|
show_gallery |
Boolean
|
Show gallery
|
componentTypes |
[ComponentType]
|
Component types used by components on this category, with their components.
Arguments:
name: [String]
— Name of component types
|
media_collection |
[MediaCollection!]!
|
Images attached to this record, grouped into named collections such as main, gallery or banner. Each image includes absolute CDN URLs for every size.
Arguments:
name: [String]
— Only return collections holding an image with this name in the media library.
size: [String]
— The collection names to return, for example main, gallery, banner, square, rectangle, portrait, thumbnail or original_cropped. Defaults to thumbnail, banner, square, rectangle, original, original_cropped, gallery, main, team_members and portrait. This chooses collections, not image sizes: every image returned includes the URL of each size.
|
products |
[Product]
|
Active products in the category.
Arguments:
sortBy: [String]
— The field to sort products by. Only the first value is used.
onlyShop: [Boolean]
— Pass [true] to return only products available in the online shop.
|
products_count |
Int
|
Number of products in the category.
|
product_ranges |
[ProductRange]
|
Active product ranges in the category, in their saved order.
|
product_ranges_count |
Int
|
Number of product ranges in the category.
|
processed_products_count |
Int
|
Number of products in the category whose customisation prices have been calculated.
|
path |
String
|
The category's path on the website: the website's base_categories_path followed by the category slug.
|
url |
String
|
Always null. Build the URL from slug and the base paths in websiteInfo.
|
parents |
[ProductCategory]
|
Product category parents
|
children |
[ProductCategory]
|
Product category children
|
last_updated_at |
String
|
The time of the request, not when the record changed. Use the lastUpdatedAt query to detect changes.
|
all_children_in_supplier |
[ProductCategory]
|
all category children in current supplier
|
shop_products |
[Product]
|
Products in the category that are available in the online shop.
|
websiteComponents |
[Component]
|
Active website components linked to the category.
|
tribe_custom_images |
[MediaCollection!]
|
Images a tribe has set to replace this record's own images on its pages. Null unless images_tribe_slug is given.
Arguments:
name: [String]
— Only return collections holding an image with this name in the media library.
size: [String]
— The collection names to return, for example main, gallery, banner, square, rectangle, portrait, thumbnail or original_cropped. Defaults to thumbnail, banner, square, rectangle, original, original_cropped, gallery, main, team_members and portrait. This chooses collections, not image sizes: every image returned includes the URL of each size.
images_tribe_slug: String
— Slug of the tribe whose replacement images to return.
|
tribe_product_categories |
[tribeProductCategoryType]
|
The wording a tribe has customised for this category, for the tribe given by tribe_slug.
Arguments:
tribe_slug: String!
— Slug of the tribe to return customisations for.
|
has_tribe_custom_data |
Boolean
|
Whether the tribe given by tribe_slug has customised this category on the website given by website_id. False unless both are given.
Arguments:
tribe_slug: String
— Slug of the tribe to check.
website_id: Int
— The id of the website the customisation belongs to.
|
ProductColour object
A colour a product is available in.
| Field | Type | Description |
name |
String
|
The colour name.
|
hex |
String
|
The colour's hex code.
|
ProductCustomData object
A custom field on a product, as defined by the product's type.
| Field | Type | Description |
name |
String
|
Custom data name
|
type |
String
|
The custom field type. Related Products, Related Ranges and Related Categories fields return the related records in value.
|
value |
JsonParser
|
The field value as JSON, in the requested locale. For Related Products, Related Ranges and Related Categories fields, a list of the related records with their images.
|
ProductRange object
A product range, with its page copy, SEO fields, images and the products and categories in it.
| Field | Type | Description |
id |
Int
|
Product range id
|
name |
String
|
The range name, in the requested locale.
|
menu_label |
String
|
The label to use in navigation menus, in the requested locale.
|
status |
String
|
The range status, for example Active.
|
slug |
String
|
Product range slug
|
heading |
String
|
Product range heading
|
sub_heading |
String
|
Product range sub_heading
|
caption |
String
|
Product range caption
|
description |
String
|
Product range description
|
page_heading |
String
|
Product range page_heading
|
page_sub_heading |
String
|
Product range page_sub_heading
|
introduction |
String
|
Introduction
|
meta_title |
String
|
Meta Title
|
meta_description |
String
|
Meta Description
|
show_gallery |
Boolean
|
Show gallery
|
componentTypes |
[ComponentType]
|
Component types used by components on this range, with their components.
Arguments:
name: [String]
— Name of component types
|
media_collection |
[MediaCollection!]
|
Images attached to this record, grouped into named collections such as main, gallery or banner. Each image includes absolute CDN URLs for every size.
Arguments:
name: [String]
— Only return collections holding an image with this name in the media library.
size: [String]
— The collection names to return, for example main, gallery, banner, square, rectangle, portrait, thumbnail or original_cropped. Defaults to thumbnail, banner, square, rectangle, original, original_cropped, gallery, main, team_members and portrait. This chooses collections, not image sizes: every image returned includes the URL of each size.
|
products |
[Product]
|
Active products in the range.
Arguments:
onlyShop: [Boolean]
— Pass [true] to return only products available in the online shop.
limit: Int
— Maximum number of products to return.
loadMedia: Boolean
— Kept for compatibility and has no effect: product images are loaded with the products whenever media_collection is selected.
random: Boolean
— Return the products in random order. The order is drawn when the answer is built, so a cached answer keeps the same order until it is refreshed.
|
shop_active_products |
[Product]
|
Active products in the range that are available in the online shop.
|
products_count |
Int
|
Number of products in the range.
|
product_categories |
[ProductCategory]
|
Active product categories the range belongs to.
|
product_categories_count |
Int
|
Number of product categories the range belongs to.
|
path |
String
|
The range's path on the website: the website's base_ranges_path followed by the range slug.
|
url |
String
|
Always null. Build the URL from slug and the base paths in websiteInfo.
|
last_updated_at |
String
|
The time of the request, not when the record changed. Use the lastUpdatedAt query to detect changes.
|
related_ranges |
[ProductRange]
|
Related product ranges, in their saved order.
|
websiteComponents |
[Component]
|
Active website components linked to the range.
|
tribe_custom_images |
[MediaCollection!]
|
Images a tribe has set to replace this record's own images on its pages. Null unless images_tribe_slug is given.
Arguments:
name: [String]
— Only return collections holding an image with this name in the media library.
size: [String]
— The collection names to return, for example main, gallery, banner, square, rectangle, portrait, thumbnail or original_cropped. Defaults to thumbnail, banner, square, rectangle, original, original_cropped, gallery, main, team_members and portrait. This chooses collections, not image sizes: every image returned includes the URL of each size.
images_tribe_slug: String
— Slug of the tribe whose replacement images to return.
|
tribe_product_ranges |
[tribeProductRangeType]
|
The wording a tribe has customised for this range, for the tribe given by tribe_slug.
Arguments:
tribe_slug: String!
— Slug of the tribe to return customisations for.
|
has_tribe_custom_data |
Boolean
|
Whether the tribe given by tribe_slug has customised this range on the website given by website_id. False unless both are given.
Arguments:
tribe_slug: String
— Slug of the tribe to check.
website_id: Int
— The id of the website the customisation belongs to.
|
ProductSku object
A stock keeping unit (SKU) of a product, with its price and shipping details.
| Field | Type | Description |
id |
Int
|
The SKU id.
|
primary_sku |
Boolean
|
Whether this is the product's main SKU.
|
sku |
String
|
The SKU code.
|
price |
Float
|
The SKU price, in major currency units (for example dollars). Uses the tribe's own price when the organisation publishes tribe pricing and the query asks for a tribe.
|
compare_price |
Float
|
The comparison price, such as the price before a discount, in major currency units (for example dollars).
|
barcode |
String
|
Barcode
|
requires_shipping |
Boolean
|
Whether the SKU needs shipping.
|
measurement_unit |
String
|
Measurement unit
|
weight |
Int
|
Weight
|
price_description |
String
|
Price description
|
installation_cost |
Float
|
The installation cost, in major currency units (for example dollars). Null when installation is not offered.
|
ProductStoreAdditionalCost object
An extra charge customers can add to a product in the online store.
| Field | Type | Description |
id |
Int
|
The additional cost id.
|
name |
String
|
The name of the charge.
|
retail_unit_price |
Int
|
The price per unit, in cents.
|
retail_setup_price |
Int
|
The one-off setup price, in cents.
|
optional |
Boolean
|
Whether customers can choose not to add the charge.
|
active |
Boolean
|
Whether the charge is currently offered.
|
ProductStoreColour object
A set of colours customers can choose from for a product in the online store.
| Field | Type | Description |
id |
Int
|
The colour set id.
|
product_id |
Int
|
The id of the product the colours belong to.
|
name |
String
|
The name of the colour set.
|
comment |
String
|
A comment about the colours.
|
colours |
JsonParser
|
The colours in the set, as JSON.
|
ProductStoreCustomisation object
A customisation, such as printing or embroidery, that customers can add to a product in the online store.
| Field | Type | Description |
id |
Int
|
The customisation id.
|
name |
String
|
The customisation name.
|
description |
String
|
A description of the customisation.
|
maximum_positions |
Int
|
The most positions the customisation can be applied to.
|
retail_unit_price |
Int
|
The price per unit, in cents.
|
retail_setup_price |
Int
|
The one-off setup price, in cents.
|
full_colour |
Boolean
|
Whether the customisation is in full colour.
|
maximum_colours |
Int
|
The most colours allowed.
|
multiple_setup_price_per_colour |
Boolean
|
Whether the setup price is charged once per colour.
|
multiple_unit_price_per_colour |
Boolean
|
Whether the unit price is charged once per colour.
|
ProductStorePriceBracket object
A quantity price bracket for a product in the online store.
| Field | Type | Description |
id |
Int
|
The price bracket id.
|
minimum_units |
Int
|
The smallest quantity the bracket applies to.
|
retail_unit_price |
Float
|
The price per unit in this bracket, in cents.
|
active |
Boolean
|
Whether the bracket is in use.
|
ProductStoreSetting object
Online store settings for a product.
| Field | Type | Description |
id |
Int
|
The settings id.
|
product_id |
Int
|
The id of the product the settings belong to.
|
multiple_branding |
Boolean
|
Whether customers can choose more than one customisation option.
|
less_than_minimum_enabled |
Boolean
|
Whether customers can order fewer than the minimum quantity.
|
less_than_minimum_surcharge |
Int
|
The surcharge added to orders below the minimum quantity, in cents.
|
ProductSupplier object
The supplier a product comes from.
| Field | Type | Description |
name |
String
|
The supplier's name.
|
code |
String
|
The supplier's code.
|
last_updated_at |
String
|
The time of the request, not when the record changed, so it cannot be used to detect changes.
|
ProductType object
A product type, which defines the custom fields its products carry.
| Field | Type | Description |
name |
String
|
The product type's name.
|
description |
String
|
The product type's description.
|
meta |
JsonParser
|
The definitions of the custom fields for products of this type, as JSON.
|
last_updated_at |
String
|
The time of the request, not when the record changed, so it cannot be used to detect changes.
|
ProductVariant object
One variant of a product, such as a size and colour combination, with its SKU and price.
| Field | Type | Description |
variant |
String
|
The variant's option values joined with / , for example Large / Red.
|
variantSku |
String
|
The variant's SKU code.
|
price |
Int
|
The variant's price.
|
Promotion object
A promotion, such as a competition, with its dates, terms, entry fields and website content.
| Field | Type | Description |
name |
String
|
Promotion name
|
slug |
String
|
Promotion slug
|
type |
String
|
The promotion type, for example Competition.
|
status |
String
|
The promotion's status.
|
fields |
JsonParser
|
The entry form fields for the promotion, as JSON.
|
website_content |
[PromotionWebsiteContent]
|
The promotion's website content.
|
start_date |
String
|
When the promotion starts.
|
end_date |
String
|
When the promotion ends.
|
terms |
String
|
The promotion's terms and conditions.
|
banner |
[PromotionBanner]
|
The banner content: the Promotion URL, Promotion Banner and Promotion Banner Heading entries from website_content.
|
last_updated_at |
String
|
The time of the request, not when the record changed, so it cannot be used to detect changes.
|
vue_component |
String
|
The name of the front-end component the website uses to show the promotion.
|
tribe_types |
[TribeType]
|
The tribe types the promotion is open to.
|
PromotionBanner object
One piece of a promotion's banner content: its URL, banner image or banner heading.
| Field | Type | Description |
name |
String
|
The content name: Promotion URL, Promotion Banner or Promotion Banner Heading.
|
type |
String
|
The content type.
|
value |
String
|
The content value. Structured values are returned as a JSON string.
|
media_collection |
[MediaCollection!]!
|
Images for this content, grouped into named collections. Each image includes absolute CDN URLs for every size, including default for the original file.
Arguments:
name: [String]
— Only return collections holding an image with this name in the media library.
size: [String]
— The collection names to return, for example main, gallery, banner, square, rectangle, portrait, thumbnail or original_cropped. Defaults to thumbnail, banner, square, rectangle, original, original_cropped, gallery, main, team_members and portrait. This chooses collections, not image sizes: every image returned includes the URL of each size.
|
PromotionWebsiteContent object
One piece of website content for a promotion, such as text, an image or a selection of products.
| Field | Type | Description |
name |
String
|
The content name.
|
type |
String
|
The content type, for example Products Selector.
|
value |
String
|
The content value. Structured values are returned as a JSON string.
|
products |
JsonParser
|
For Products Selector content, the selected products as a list of objects with id, name, slug and photo (an absolute CDN URL, or null). Null for other content types.
|
media_collection |
[MediaCollection!]!
|
Images for this content, grouped into named collections. Each image includes absolute CDN URLs for every size, including default for the original file.
Arguments:
name: [String]
— Only return collections holding an image with this name in the media library.
size: [String]
— The collection names to return, for example main, gallery, banner, square, rectangle, portrait, thumbnail or original_cropped. Defaults to thumbnail, banner, square, rectangle, original, original_cropped, gallery, main, team_members and portrait. This chooses collections, not image sizes: every image returned includes the URL of each size.
|
RecruitmentPosting object
A job advertisement, with its role, region, salary and description.
| Field | Type | Description |
id |
Int
|
The posting id.
|
organisation_id |
Int
|
The id of the organisation the posting belongs to.
|
heading |
String
|
The heading of the job advertisement.
|
status |
String
|
The posting status, for example Active.
|
show_salary |
Boolean
|
Whether the salary should be shown to applicants. With the website's full access token the salary fields are returned either way; with a read-only browser token they are null when this is false.
|
publish_date |
String
|
When the posting is published.
|
close_date |
String
|
When the posting closes.
|
salary_from |
String
|
The lowest salary for the job, as entered. Null with a read-only browser token when show_salary is false.
|
salary_to |
String
|
The highest salary for the job, as entered. Null with a read-only browser token when show_salary is false.
|
selling_point_1 |
String
|
The first selling point of the job.
|
selling_point_2 |
String
|
The second selling point of the job.
|
selling_point_3 |
String
|
The third selling point of the job.
|
job_summary |
String
|
A short summary of the job.
|
about_role |
String
|
A description of the role.
|
benefits_and_perks |
String
|
The benefits and perks of the job.
|
skills_and_experience |
String
|
The skills and experience needed.
|
hours |
String
|
The working hours.
|
permanency |
String
|
Whether the job is permanent, fixed-term or casual.
|
role |
RecruitmentRole
|
The job role the posting is for.
|
region |
Region
|
The region the job is in.
|
url |
String
|
Absolute URL of the posting on the organisation's careers site.
|
RecruitmentRole object
A job role, with the standard copy used by job postings for it.
| Field | Type | Description |
name |
String
|
The role name.
|
status |
String
|
The role status.
|
selling_point_1 |
String
|
The first selling point of the role.
|
selling_point_2 |
String
|
The second selling point of the role.
|
selling_point_3 |
String
|
The third selling point of the role.
|
job_summary |
String
|
A short summary of the role.
|
about_role |
String
|
A description of the role.
|
benefits_and_perks |
String
|
The benefits and perks of the role.
|
skills_and_experience |
String
|
The skills and experience needed.
|
role_category |
RecruitmentRoleCategory
|
The category the role belongs to.
|
RecruitmentRoleCategory object
A category that groups job roles.
| Field | Type | Description |
name |
String
|
The category name.
|
status |
String
|
The category status.
|
Region object
A geographic region, such as a state, with its centre point and boundary.
| Field | Type | Description |
name |
String
|
The region name.
|
status |
String
|
The region status.
|
country_iso |
String
|
The two-letter ISO code of the region's country, for example US.
|
name_abbreviated |
String
|
The region's short name, for example CA.
|
latitude |
Float
|
The latitude of the region's centre.
|
longitude |
Float
|
The longitude of the region's centre.
|
zoom |
Int
|
A suggested map zoom level for showing the whole region.
|
polygons |
JsonParser
|
The region's boundary polygons, as JSON.
|
last_updated_at |
String
|
The time of the request, not when the record changed, so it cannot be used to detect changes.
|
Review object
A customer review of the organisation or one of its tribes.
| Field | Type | Description |
id |
Int
|
The review id.
|
name |
String
|
The reviewer's name.
|
review |
String
|
The review text.
|
rating |
Int
|
The star rating given.
|
status |
String
|
Always null. The review status is an internal workflow value and is not shown on websites.
Deprecated. Internal workflow value; always null.
|
social_author_url |
String
|
A link to the reviewer's profile on the site the review came from.
|
social_rating |
Int
|
The rating given on the site the review came from.
|
social_message |
String
|
The review text as posted on the site it came from.
|
review_type |
String
|
Whether the review is Public or Internal.
|
review_source |
String
|
Where the review came from: Google, Facebook, Yelp or Website.
|
featured |
Boolean
|
Whether the review is featured.
|
created_at |
String
|
When the review was created.
|
updated_at |
String
|
When the review was last updated.
|
business_name |
String
|
The reviewer's business name, when they have one.
|
last_updated_at |
String
|
The time of the request, not when the record changed. Use the lastUpdatedAt query to detect changes.
|
tribe |
Tribe
|
The tribe the review is for.
|
ShippingArea object
An area a shipping zone covers, defined by country, state or map polygons.
| Field | Type | Description |
name |
String
|
The area name.
|
type |
String
|
How the area is defined: Country, State or Polygons.
|
polygons |
JsonParser
|
The map polygons that outline the area, as JSON.
|
radius |
JsonParser
|
The radius around center, as JSON.
|
center |
JsonParser
|
The centre point of the area, as JSON.
|
administrative_area_level_1 |
JsonParser
|
The states or provinces in the area, as JSON.
|
ShippingRate object
A shipping rate charged within a shipping zone.
| Field | Type | Description |
id |
Int!
|
Shipping rate id
|
name |
String!
|
Shipping rate name
|
currency |
String
|
The currency the rate is charged in.
|
base_rate |
Float
|
The flat base charge, in major currency units (for example dollars).
|
weight_rate |
Float
|
The charge per unit of weight, in major currency units (for example dollars).
|
free_shipping_price |
Float
|
The order amount at which shipping becomes free, in major currency units (for example dollars).
|
minimum_order_price |
Float
|
The smallest order amount the rate applies to, in major currency units (for example dollars).
|
maximum_order_price |
Float
|
The largest order amount the rate applies to, in major currency units (for example dollars).
|
ShippingZone object
A shipping zone, with the areas it covers and the rates charged there.
| Field | Type | Description |
id |
Int!
|
Shipping zone id
|
name |
String!
|
Shipping zone name
|
status |
String!
|
Shipping zone status
|
shippingAreas |
[ShippingArea!]!
|
The areas the zone covers.
|
shippingRates |
[ShippingRate!]!
|
The rates charged in the zone.
|
ShippingZoneWithFree object
The shipping zones that cover a delivery address, and whether the order qualifies for free shipping.
| Field | Type | Description |
free |
Boolean!
|
Whether the order amount qualifies for free shipping in any of the zones.
|
shipping_zones |
[ShippingZone!]
|
The shipping zones that cover the address.
|
SmsConsent object
The SMS consent wording a form shows, and how the enquirer's answer is collected. Send the answer as sms_approved when submitting the enquiry.
| Field | Type | Description |
source |
String!
|
Whose wording this is: organisation, or tribe when the tribe has set its own.
|
enabled |
Boolean!
|
Whether the form should show SMS consent wording. When false every other field is null and nothing should be shown.
|
mode |
String
|
How consent is collected: message_only (show the message, ask nothing), opt_in (an unticked checkbox), opt_out (a ticked checkbox) or user_choice (yes / no radio buttons with neither selected).
|
message |
String
|
The legal message, as HTML: paragraphs, line breaks, bold, italic and underlined text, and links (for example to a privacy policy). Render it as HTML.
|
checkbox_label |
String
|
The label beside the checkbox in opt_in and opt_out modes.
|
radio_yes_label |
String
|
The label of the "yes" option in user_choice mode.
|
radio_no_label |
String
|
The label of the "no" option in user_choice mode.
|
storeSetting object
Online store settings, such as tax, pricing, preparation time and pickup rules.
| Field | Type | Description |
business_legal_name |
String
|
The legal name of the business.
|
business_tax_number |
String
|
The business's tax number.
|
store_tax_rate |
Float!
|
The store's tax rate. Zero when no rate is set.
|
store_tax_settings |
String!
|
How tax is applied: No Tax, Included in price or Added to total. An empty string when not set.
|
active |
Boolean!
|
Whether the store is active.
|
enable_tribe_pricing |
Boolean
|
Whether tribes can set their own prices.
|
min_installation_fee |
Float
|
The minimum installation fee, in major currency units (for example dollars).
|
show_price |
Boolean
|
Whether prices are shown in the store.
|
minimum_preparation_time |
Int
|
The minimum time needed to prepare an order, in minutes.
|
delivery_only_open_hours |
Boolean
|
Whether delivery and pickup times are limited to the tribe's opening hours.
|
enable_early_pickup |
Boolean
|
Whether early pickup is offered.
|
early_pickup_message |
String
|
A message shown to customers about early pickup.
|
early_pickup_minimum |
Float
|
The minimum order amount for early pickup, in major currency units (for example dollars).
|
organisation |
organisation!
|
The organisation the store belongs to.
|
TeamMemberCustomField object
A team member custom field defined by the organisation, with one person's value for it.
| Field | Type | Description |
id |
Int
|
Custom field id
|
name |
String
|
Custom field name
|
type |
String
|
The field type, which decides how to read value. Image fields hold their images in media_collection.
|
value |
JsonParser
|
The team member's value for this custom field
|
media_collection |
[MediaCollection!]!
|
Images held against a Single Image / Gallery custom field
Arguments:
name: [String]
— Only return collections holding an image with this name in the media library.
size: [String]
— The collection names to return, for example main, gallery, banner, square, rectangle, portrait, thumbnail or original_cropped. Defaults to thumbnail, banner, square, rectangle, original, original_cropped, gallery, main, team_members and portrait. This chooses collections, not image sizes: every image returned includes the URL of each size.
|
Tribe object
A tribe, one location of the organisation, with its address, contact details, opening hours and page content.
| Field | Type | Description |
organisation_id |
Int!
|
The id of the organisation the tribe belongs to.
|
name |
String!
|
The tribe's name.
|
country |
String
|
The tribe's country. Uses the organisation's address instead when the tribe is set to use it.
|
country_iso |
String
|
The two-letter ISO code of the tribe's country.
|
postal_code |
String
|
The tribe's postal code. Uses the organisation's address instead when the tribe is set to use it.
|
state |
String
|
The tribe's state or province. Uses the organisation's address instead when the tribe is set to use it.
|
state_abbreviated |
String
|
The short form of the tribe's state, for example NSW. Always the tribe's own value.
|
locality |
String
|
The tribe's suburb, town or city. Uses the organisation's address instead when the tribe is set to use it.
|
address_2 |
String
|
The second line of the tribe's street address. Uses the organisation's address instead when the tribe is set to use it.
|
address_1 |
String
|
The first line of the tribe's street address. Uses the organisation's address instead when the tribe is set to use it.
|
latitude |
String
|
The tribe's latitude. Uses the organisation's address instead when the tribe is set to use it.
|
longitude |
String
|
The tribe's longitude. Uses the organisation's address instead when the tribe is set to use it.
|
media_collection |
[MediaCollection!]!
|
Images attached to this record, grouped into named collections such as main, gallery or banner. Each image includes absolute CDN URLs for every size.
Arguments:
name: [String]
— Only return collections holding an image with this name in the media library.
|
slug |
String!
|
The tribe's URL slug.
|
public_email |
String
|
The tribe's public email address.
|
main_telephone |
String
|
The tribe's main telephone number for display: as entered on the legacy tribe page, and as dialled in the organisation's country (national format, or international for a number from another country) when saved on the tribe edit page.
|
phone_extension |
String
|
The extension for main_telephone.
|
heading |
String
|
The tribe page heading, with placeholders such as the tribe name filled in.
|
sub_heading |
String
|
The tribe page sub heading, with placeholders such as the tribe name filled in.
|
caption |
String
|
A short caption for the tribe.
|
page_heading |
String
|
The heading at the top of the tribe page, with placeholders such as the tribe name filled in.
|
page_sub_heading |
String
|
The sub heading at the top of the tribe page, with placeholders such as the tribe name filled in.
|
introduction_bold |
String
|
The bold opening of the tribe introduction, with placeholders such as the tribe name filled in.
|
introduction |
String
|
The tribe introduction, with placeholders such as the tribe name filled in.
|
tracking_code |
String
|
Tracking code to add to the tribe's pages.
|
facebook_pixel_id |
String
|
Facebook Pixel ID
|
answer_number |
String
|
Always null. The number tracked calls are forwarded to is private, so websites show main_telephone, organic_number or paid_number instead.
Deprecated. Private forwarding number; always null.
|
organic_number |
String
|
The call tracking number shown to visitors from organic search, formatted from E.164 to the national format of its country, for example (02) 9876 5432.
|
paid_number |
String
|
The call tracking number shown to visitors from paid search, formatted from E.164 to the national format of its country, for example (02) 9876 5432.
|
paid_cid |
String
|
The call tracking provider's code for paid_number.
|
website_number_swap_enabled |
Boolean!
|
Whether the website may swap displayed phone numbers by traffic source (organisation master switch AND tribe opt-in)
|
organic_cid |
String
|
The call tracking provider's code for organic_number.
|
teamMembers |
[OrgChartPerson]
|
People from the organisation chart who work at the tribe and are active with Show on Website ticked, in their saved order.
Arguments:
active: Boolean
— Ignored. Only people who are active and set to show on the website are returned.
|
articles |
[Article]
|
Published articles written for the tribe.
|
ourWorks |
[OurWork]
|
Published examples of the tribe's work, newest first.
Arguments:
slug: [String]
— Only return the example with this slug.
|
introduction_team |
String
|
The introduction to the team section, with placeholders such as the tribe name filled in.
|
contents |
[TribeContent]
|
Named content for the tribe's pages.
Arguments:
tribeTypeName: [String]
— Only return content defined for these tribe types, by name.
name: String
— Only return content with this name.
names: [String]
— Only return content with these names.
|
tribe_types |
[TribeType]
|
The tribe types the tribe belongs to.
|
opening_hours |
JsonParser
|
Regular opening hours as a list of objects with day, open and close, one for each weekday and one for holidays, as entered.
|
opening_hours_message |
String
|
A message to show with the opening hours.
|
show_opening_hours |
Boolean
|
Whether the opening hours message should be shown.
|
opening_hours_array |
JsonParser
|
Opening hours as an object keyed by day (Monday to Sunday, and Holiday), each a list of periods with open and close. Times are 24-hour HH:MM, or 12-hour such as 9:00 am when the tribe uses 12-hour time, and can be Closed.
|
tribe_opening_hours |
JsonParser
|
The same value as opening_hours_array.
|
component_types |
[TribeComponentType]
|
Component types used on the tribe's pages, each with the tribe's components of that type.
Arguments:
componentTypeName: [String]
— Only return component types with these names.
|
all_media |
[OriginMedia]
|
Approved items in the tribe's media library, 20 by default.
Arguments:
count: Int
— Maximum number of items to return, at most 100. Defaults to 20.
order: String
— The field to sort by: id, name, type, is_star, quality_score, created_at or updated_at, optionally prefixed with media.. Any other value sorts by id. When omitted, items are returned in no particular order.
desc: Boolean
— Sort in descending order when true; ascending otherwise.
size: [String]
— Sizes to include in each item's url: default (the original file), thumbnail, banner, square, rectangle, portrait, original_cropped or original_small. Defaults to default and every size.
id: [Int]
— Only return items with these ids.
star: Boolean
— Only return starred items when true.
|
last_updated_at |
String
|
The time of the request, not when the record changed, so it cannot be used to detect changes.
|
status |
String
|
The tribe status: Active, Opening Soon, Testing, Paused or Deleted.
|
google_place_id |
String
|
The tribe's Google Place ID.
|
meta_title |
String
|
The tribe page meta title, with placeholders such as the tribe name filled in.
|
meta_description |
String
|
The tribe page meta description, with placeholders such as the tribe name filled in.
|
tribe_sort_order |
Int
|
The sort position of the tribe in tribe lists.
|
recruitment_postings |
[RecruitmentPosting]
|
Active, published job postings at the tribe.
|
stripe_public_key |
String
|
The Stripe publishable key for the tribe's online store. Null when the tribe has no active Stripe store.
|
shop_active |
Boolean
|
Whether the tribe has an active online store.
|
show_price |
Boolean
|
Whether the tribe's online store shows prices.
|
tribe_menus |
[TribeMenu]
|
Navigation menus for the tribe's pages.
Arguments:
tribe_type: String
— Only return menus for the tribe type with this name.
menus: [String]
— Only return menus with these names.
locale: String
— The locale of the menu copy to return. Falls back to the tribe's default copy, then to the tribe type's menu.
|
enable_inventory |
Boolean
|
Whether stock levels are shown on the website.
|
telephone_url_triggers |
JsonParser
|
Rules for swapping the displayed telephone number based on the page URL, as JSON, with numbers formatted from E.164 to national format.
|
website_pages |
[websitePage]
|
Website pages created for the tribe.
Arguments:
website_id: Int
— Only return pages on the website with this id.
slug: String
— Only return the page with this slug.
|
social_facebook_url |
String
|
Facebook URL
|
social_twitter_url |
String
|
Twitter URL
|
social_google_url |
String
|
Google URL
|
social_linkedin_url |
String
|
LinkedIn URL
|
social_pinterest_url |
String
|
Pinterest URL
|
social_yelp_url |
String
|
Yelp URL
|
social_instagram_url |
String
|
Instagram URL
|
social_youtube_url |
String
|
Youtube URL
|
social_tiktok_url |
String
|
Tiktok URL
|
food_shop_active |
Boolean
|
Whether the tribe can take online food orders, either through an online ordering link or its own online store.
|
whats_app_number |
String
|
The tribe's WhatsApp number, normally with its country code (for example +61412345678); a number entered before it was checked may still be as typed.
|
facebook_review_link |
String
|
The link customers use to leave a Facebook review.
|
google_review_url |
String
|
The link customers use to leave a Google review.
|
yelp_review_url |
String
|
The link customers use to leave a Yelp review.
|
is_alternate_address |
Boolean
|
Whether the tribe uses an alternative address. False when not set.
|
timezone |
String
|
The tribe's timezone, for example Australia/Sydney.
|
custom_opening_hours |
[CustomOpeningHour]
|
Special opening hours for the next seven days, starting today in the tribe's timezone.
|
sms_legal_message_enabled |
Boolean!
|
Whether an SMS consent message should be shown on the tribe's forms. The tribe uses its organisation's SMS consent wording unless it has set its own, so this and the other sms_* fields always describe the wording that applies to this tribe.
|
sms_legal_message |
String
|
The SMS consent legal message. Null unless sms_legal_message_enabled is true.
|
sms_legal_message_mode |
String
|
How SMS consent is collected on forms: message_only, opt_in, opt_out or user_choice. Null unless sms_legal_message_enabled is true.
|
sms_checkbox_label |
String
|
The label for the SMS consent checkbox. Null unless sms_legal_message_enabled is true.
|
sms_radio_yes_label |
String
|
The label for the 'yes' SMS consent option. Null unless sms_legal_message_enabled is true.
|
sms_radio_no_label |
String
|
The label for the 'no' SMS consent option. Null unless sms_legal_message_enabled is true.
|
TribeComponent object
A component used on tribes' pages, with its contents and the tribes it is active for.
| Field | Type | Description |
name |
String
|
Component name
|
slug |
String
|
Component slug
|
contents |
[TribeComponentContent]
|
The component's contents.
Arguments:
name: [String]
— Only return contents with these names.
type: [String]
— Only return contents of these types.
|
type |
TribeComponentType
|
The component's type.
|
activeTribes |
[Tribe]
|
The active tribes that use the component.
|
TribeComponentContent object
One named value inside a tribe component, such as a heading or an image.
| Field | Type | Description |
name |
String
|
Component content name
|
type |
String
|
Component content type
|
value |
String
|
The text value, as stored. It is not translated.
|
media_collection |
[MediaCollection!]
|
Images attached to this record, grouped into named collections such as main, gallery or banner. Each image includes absolute CDN URLs for every size.
Arguments:
name: [String]
— Only return collections holding an image with this name in the media library.
size: [String]
— The collection names to return, for example main, gallery, banner, square, rectangle, portrait, thumbnail or original_cropped. Defaults to thumbnail, banner, square, rectangle, original, original_cropped, gallery, main, team_members and portrait. This chooses collections, not image sizes: every image returned includes the URL of each size.
|
TribeComponentType object
A type of component used on a tribe's pages, with the components of that type.
| Field | Type | Description |
name |
String
|
Component type name
|
status |
String
|
Component type status
|
components |
[TribeComponent]
|
The components of this type, in their saved order.
Arguments:
name: String
— Only return the component with this name.
slug: String
— Only return the component with this slug.
|
TribeContent object
A named piece of content on a tribe's pages, such as a heading, text block or image.
| Field | Type | Description |
name |
String
|
The content name.
|
type |
String
|
The content type, for example Short Text or Single Image.
|
value |
String
|
The text value in the requested locale, with tribe placeholders filled in. Null for image content; read media_collection instead.
|
media_collection |
[MediaCollection!]!
|
Images held by this content, grouped into named collections, using the requested locale's images when a translation has its own. Each image includes absolute CDN URLs for every size.
Arguments:
name: [String]
— Only return collections holding an image with this name in the media library.
size: [String]
— The collection names to return, for example main, gallery, banner, square, rectangle, portrait, thumbnail or original_cropped. Defaults to thumbnail, banner, square, rectangle, original, original_cropped, gallery, main, team_members and portrait. This chooses collections, not image sizes: every image returned includes the URL of each size.
|
tribeProductCategoryType object
A tribe's customised wording for a product category.
| Field | Type | Description |
id |
Int
|
The customisation id.
|
tribe_id |
Int
|
The id of the tribe that made the customisation.
|
data |
JsonParser
|
The customised values, as JSON keyed by field name, for example heading.
|
tribeProductRangeType object
A tribe's customised wording for a product range.
| Field | Type | Description |
id |
Int
|
The customisation id.
|
data |
JsonParser
|
The customised values, as JSON keyed by field name, for example heading.
|
TribeType object
A tribe type, used to group tribes that share menus, content and promotions.
| Field | Type | Description |
name |
String
|
The tribe type's name.
|
short_code |
String
|
A short code for the tribe type.
|
website object
A website managed in Gorilla Dash, with its base URL, path settings, organisation and theme.
| Field | Type | Description |
name |
String
|
The website name.
|
url |
String
|
The website's public base URL, for example https://www.example.com.
|
base_products_path |
String
|
The path prefix for product pages; a product path is this prefix followed by the product slug.
|
base_categories_path |
String
|
The path prefix for product category pages; a category path is this prefix followed by the category slug.
|
base_ranges_path |
String
|
The path prefix for product range pages; a range path is this prefix followed by the range slug.
|
base_tribes_path |
String
|
The path prefix for tribe pages; a tribe path is this prefix followed by the tribe slug.
|
last_updated_at |
String
|
When the website's pages, page content, sections, section content or menus last changed, or its settings were saved. Use it to detect changes to website content.
|
organisation |
organisation
|
The organisation that owns the website.
|
style |
websiteStyle
|
Theme tokens for this website
|
WebsiteContent object
A named piece of content in a website section, such as a heading, text block or image.
| Field | Type | Description |
name |
String
|
The content name.
|
type |
String
|
The content type, for example Short Text, Rich Text or Gallery.
|
value |
String
|
The text value in the requested locale. Null for image content; read media_collection instead.
|
media_collection |
[MediaCollection!]!
|
Images held by this content, grouped into named collections, using the requested locale's images when a translation has its own. Each image includes absolute CDN URLs for every size.
Arguments:
name: [String]
— Only return collections holding an image with this name in the media library.
size: [String]
— The collection names to return, for example main, gallery, banner, square, rectangle, portrait, thumbnail or original_cropped. Defaults to thumbnail, banner, square, rectangle, original, original_cropped, gallery, main, team_members and portrait. This chooses collections, not image sizes: every image returned includes the URL of each size.
|
last_updated_at |
String
|
The start of the current day, not when the record changed. Use last_updated_at on the websiteInfo query to detect changes.
|
websiteFaq object
A frequently asked question and its answer.
| Field | Type | Description |
slug |
String
|
The question's URL slug.
|
question |
String
|
The question.
|
answer |
String
|
The answer.
|
sort |
Int
|
The sort position within the category.
|
faq_category |
websiteFaqCategory
|
The category the question belongs to.
|
last_updated_at |
String
|
The time of the request, not when the record changed, so it cannot be used to detect changes.
|
websiteFaqCategory object
A group of frequently asked questions on the website.
| Field | Type | Description |
name |
String
|
The category name.
|
sort |
Int
|
The sort position of the category.
|
website_faqs |
[websiteFaq]
|
The questions in the category.
|
last_updated_at |
String
|
The time of the request, not when the record changed, so it cannot be used to detect changes.
|
websitePage object
A page on the website, with its content, SEO fields, template and related records.
| Field | Type | Description |
name |
String
|
The page name, in the requested locale.
|
slug |
String
|
The page's URL slug, in the requested locale.
|
contents |
[websitePageContent]
|
The page's named content. Content placed with the page builder is not included.
|
template_slug |
String
|
The slug of the template the page uses.
|
template_name |
String
|
The name of the template the page uses.
|
template_vue_route_name |
String
|
The front-end route name set on the template the page uses. The page's own route name is vue_route_name.
|
componentTypes |
[ComponentType]
|
Component types used on the page, with their components.
Arguments:
name: [String]
— Name of component types
|
products |
[Product]
|
Website page related products
|
productRanges |
[ProductRange]
|
Website page related product ranges
|
productCategories |
[ProductCategory]
|
Website page related product categories
|
tribes |
[Tribe]
|
Website page related tribes
|
foodMenuListItems |
[FoodMenuListItem]
|
Website page related food menu list items
Arguments:
status: String
— Ignored. Only active entries are returned.
|
articles |
[Article]
|
Blog articles picked under Related Items on the page, in the order they were picked. Only published articles are returned.
|
last_updated_at |
String
|
The time of the request, not when the record changed. Use last_updated_at on the websiteInfo query to detect changes.
|
body |
String
|
The page body HTML, in the requested locale.
|
show_in_menu |
Boolean
|
Whether the page should appear in navigation menus.
|
menu_order |
Int
|
The sort position of the page in menus.
|
menu_section |
String
|
The menu section the page appears under.
|
menu_label |
String
|
The label to use for the page in menus.
|
meta_title |
String
|
The page meta title in the requested locale, with placeholders such as the tribe name filled in.
|
meta_description |
String
|
The page meta description in the requested locale, with placeholders such as the tribe name filled in.
|
no_index |
Boolean
|
Whether search engines should be told not to index the page.
|
tracking_parameters |
JsonParser
|
Tracking parameters configured for the page, as JSON.
|
tribe |
Tribe
|
The tribe the page belongs to, for tribe pages.
|
vue_route_name |
String
|
The front-end route name set on the page itself, or null when the page has none. Never the template's; that is template_vue_route_name.
|
is_tribe_page |
Boolean
|
Whether the page belongs to a tribe.
|
websitePageContent object
A named piece of content on a website page, such as a heading, text block or image.
| Field | Type | Description |
name |
String
|
The content name.
|
source |
String
|
Where the content comes from: single for content entered on this page, or template for a field from the page template.
|
type |
String
|
The content type, for example Short Text, Rich Text or Single Image.
|
value |
String
|
The text value in the requested locale. Null for image content; read media_collection instead.
|
media_collection |
[MediaCollection!]!
|
Images held by this content, grouped into named collections, using the requested locale's images when a translation has its own. Each image includes absolute CDN URLs for every size.
Arguments:
name: [String]
— Only return collections holding an image with this name in the media library.
size: [String]
— The collection names to return, for example main, gallery, banner, square, rectangle, portrait, thumbnail or original_cropped. Defaults to thumbnail, banner, square, rectangle, original, original_cropped, gallery, main, team_members and portrait. This chooses collections, not image sizes: every image returned includes the URL of each size.
|
last_updated_at |
String
|
The start of the current day, not when the record changed. Use last_updated_at on the websiteInfo query to detect changes.
|
websitePageTemplate object
A page template that website pages are built from.
| Field | Type | Description |
name |
String
|
The template name.
|
slug |
String
|
The template slug.
|
organisation_template |
Boolean
|
Whether the template is for organisation-level pages.
|
tribe_template |
Boolean
|
Whether the template is for tribe pages.
|
WebsiteRedirect object
A redirect rule that sends visitors from one address on the website to another.
| Field | Type | Description |
from |
String!
|
The address to redirect from.
|
to |
String!
|
The address to redirect to.
|
last_updated_at |
String
|
The time of the request, not when the record changed, so it cannot be used to detect changes.
|
WebsiteSection object
A named section of the website, such as a header or footer, holding shared content.
| Field | Type | Description |
name |
String
|
The section name.
|
contents |
[WebsiteContent]
|
The content in the section.
Arguments:
name: [String]
— Only return content with these names.
|
last_updated_at |
String
|
The time of the request, not when the record changed. Use last_updated_at on the websiteInfo query to detect changes.
|
websiteStyle object
The fonts, colours, spacing and shapes a website paints its pages with
| Field | Type | Description |
heading |
JsonParser
|
Heading font, colour, line height, letter spacing, transform and the h1-h4 sizes
|
paragraph |
JsonParser
|
Body copy font, size, weight, colour and line height
|
button |
JsonParser
|
Primary button colours and corner radius, plus the secondary button
|
body |
JsonParser
|
Page-level font, weight and background colour
|
link |
JsonParser
|
Link colour, hover colour and whether links are underlined
|
palette |
JsonParser
|
Named brand colours: primary, secondary, accent, light and dark section backgrounds
|
layout |
JsonParser
|
Section spacing, content width, corner radius, border colour and form field styling
|