> ## Documentation Index
> Fetch the complete documentation index at: https://docs.prava.space/llms.txt
> Use this file to discover all available pages before exploring further.

# UCP Integration

> How Prava discovers and prices products across Shopify merchants with the Universal Commerce Protocol.

**UCP (Universal Commerce Protocol)** is Shopify's agentic-commerce protocol: a standard way for an
agent to **search products, read catalogs, and open a checkout** across participating Shopify merchants.
Prava integrates with UCP so an AI application can discover *what* to buy and get an initial price,
before the [Browser Harness](https://docs.prava.space/integration/browser-harness.md) confirms the real total and completes the
order.

> [!NOTE]
>
> UCP is Shopify-specific. Any Shopify store that advertises UCP is reachable through it.

## What UCP gives you

> [card] Search
>
> Query a single merchant, or Shopify's **global catalog** across all participating merchants at once.

> [card] Catalog
>
> Full product details: variants, options (size/color), pricing, availability, and images.

> [card] Quote
>
> Open a checkout and get an initial price (subtotal, tax estimate, and shipping options where the
> merchant exposes them).

## How Prava integrates with UCP

Prava speaks UCP to Shopify stores that advertise it, and layers a consistent discovery-to-purchase
pipeline on top:

**1. Reach the merchant**

A Shopify store that advertises UCP exposes a commerce endpoint Prava can call. Prava can target **one
merchant** directly, or search Shopify's **global catalog** spanning every participating merchant with
a single query.

**2. Search & catalog**

Prava runs the search, normalizes the results into a consistent shape (product id, title, price
estimate, image, merchant), and fetches a product's **variants** (options, prices, and availability)
so the exact item can be chosen.

**3. Open a checkout (quote)**

For the chosen variant and destination, Prava asks UCP to **open a checkout**. That returns a checkout
and an **initial proposal**: subtotal, a tax estimate, and (for merchants that expose it) shipping
options. This is an *estimate*, not the binding total.

**4. Hand off to the Browser Harness**

Prava drives that live checkout with the [Browser Harness](https://docs.prava.space/integration/browser-harness.md), which reads
and **reconciles the true final total** (shipping + tax settled) and completes the purchase with the
one-time tokenized card.

This is the first half of the [pipeline](https://docs.prava.space/integration/overview.md): exactly the chain the CLI exposes as
[`prava shop search → product → quote → checkout`](https://docs.prava.space/prava-pay/shopping).

## Supported merchants

UCP reaches **participating Shopify merchants** (for example Fashion Nova, SKIMS, Alo Yoga,
Steve Madden, Glossier, Everlane, Harry's, and Ridge) plus any Shopify store that advertises UCP.

> [!WARNING]
>
> **Coverage varies by merchant.** Some merchants expose shipping options and tax through UCP; others
> don't. Treat UCP prices as an **estimate**: the **binding final total** is always confirmed at
> checkout by the [Browser Harness](https://docs.prava.space/integration/browser-harness.md) before any charge.

## Next

> [card] [Browser Harness](https://docs.prava.space/integration/browser-harness.md)
>
> How the true total is confirmed and the order is completed from a UCP quote.

> [card] [Agentic shopping (CLI)](https://docs.prava.space/prava-pay/shopping.md)
>
> Run this discovery-to-purchase flow from the command line.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.