Skip to content

OfferCatalog

An OfferCatalog is a list of Offers, and of further catalogs, from one provider: a price list, a menu, a spring collection. itemListElement holds References to its entries, in order. An Organization or a Service points to its catalogs with hasOfferCatalog.

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

Example

Create one with POST /offercatalogs:

{
  "name": [
    {
      "at_language": "en",
      "at_value": "Spring collection 2026"
    }
  ],
  "itemListElement": [
    {
      "at_id": "https://apis.objectsgrid.com/offers/5c2e7a10-9f3b-4d8e-b1a2-6e7f8a9b0c1d"
    }
  ],
  "itemListOrder": "https://schema.org/ItemListOrderAscending"
}

Fields

Required: name.

Field Type Required Description
at_context https://schema.org JSON-LD @context, always https://schema.org.
at_type OfferCatalog 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.
identifier string The object's id, as Schema.org identifier. Assigned by ObjectsGrid.
name list of LanguageTaggedString Yes The OfferCatalog name, e.g. 'Cleaning services', 'Spring collection'
description list of LanguageTaggedString The OfferCatalog description. See schema.org/description.
image URL image URL
url URL The object's own URL, https://apis.objectsgrid.com/<path>/<id>. Assigned by ObjectsGrid.
itemListElement list of References to Offer or OfferCatalog URLs of the Offers and/or nested OfferCatalogs in this OfferCatalog. The array order is the position of each element in the list.
itemListOrder ItemListOrderType The type of ordering of the elements in the OfferCatalog
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 [].
meta ObjectMeta Read-only metadata: version, type, creation and last update.

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 /offercatalogs
List and search GET /offercatalogs
Create up to 100 at once POST /offercatalogs/batch
Retrieve GET /offercatalogs/{id}
Retrieve as a JSON-LD document for your pages GET /offercatalogs/{id} with Accept: application/ld+json; see JSON-LD for your pages
Replace PUT /offercatalogs/{id}
Update some fields PATCH /offercatalogs/{id}
Delete DELETE /offercatalogs/{id}

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

GraphQL

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

Operation Field
Query offerCatalog(id: ID!, version: String): OfferCatalog
Query offerCatalogs(where: OfferCatalogWhereInput, orderBy: [OfferCatalogOrderByInput!], first: Int, after: String): OfferCatalogConnection!
Query offerCatalogsGroupBy(by: [OfferCatalogGroupByField!]!, where: OfferCatalogWhereInput, having: OfferCatalogHavingInput, orderBy: [OfferCatalogGroupByOrderByInput!], first: Int, after: String): OfferCatalogGroupByConnection!
Mutation createOfferCatalog(input: CreateOfferCatalogInput!): OfferCatalog!
Mutation updateOfferCatalog(input: UpdateOfferCatalogInput!, expectedVersion: String): OfferCatalog!
Mutation deleteOfferCatalog(id: ID!, expectedVersion: String): Boolean!

Webhook events

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

OfferCatalogCreated, OfferCatalogUpdated, OfferCatalogPatched, OfferCatalogDeleted.