Skip to content

Catalog Capability

Overview

The Catalog capability allows platforms to search and browse business product catalogs. This enables product discovery before checkout, supporting use cases like:

  • Free-text product search
  • Category and filter-based browsing
  • Batch product/variant retrieval by identifier
  • Price comparison across variants

Capabilities

Capability Description
dev.ucp.shopping.catalog.search Search for products using query text and filters.
dev.ucp.shopping.catalog.lookup Retrieve products or variants by identifier.

Key Concepts

  • Product: A catalog item with title, description, media, and one or more variants.
  • Variant: A purchasable item with specific option selections (e.g., "Blue / Large"), price, and availability.
  • Price: Price values include both amount (in minor currency units) and currency code, enabling multi-currency catalogs.

Relationship to Checkout

Catalog operations return product and variant IDs that can be used directly in checkout line_items[].item.id. The variant ID from catalog retrieval should match the item ID expected by checkout.

Catalog responses (pricing, availability, etc.) reflect the Business's current terms for the given request but are not transactional commitments — checkout is authoritative. Responses can be session-specific and SHOULD NOT be reused across sessions without re-validation.

Shared Entities

Context

Location and market context for catalog operations. All fields are optional hints for relevance and localization. Platforms MAY geo-detect context from request headers.

Context signals are provisional—not authoritative data. Businesses SHOULD use these values when verified inputs (e.g., shipping address) are absent, and MAY ignore or down-rank them if inconsistent with higher-confidence signals (authenticated account, risk detection) or regulatory constraints (export controls). Eligibility and policy enforcement MUST occur at checkout time using binding transaction data.

Businesses determine market assignment—including currency—based on context signals. Price filter values are denominated in context.currency; when the presentment currency differs, businesses SHOULD convert before applying (see Price Filter). Response prices include explicit currency codes confirming the resolution.

When context.eligibility claims are present, Businesses that accept them MAY adjust price / list_price directly for strikethrough display and MAY use messages with code: "eligibility_benefit" to attribute the adjustment to a specific claim.

Name Type Required Description
address_country string No The country. Recommended to be in 2-letter ISO 3166-1 alpha-2 format, for example "US". For backward compatibility, a 3-letter ISO 3166-1 alpha-3 country code such as "SGP" or a full country name such as "Singapore" can also be used. Optional hint for market context (currency, availability, pricing)—higher-resolution data (e.g., shipping address) supersedes this value.
address_region string No The region in which the locality is, and which is in the country. For example, California or another appropriate first-level Administrative division. Optional hint for progressive localization—higher-resolution data (e.g., shipping address) supersedes this value.
postal_code string No The postal code. For example, 94043. Optional hint for regional refinement—higher-resolution data (e.g., shipping address) supersedes this value.
intent string No Background context describing buyer's intent (e.g., 'looking for a gift under $50', 'need something durable for outdoor use'). Informs relevance, recommendations, and personalization.
language string No Preferred language for content. Use IETF BCP 47 language tags (e.g., 'en', 'fr-CA', 'zh-Hans'). For REST, equivalent to Accept-Language header—platforms SHOULD fall back to Accept-Language when this field is absent; when provided, overrides Accept-Language. Businesses MAY return content in a different language if unavailable.
currency string No Preferred currency (ISO 4217, e.g., 'EUR', 'USD'). Businesses determine presentment currency from context and authoritative signals; this hint MAY inform selection in multi-currency markets. Also serves as the denomination for price filter values — platforms SHOULD include this field when sending price filters. Response prices include explicit currency confirming the resolution.
eligibility Array[Reverse Domain Name] No Buyer claims about eligible benefits such as loyalty membership, payment instrument perks, and similar. Recognized claims MAY inform the Business response (e.g., member-only product availability, adjusted pricing in catalog, provisional discounts at cart or checkout). Businesses MUST ignore unrecognized values without error. Values MUST use reverse-domain naming (e.g., 'com.example.loyalty_gold', 'org.school.student') and MUST be non-identifying.
payment Array[object] No Buyer-preferred payment handlers in priority order (most preferred first). Each entry names a handler advertised in the Business profile's ucp.payment_handlers, optionally narrowed to preferred instrument types. The Business SHOULD use it to preselect or prioritize the handler (and type, when given) and MAY ignore unavailable or ineligible entries; unrecognized values MUST be ignored without error.

Signals

Environment data provided by the platform to support authorization and abuse prevention. Signal values MUST NOT be buyer-asserted claims. See Signals for details and privacy requirements.

Name Type Required Description
dev.ucp.buyer_ip string No Client's IP address (IPv4 or IPv6).
dev.ucp.user_agent string No Client's HTTP User-Agent header or equivalent.

Attribution

Platform-provided referral and conversion-event context — campaign IDs, click identifiers, and source/medium markers communicated by the platform. See Attribution for details and consent requirements.

Platform-emitted referral and conversion-event context — campaign identifiers, click IDs, source/medium markers, etc. The same parameters platforms communicate via URL query parameters in browser-based flows.

Product

A catalog item representing a sellable item with one or more purchasable variants.

media and variants are ordered arrays. Businesses SHOULD return the most relevant variant and media item first — default for lookups, best match based on query and context for search. Platforms SHOULD treat the first media item they present as featured.

Name Type Required Description
id string Yes Global ID (GID) uniquely identifying this product.
handle string No URL-safe slug for SEO-friendly URLs (e.g., 'blue-runner-pro'). Use id for stable API references.
title string Yes Product title.
description Description Yes Product description in one or more formats.
url string No Canonical product page URL.
categories Array[Category] No Product categories with optional taxonomy identifiers.
price_range Price Range Yes Price range across all variants.
list_price_range Price Range No List price range before discounts (for strikethrough display).
media Array[Media] No Product media (images, videos, 3D models). First item is the featured media for listings.
options Array[Product Option] No Product options (Size, Color, etc.).
variants Array[Variant] Yes Purchasable variants of this product. First item is the featured variant for listings.
rating Rating No Aggregate product rating.
tags Array[string] No Product tags for categorization and search.
metadata object No Business-defined custom data extending the standard product model.

Variant

A purchasable item with specific option selections, price, and availability.

In lookup responses, each variant carries an inputs array for correlation: which request identifiers resolved to this variant, and whether the match was exact or featured (server-selected). See Client Correlation for details.

media is an ordered array. Businesses SHOULD return the featured variant media item as the first element. Platforms SHOULD treat the first media item they present as featured.

Name Type Required Description
id string Yes Global ID (GID) uniquely identifying this variant. Used as item.id in checkout.
sku string No Business-assigned identifier for inventory and fulfillment.
barcodes Array[object] No Industry-standard product identifiers for cross-reference and correlation.
handle string No URL-safe variant handle/slug.
title string Yes Variant display title (e.g., 'Blue / Large').
description Description Yes Variant description in one or more formats.
url string No Canonical variant page URL.
categories Array[Category] No Variant categories with optional taxonomy identifiers.
price Price Yes Current selling price.
list_price Price No List price before discounts (for strikethrough display).
unit_price object No Price per standard unit of measurement. MAY be omitted when unit pricing does not apply.
availability object No Variant availability for purchase.
options Array[Selected Option] No Option values that define this variant (e.g., Color: Blue, Size: Large).
media Array[Media] No Variant media (images, videos, 3D models). First item is the featured media for listings.
rating Rating No Variant rating.
tags Array[string] No Variant tags for categorization and search.
metadata object No Business-defined custom data extending the standard variant model.
seller object No Optional seller context for this variant.

Price

Name Type Required Description
amount Amount Yes Amount in ISO 4217 minor units. Use 0 for free items.
currency string Yes ISO 4217 currency code (e.g., 'USD', 'EUR', 'GBP').

Price Range

Name Type Required Description
min Price Yes Minimum price in the range.
max Price Yes Maximum price in the range.

Media

One logical media item on a Product or Variant — such as an image, a video, or a 3D model. A media item is a resource the Platform renders: url identifies it, sources lists alternate renditions of it, preview is a still the Platform can show before or instead of it, and width and height are its intrinsic pixel dimensions. The width and height on preview and on each sources entry are the pixel dimensions of that still or rendition.

type is an open string with four well-known values: image, video, external_video, and model_3d. A Platform MUST NOT reject a product or response because it does not recognize a media item's type. It MAY present such an item from preview and name, or omit it. Recognizing a type only enables type-specific presentation.

A Platform MAY refuse to load or embed a media URL that does not use the https scheme.

A Platform selects a rendition from sources by mime_type and dimensions. A Business that provides sources SHOULD include the rendition at url.

Name Type Required Description
type string Yes Media type. Well-known values: image, video, external_video, model_3d. A Platform MUST NOT reject the containing object for an unrecognized value; it MAY present the item from preview and name, or omit it.
url string Yes URL of the media resource the Platform renders; interpretation is specialized per type.
name string No Human-readable title or label for the media, distinct from alt_text (accessibility text). Often present for video and model_3d.
alt_text string No Accessibility text describing the media.
width integer No Intrinsic pixel width of the media item, for image and video types; a rendition's own dimensions are on its sources entry.
height integer No Intrinsic pixel height of the media item, for image and video types; a rendition's own dimensions are on its sources entry.
duration integer No Duration in seconds, for time-based media such as video and external_video.
preview object No Poster/thumbnail still the Platform renders before or instead of the primary resource. A Business SHOULD provide it for video, external_video, and model_3d unless no suitable still exists, and MAY provide it for image as a low-resolution placeholder.
sources Array[Media Source] No Alternate renditions of the resource at url. The Business SHOULD include the rendition at url.

Image

url is a directly displayable image. sources, when present, lists alternate encodings and sizes of it — for example image/avif, image/webp, and image/jpeg, or width variants for responsive layout. The Business SHOULD make url the most broadly decodable rendition, because a Platform that does not select from sources loads url directly.

Name Type Required Description
url string Yes A directly displayable image.
sources Array[Media Source] No Alternate encodings and sizes of the image (e.g. image/avif, image/webp, image/jpeg; width variants for responsive layout). url SHOULD be the most broadly decodable rendition.

Video

url is a playable rendition of the video: a progressive file or an adaptive-streaming manifest. sources, when present, lists alternate renditions and manifests.

Name Type Required Description
url string Yes A playable rendition of the video: a progressive file or an adaptive-streaming manifest.
width integer No Intrinsic pixel width of the video; a rendition's own dimensions are on its sources entry.
height integer No Intrinsic pixel height of the video; a rendition's own dimensions are on its sources entry.
sources Array[Media Source] No Alternate renditions (MP4/WebM) and adaptive manifests (HLS/DASH).

External Video

A video presented through a third-party player. url is the player, which the Platform embeds; a video the Business serves as files from any origin, including a CDN, is video. A Platform that does not embed third-party players presents preview or omits the item.

A Platform that embeds the player MUST isolate it from the Platform's authority: no Platform credentials, no access to Platform APIs or agent tools, no protocol messaging privileges, and no navigation of the host application. Before embedding, it MUST decline the item unless url is an absolute https URL without userinfo that is not same-site with the Platform. On the web, the player is one iframe whose src is url, sandboxed and credentialless, granting only the capabilities the player needs:

<iframe sandbox="allow-scripts allow-same-origin" allow="fullscreen" credentialless src="https://videos.example.com/embed/123"></iframe>

See Iframe Sandbox Attributes and Credentialless Iframes.

Name Type Required Description
url string Yes The third-party player the Platform embeds. A video the Business serves as files from any origin, including a CDN, is video, not external_video.
sources Array[Media Source] No Not used: a video presented through a player has no renditions.

3D Model

url is the primary model file, such as GLB. sources, when present, lists alternate formats such as glTF and USDZ.

Name Type Required Description
url string Yes The primary model file (e.g. GLB).
width integer No Not applicable: a 3D model has no pixel dimensions.
height integer No Not applicable: a 3D model has no pixel dimensions.
sources Array[Media Source] No Alternate file formats of the model (glTF/GLB/USDZ).

Product Option

Name Type Required Description
name string Yes Option name (e.g., 'Size', 'Color').
values Array[Option Value] Yes Available values for this option.

Option Value

Name Type Required Description
id string No Optional server-assigned identifier for this option value. When present in a selected_option, the server SHOULD use it for matching instead of label.
label string Yes Display text for this option value (e.g., 'Small', 'Blue').

Selected Option

Name Type Required Description
name string Yes Option name (e.g., 'Size').
id string No Optional option value identifier from option_value.id. When present, the server SHOULD use it for matching; name and label remain required for display.
label string Yes Selected option label (e.g., 'Large').

Rating

Name Type Required Description
value number Yes Average rating value.
scale_min number No Minimum value on the rating scale (e.g., 1 for 1-5 stars).
scale_max number Yes Maximum value on the rating scale (e.g., 5 for 5-star).
count integer No Number of reviews contributing to the rating.

Messages and Error Handling

All catalog responses include an optional messages array that allows businesses to provide context about errors, warnings, or informational notices.

Message Types

Messages communicate business outcomes and provide context:

Type When to Use Example Codes
error Business-level errors NOT_FOUND, OUT_OF_STOCK, REGION_RESTRICTED
warning Important conditions affecting purchase DELAYED_FULFILLMENT, FINAL_SALE
info Additional context without issues PROMOTIONAL_PRICING, LIMITED_AVAILABILITY

Warnings with presentation: "disclosure" carry notices (e.g., allergen declarations, safety warnings) that platforms must not hide or dismiss. See Warning Presentation for the full rendering contract.

Note: All catalog errors use severity: "recoverable" - agents handle them programmatically (retry, inform user, show alternatives).

Message (Error)

Name Type Required Description
type string Yes Constant = error. Message type discriminator.
code Error Code Yes Error code identifying the type of error. Standard errors are defined in specification (see examples), and have standardized semantics; freeform codes are permitted.
path string No RFC 9535 JSONPath to the component the message refers to (e.g., $.items[1]).
content_type string No Content format, default = plain.
Enum: plain, markdown
content string Yes Human-readable message.
severity string Yes Reflects the resource state and recommended action. 'recoverable': platform can resolve by modifying inputs and retrying via API. 'requires_buyer_input': merchant requires information their API doesn't support collecting programmatically (checkout incomplete). 'requires_buyer_review': buyer must authorize before order placement due to policy, regulatory, or entitlement rules. 'unrecoverable': no valid resource exists to act on, retry with new resource or inputs. Errors with 'requires_' severity contribute to 'status: requires_escalation'.
Enum:* recoverable, requires_buyer_input, requires_buyer_review, unrecoverable

Message (Warning)

Name Type Required Description
type string Yes Constant = warning. Message type discriminator.
path string No JSONPath (RFC 9535) to related field (e.g., $.line_items[0]).
code Warning Code Yes Warning code identifying the type of warning. Standard codes are defined in capability specs (see examples), and have standardized semantics; freeform codes are permitted.
content string Yes Human-readable warning message that MUST be displayed.
content_type string No Content format, default = plain.
Enum: plain, markdown
presentation string No Rendering contract for this warning. 'notice' (default): platform MUST display, MAY dismiss. 'disclosure': platform MUST display in proximity to the path-referenced component, MUST NOT hide or auto-dismiss. See specification for full contract.
image_url string No URL to a required visual element (e.g., warning symbol, energy class label).
url string No Reference URL for more information (e.g., regulatory site, registry entry, policy page).

Message (Info)

Name Type Required Description
type string Yes Constant = info. Message type discriminator.
path string No RFC 9535 JSONPath to the component the message refers to.
code Info Code No Info code identifying the type of informational message. Standard codes are defined in capability specs (see examples), and have standardized semantics; freeform codes are permitted.
content_type string No Content format, default = plain.
Enum: plain, markdown
content string Yes Human-readable message.

Common Scenarios

When search finds no matches, return an empty array without messages.

{
  "ucp": {...},
  "products": []
}

This is not an error - the query was valid but returned no results.

Backorder Warning

When a product is available but has delayed fulfillment, return the product with a warning message. Use the path field to target specific variants.

{
  "ucp": {...},
  "products": [
    {
      "id": "prod_xyz789",
      "title": "Professional Chef Knife Set",
      "description": { "plain": "Complete professional knife collection." },
      "price_range": {
        "min": { "amount": 29900, "currency": "USD" },
        "max": { "amount": 29900, "currency": "USD" }
      },
      "variants": [
        {
          "id": "var_abc",
          "title": "12-piece Set",
          "description": { "plain": "Complete professional knife collection." },
          "price": { "amount": 29900, "currency": "USD" },
          "availability": { "available": true }
        }
      ]
    }
  ],
  "messages": [
    {
      "type": "warning",
      "code": "delayed_fulfillment",
      "path": "$.products[0].variants[0]",
      "content": "12-piece set on backorder, ships in 2-3 weeks"
    }
  ]
}

Agents can present the option and inform the user about the delay. The path field uses RFC 9535 JSONPath to target specific components.

Identifiers Not Found

When requested identifiers don't exist, return success with the found products (if any). The response MAY include informational messages indicating which identifiers were not found.

{
  "ucp": {...},
  "products": [],
  "messages": [
    {
      "type": "info",
      "code": "not_found",
      "content": "prod_invalid"
    }
  ]
}

Agents correlate results using the inputs array on each variant. See Client Correlation.

Product Disclosure

When a product requires a disclosure (e.g., allergen notice, safety warning), return it as a warning with presentation: "disclosure". The path field targets the relevant component in the response — when it targets a product, the disclosure applies to all of its variants.

{
  "ucp": {...},
  "products": [
    {
      "id": "prod_nut_butter",
      "title": "Artisan Nut Butter Collection",
      "variants": [
        {
          "id": "var_almond",
          "title": "Almond Butter",
          "price": { "amount": 1299, "currency": "USD" },
          "availability": { "available": true }
        },
        {
          "id": "var_cashew",
          "title": "Cashew Butter",
          "price": { "amount": 1499, "currency": "USD" },
          "availability": { "available": true }
        }
      ]
    }
  ],
  "messages": [
    {
      "type": "warning",
      "code": "allergens",
      "path": "$.products[0]",
      "content": "**Contains: tree nuts.** Produced in a facility that also processes peanuts, milk, and soy.",
      "content_type": "markdown",
      "presentation": "disclosure",
      "image_url": "https://merchant.com/allergen-tree-nuts.svg",
      "url": "https://merchant.com/allergen-info"
    }
  ]
}

See Warning Presentation for the full rendering contract.

Scopes

The Catalog Search and Catalog Lookup capabilities define the following well-known scopes for user-authenticated access:

Scope Description
dev.ucp.shopping.catalog.search:read Search on behalf of the authenticated user — personalized results, member pricing, gated inventory.
dev.ucp.shopping.catalog.lookup:read Lookup on behalf of the authenticated user — personalized pricing or availability for specific products.

Scope declaration, derivation, and rules for extending this set with custom scopes are defined in Identity Linking — Scopes.

Transport Bindings

The capabilities above are bound to specific transport protocols: