Skip to content

Offer

An Offer is the commercial side of an item: its price and currency, availability, condition, delivery methods, shipping details, warranty and return policy. itemOffered links to the Product or Service offered, and offeredBy to the seller Organization. One product can have several offers, for example one per country or channel. A marketplace's price range across sellers is an Offer whose additionalType is AggregateOffer, with lowPrice, highPrice, offerCount and offers instead of price: Google's product snippets accept it, but its price drop enhancement needs single Offers.

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

Example

Create one with POST /offers:

{
  "name": [
    {
      "at_language": "en",
      "at_value": "Trail Running Shoe, EU store"
    }
  ],
  "price": 129.9,
  "priceCurrency": "EUR",
  "availability": [
    "https://schema.org/InStock"
  ],
  "itemCondition": [
    "https://schema.org/NewCondition"
  ],
  "itemOffered": {
    "at_id": "https://apis.objectsgrid.com/products/2b5f8f0e-1d0c-4d61-9a7e-5a1f0c3e9d21"
  },
  "validFrom": "2026-11-01T00:00:00Z"
}

Fields

Required: name, priceCurrency.

Field Type Required Description
at_context https://schema.org JSON-LD @context, always https://schema.org.
at_type Offer 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.
image URL image URL
name list of LanguageTaggedString Yes The Offer Name. See schema.org/name.
description list of LanguageTaggedString The Offer Description. See schema.org/description.
url URL This Offer URL
additionalType AggregateOffer The kind of offer: AggregateOffer for the price range of a product several sellers sell, with lowPrice, highPrice, offerCount and offers instead of a price: its JSON-LD @type. None for an Offer.
acceptedPaymentMethod list of string The accepted Payment Method
availability list of ItemAvailability item availability
availabilityEnds date-time What date the availability ends
availabilityStarts date-time What date the availability starts
availableDeliveryMethod list of DeliveryMethod The available delivery method(s)
businessFunction list of string business function
category list of string The Offer category
checkoutPageUrlTemplate URL This Offer checkout Page Url Template
deliveryLeadTime QuantitativeValue The delivery lead time
eligibleCustomerType list of string The eligible customer type
eligibleDuration QuantitativeValue The eligible duration
eligibleQuantity number The eligible quantity
eligibleRegion list of string The eligible region
hasMerchantReturnPolicy Reference to MerchantReturnPolicy The return policy for it, when it differs from its Product's or seller's
itemCondition list of OfferItemCondition The item condition
itemOffered Reference to Product or ProductGroup or ProductModel or Service or Event or Course or Accommodation or MenuItem The item offered by whom
offeredBy Reference to Organization or Place or Person The Organization, local business (Place) or Person offering it
price number The Offer price; an AggregateOffer has lowPrice instead
lowPrice number AggregateOffer: the lowest price of the offers
highPrice number AggregateOffer: the highest price of the offers
offerCount integer AggregateOffer: how many offers there are
offers list of References to Offer AggregateOffer: the single Offers it sums up, those in ObjectsGrid
priceCurrency CurrencyCodeEnumeration Yes The Offer price currency ISO 4217 codes
priceSpecification list of UnitPriceSpecification More prices of the Offer, beside price: a strikethrough price before a sale, a member price (validForMemberTier), or a price per unit.
priceValidUntil date-time The Offer price valid until date
shippingDetails OfferShippingDetails The Offer Shipping Details
validFrom date-time The Offer valid from date
validThrough date-time The Offer valid through date
warranty WarrantyPromise The Offer Warranty
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 [].
inventoryLevel QuantitativeValue How many are left to sell, e.g. the free rooms of a category: value, unitCode C62

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

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

GraphQL

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

Operation Field
Query offer(id: ID!, version: String): Offer
Query offers(where: OfferWhereInput, orderBy: [OfferOrderByInput!], first: Int, after: String): OfferConnection!
Query offersGroupBy(by: [OfferGroupByField!]!, where: OfferWhereInput, having: OfferHavingInput, orderBy: [OfferGroupByOrderByInput!], first: Int, after: String): OfferGroupByConnection!
Mutation createOffer(input: CreateOfferInput!): Offer!
Mutation updateOffer(input: UpdateOfferInput!, expectedVersion: String): Offer!
Mutation deleteOffer(id: ID!, expectedVersion: String): Boolean!

Webhook events

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

OfferCreated, OfferUpdated, OfferPatched, OfferDeleted.