SetchSetch home
  • Pricing
  • Use cases
  • Learn
  • Documentation
Sign inGet started
SetchSetch home

AI-powered search infrastructure for modern businesses and developers.

Products

  • Why Setch
  • Use cases
  • Voice Search Widget
  • REST Catalog API

Resources

  • Learn
  • Documentation
  • Pricing Plans
  • Quick Install

Company

  • Contact Sales
  • Privacy Policy
  • Terms of Service

© 2026 Setch, Inc. All rights reserved.

Search that understands what you mean.

Oct 27, 2026Developers

Sync your product catalog so visitors can search it by voice

Send normalized product records to the Catalog API, keep them current with upserts, and search them from your server.

Read the API reference
Catalog API
Audience:
Backend developers
You need:
An account token
Format:
JSON over HTTPS
Product:
Catalog API

At a glance

200

Products per bulk upsert request

At a glance

6

Availability states, from in_stock to discontinued

At a glance

100

Maximum results per catalog search page

At a glance

60

Catalog requests per minute by default

  • Create a catalog source
  • Shape your product records
  • Upsert in batches
  • Keep the catalog current
  • Search from your server

Create a catalog source

Products live in a catalog source attached to one of your sites. Create one with your account token; the response includes the numeric source id you will use in every product request.

Terminal
curl -X POST "$SETCH_API/api/catalog/sources/" \
  -H "Authorization: Token $SETCH_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"site_key": "site_abc123", "name": "Acme product catalog", "source_type": "api"}'

Shape your product records

Each product is identified by a stable external_id within its source, and a new product needs a non-empty title. Everything else — description, brand, categories, images, price, availability, attributes, and variants — is optional but makes answers better.

  • Send prices as decimal strings or integers, never floating-point numbers, with a three-letter ISO 4217 currency.
  • Availability is one of in_stock, out_of_stock, preorder, backorder, discontinued, or unknown.
  • Image and product URLs must be absolute.

Upsert in batches

Send between 1 and 200 products per bulk request, wrapped in a products array. Reuse the same external_id on every sync so updates replace the existing record instead of creating a new one.

Terminal
curl -X POST "$SETCH_API/api/catalog/sources/$SOURCE_ID/products/bulk/" \
  -H "Authorization: Token $SETCH_TOKEN" \
  -H "Content-Type: application/json" \
  --data @products.json

Each bulk request returns a sync job with per-product results and errors. Row-level errors can sit alongside successful rows, so check both job.status — succeeded, partial, or failed — and the errors list.

Keep the catalog current

Deleting a product soft-deletes it rather than removing it for good. To retire products that disappeared from your source, send a full batch to the sync endpoint with both delete_missing and complete_snapshot set to true — and only when that batch truly is your complete list. Missing products are only marked deleted if the batch has no errors.

Setch accepts normalized JSON records today. If your products come from a CSV or XML feed, fetch and normalize it in your own integration, then send it with a bulk upsert. Native Shopify and WooCommerce connectors are not available yet.

Search from your server

Catalog search takes a text query plus structured filters such as availability, price range, brand, and category, and returns up to 100 results per page.

Terminal
curl -G "$SETCH_API/api/catalog/search/" \
  -H "Authorization: Token $SETCH_TOKEN" \
  --data-urlencode "site_key=site_abc123" \
  --data-urlencode "q=waterproof jacket" \
  --data-urlencode "max_price=150"

Search uses deterministic text matching and filters rather than semantic ranking. Because it needs your account token, call it from your server; if you need search in the browser, proxy it through your app and apply your own authorization and rate limits.

Keep learning

View all
  • Search

    From Keywords to Conversations

    InsightsOct 28, 2026

  • Privacy

    How Setch keeps your customers' data private

    SecurityOct 27, 2026