Skip to content

ItemList

An ItemList is an ordered list of objects: a shopper's wishlist, "Staff picks", "Top 10 restaurants in Lyon", a comparison. Each entry of itemListElement is a ListItem whose item references any object (a Product, an Offer, a Place, an Event...); numberOfItems is set by the platform. author is whose list it is: a shopper's Person or your Organization. Schema.org has no wishlist type: a wishlist is an ItemList tagged list-type = wishlist. A wishlist has no prices and never checks out: "move to cart" adds a line to a Cart. See Wishlists, questions and messages.

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

Example

Create one with POST /itemlists:

{
  "name": [
    {
      "at_language": "en",
      "at_value": "Ada's wishlist"
    }
  ],
  "author": {
    "at_id": "https://apis.objectsgrid.com/persons/7c1e2d3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f"
  },
  "itemListOrder": "https://schema.org/ItemListUnordered",
  "itemListElement": [
    {
      "position": 1,
      "item": {
        "at_id": "https://apis.objectsgrid.com/products/kettle-1"
      },
      "dateAdded": "2026-12-03T10:00:00Z"
    }
  ],
  "tags": [
    {
      "name": "list-type",
      "val": "wishlist"
    }
  ]
}

Fields

Required: name.

Field Type Required Description
at_context https://schema.org JSON-LD @context, always https://schema.org.
at_type ItemList 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.
url URL The object's own URL, https://apis.objectsgrid.com/<path>/<id>. Assigned by ObjectsGrid.
name list of LanguageTaggedString Yes The ItemList name. See schema.org/name.
description list of LanguageTaggedString The ItemList description. See schema.org/description.
image list of URL Image URLs
itemListOrder ItemListOrderType How the entries are ordered
itemListElement list of ListItem Its entries
numberOfItems integer How many entries it has. Set by the service.
author Reference to Person or Organization Whose list it is: a shopper's Person for a wishlist, the business's Organization for an editorial list; the URL of a Person or Organization, stored as ?version=
dateCreated date-time When it was created
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 /itemlists
List and search GET /itemlists
Create up to 100 at once POST /itemlists/batch
Retrieve GET /itemlists/{id}
Retrieve as a JSON-LD document for your pages GET /itemlists/{id} with Accept: application/ld+json; see JSON-LD for your pages
Replace PUT /itemlists/{id}
Update some fields PATCH /itemlists/{id}
Delete DELETE /itemlists/{id}

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

GraphQL

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

Operation Field
Query itemList(id: ID!, version: String): ItemList
Query itemLists(where: ItemListWhereInput, orderBy: [ItemListOrderByInput!], first: Int, after: String): ItemListConnection!
Query itemListsGroupBy(by: [ItemListGroupByField!]!, where: ItemListWhereInput, having: ItemListHavingInput, orderBy: [ItemListGroupByOrderByInput!], first: Int, after: String): ItemListGroupByConnection!
Mutation createItemList(input: CreateItemListInput!): ItemList!
Mutation updateItemList(input: UpdateItemListInput!, expectedVersion: String): ItemList!
Mutation deleteItemList(id: ID!, expectedVersion: String): Boolean!

Webhook events

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

ItemListCreated, ItemListUpdated, ItemListPatched, ItemListDeleted.