Skip to content

Organization

An Organization is a business or other organization you keep data about: a supplier, a seller, a customer company, one of your own stores. It holds legal and tax identifiers (VAT ID, LEI, DUNS), addresses, contact points, logo and brand, parent organization and members.

Organization is not your Organization Account

An Organization is data you store. Your Organization Account is your ObjectsGrid tenant: the account you registered, which owns all your objects.

Modeled on schema.org/Organization · JSON Schema · ABAC object type Organization

Example

Create one with POST /organizations:

{
  "name": [
    {
      "at_language": "en",
      "at_value": "Northpeak Outdoor GmbH"
    }
  ],
  "legalName": "Northpeak Outdoor GmbH",
  "vatID": "DE123456789",
  "email": "hello@northpeak.example",
  "address": {
    "streetAddress": "Alexanderplatz 1",
    "postalCode": "10178",
    "addressLocality": "Berlin",
    "addressCountry": "DE"
  }
}

Fields

Required: name.

Field Type Required Description
at_context https://schema.org JSON-LD @context, always https://schema.org.
at_type Organization JSON-LD @type, the object's type name.
at_id URL The object's ObjectsGrid URL, https://apis.objectsgrid.com/<path>/<id>, its JSON-LD @id: what References to it hold. Assigned by ObjectsGrid.
id string The object's id. Assigned by ObjectsGrid when the object is created.
alternateName string Organization alternate name. See schema.org/alternateName.
identifier string The object's id, as Schema.org identifier. Assigned by ObjectsGrid.
image URL image URL
name list of LanguageTaggedString Yes The Organization Name. See schema.org/name.
description list of LanguageTaggedString The Organization Description. See schema.org/description.
sameAs list of URL The Organization sameAs
url URL This Organization URL
address PostalAddress The postal address of the organization
brand Reference to Brand or Organization Brand URL
contactPoint list of ContactPoint See schema.org/contactPoint.
department computed: list of Organization This Organization Department. Computed, read-only: the objects whose Organization.parentOrganization points to this object, listed from that type; never stored or written.
dissolutionDate date-time This Organization dissolution date
duns string This Organization DUNS number
email email See schema.org/email.
founder list of string The Organization founder(s)
foundingDate date-time This Organization founding date
globalLocationNumber string This Organization Global Location Number
hasGS1DigitalLink string This Organization GS1 Digital Link
hasOfferCatalog list of References to OfferCatalog The Organization Offer Catalogs
hasMerchantReturnPolicy list of References to MerchantReturnPolicy The shop's return policies, for every Offer and Product without its own
hasShippingService list of References to ShippingService The shop's shipping services
makesOffer computed: list of Offer The Offers the Organization makes. Computed, read-only: the objects whose Offer.offeredBy points to this object, listed from that type; never stored or written.
hasMemberProgram computed: list of MemberProgram The member programs the Organization runs. Computed, read-only: the objects whose MemberProgram.hostingOrganization points to this object, listed from that type; never stored or written.
isicV4 string This Organization isicV4
iso6523Code string This Organization iso6523 Code
legalAddress PostalAddress The legal address of the organization
legalName string This Organization legal name. See schema.org/legalName.
leiCode string This Organization lei Code
logo URL The Organization logo
member computed: list of Person or Organization The Organization Members. Computed, read-only: the objects whose Person.memberOf and Organization.memberOf points to this object, listed from that type; never stored or written.
memberOf list of References to Organization The Organizations URLs this Organization is a Member of
naics string This Organization naics Code
parentOrganization Reference to Organization This Organization parent Organization URL
review computed: list of Review The Organizations Reviews URLs. Computed, read-only: the objects whose Review.itemReviewed points to this object, listed from that type; never stored or written.
slogan list of LanguageTaggedString The Organization slogan
taxID string This Organization taxID
telephone string The Organization telephone
vatID string This Organization vatID
tags list of Tag Tags your ABAC policy decides on. Created empty when not sent, kept by a PUT that leaves them out, cleared by null or [].
additionalType string (12 values) The kind of organization, a Schema.org subtype of Organization (PerformingGroup, SportsTeam, NGO...): its JSON-LD @type. None for an Organization.
sport string SportsOrganization, SportsTeam: the sport, e.g. 'Football', or a Wikipedia URL
areaServed list of any The areas where the organization works: a name (text, e.g. 'Berlin'), a GeoCircle (a radius around a point) or a GeoShape, each with its at_type. Stored and returned, not searchable.

REST API

Base URL https://apis.objectsgrid.com. Every request sends the X-ObjectsGrid-AccessPoint and Authorization: Bearer <access token> headers; see the REST API guide.

Operation Request
Create POST /organizations
List and search GET /organizations
Create up to 100 at once POST /organizations/batch
Retrieve GET /organizations/{id}
Retrieve as a JSON-LD document for your pages GET /organizations/{id} with Accept: application/ld+json; see JSON-LD for your pages
Replace PUT /organizations/{id}
Update some fields PATCH /organizations/{id}
Delete DELETE /organizations/{id}

The OpenAPI contract, with every parameter and response: Organizations (JSON).

GraphQL

Endpoint POST https://apis.objectsgrid.com/graphql; see the GraphQL guide.

Operation Field
Query organization(id: ID!, version: String): Organization
Query organizations(where: OrganizationWhereInput, orderBy: [OrganizationOrderByInput!], first: Int, after: String): OrganizationConnection!
Query organizationsGroupBy(by: [OrganizationGroupByField!]!, where: OrganizationWhereInput, having: OrganizationHavingInput, orderBy: [OrganizationGroupByOrderByInput!], first: Int, after: String): OrganizationGroupByConnection!
Mutation createOrganization(input: CreateOrganizationInput!): Organization!
Mutation updateOrganization(input: UpdateOrganizationInput!, expectedVersion: String): Organization!
Mutation deleteOrganization(id: ID!, expectedVersion: String): Boolean!

Webhook events

Subscribe to these events in your webhook configuration to be called when an Organization changes:

OrganizationCreated, OrganizationUpdated, OrganizationPatched, OrganizationDeleted.