AlmondTill/G3N API

orgBrand

query · in the family Org brand

What it does

Look up one record — your organization’s enablement of a shared brand — switching it on locally.

One OrgBrand by id. The record must belong to your organization group; an id from another group reads as not found.

Before you call

A bearer session from an API key (see Authentication and key hygiene) or a signed-in user.

Capability area: Reading your records — Looking up and listing the records of your organization.

Roles that may call it:

What happens

Reads only — changes nothing.

Arguments

NameTypeRequiredNotes
idID ID!yesThe id of the record.

Returns

OrgBrand — An OrgBrand selection — the per-org enablement of a group Brand (the strict-selection pattern: no org-scoped Brand reference without an active selection). Parent = the organization (not the family root). Freely deactivatable/doomable; a NON-doomed selection blocks the master Brand doom only.

Example request

graphql
query ExampleOrgBrand($id: ID!) {
  orgBrand(id: $id) {
    id
    sysId
    type
    caption
    status
    parentId
    rootId
    createdAt
    updatedAt
    revisionNum
    revision
    brandId
    code
  }
}

Variables:

json
{
  "id": "01900000-0000-7000-8000-fb04e0520000"
}

Example response

json
{
  "data": {
    "orgBrand": {
      "id": "01900000-0000-7000-8000-fb04e0520000",
      "sysId": "EB-EXMP-0000-000F",
      "type": "OrgBrand",
      "caption": "Blue jeans",
      "status": "active",
      "parentId": "01900000-0000-7000-8000-eacdfcfd0000",
      "rootId": "01900000-0000-7000-8000-a1295a650000",
      "createdAt": "2027-01-31T00:00:00.000Z",
      "updatedAt": "2027-01-31T00:00:00.000Z",
      "revisionNum": 1,
      "revision": "01900000-0000-7000-8000-53c6eea90000",
      "brandId": "01900000-0000-7000-8000-6d1c7e960000",
      "code": "BJ-001"
    }
  },
  "extensions": {
    "at": {
      "callId": "01EXAMPLE-CALL-ID",
      "version": {
        "requested": null,
        "serviced": {
          "name": "genesis",
          "number": 0
        }
      }
    }
  }
}

Errors this call can answer