Skip to main content
GET
Get comprehensive store information

Authorizations

Authorization
string
header
required

API Key Authentication

Use your API key in the Authorization header:

Key Types:

Secret Keys (Server-Side Only):

  • Format: tybrite_sk_live_* (production) or tybrite_sk_test_* (sandbox)
  • Full read/write access to all endpoints
  • ⚠️ NEVER expose in client-side code or public repositories
  • Required for: every write a shopper does not make for themselves, authentication, payment verification, AI recommendations

Publishable Keys (Client-Safe):

  • Format: tybrite_pk_live_* (production) or tybrite_pk_test_* (sandbox)
  • Catalogue reads, plus the actions a shopper takes for themselves
  • ✅ Safe for client-side JavaScript, mobile apps, and public code
  • Allowed for: browsing products, search, CMS content, pricing queries, cart and wishlist, reviews, storefront events, and the Agent API's quotes, cart drafts and checkout intents

Endpoint-Specific Requirements:

  • Authentication endpoints (/v1/auth/*): state-changing POST calls require a secret key, for store and marketplace keys alike; GET /v1/auth/me accepts either key
  • Payment verification (POST /v1/payments/verify): Secret key required
  • AI Recommendations (POST /v1/recommendations): Secret key required
  • Semantic Search (POST /v1/search): Both key types allowed (read-only operation)
  • Shopper actions (cart, wishlist, reviews, storefront events, Agent API quotes, cart drafts and checkout intents): Both key types allowed
  • All other write operations: Secret key required
  • All read operations: Both key types allowed

Using a publishable key for restricted operations returns 403 Forbidden.

Limited publishable keys: A publishable key can be limited to the products that carry one tag (for example starter:jewellery), created from the store's Developers page. The limit applies to the key, never to the shopper: shopper sign-up and sign-in stay store-wide.

  • Reads return only the slice: products (with their facets, filters, search, brands and specifications), categories and subcategories that hold in-slice products, collections, promotions, posts and lookbooks that carry the tag, reviews of in-slice products, prices, discovery lists and the store information summary, with every count computed on the slice. A product outside the slice answers 404, as if it did not exist.
  • A write that names a product or variant outside the slice (adding to the cart or wishlist, reserving stock, an order line, a review, a promotion calculation, a storefront event) answers 403 with the error code out_of_scope, and nothing is written or reserved. An order is refused as a whole.
  • A route that carries no slice behaviour is not available to the key: it answers 403 with endpoint_not_allowed.
  • Orders placed through such a key record the tag on the order's attribution as key_scope.
  • Secret keys and connected-app keys cannot be limited.
  • Responses are cached per key limit: a limited key never receives a response cached for the whole store, and the reverse.

Query Parameters

sections
string

Comma-separated list of sections to include in the response. Omit to return all sections.

Available Sections:

  • catalog - Products, categories, collections, brands, specifications
  • pricing - Dynamic pricing configuration and rules
  • promotions - Active promotions and types
  • payments - Payment providers and methods
  • shipping - Delivery zones and fees
  • cms - CMS posts and lookbooks
  • features - Feature flags and capabilities
  • custom_fields - The custom fields the merchant has defined, by record type
  • profile - Contact details, social profiles, published legal documents and legal identity, in summary

Note: The store section is always included regardless of this parameter.

Examples:

  • sections=catalog,features - Only catalog and features
  • sections=payments,shipping - Only payment and shipping info
  • Omit parameter - All sections included

Payload Size Reduction:

  • Full response: ~15-25KB
  • catalog only: ~8-12KB (50% reduction)
  • features,payments: ~2-3KB (85% reduction)

SDK Usage:

Example:

"catalog,features"

cache
boolean
default:true

Control cache behavior. Set to false to bypass cache and fetch fresh data.

Default: true (use cache if available)

Cache Duration: 5 minutes (300 seconds)

With cache=false the response is built from the store's current data, including the features flags and their feature_status, X-Cache is MISS, and the response carries Cache-Control: no-store, so no cache between the API and the caller keeps it.

When to Bypass Cache:

  • After updating store configuration
  • When a feature's availability matters at this moment (for example features.agent_hosted_helpers before calling a hosted helper)
  • After adding/removing products or categories
  • After changing payment or shipping settings
  • When you need real-time data

Cache Headers:

  • X-Cache: HIT - Response served from the edge cache (HIT-304 for a 304 on an ETag match)
  • X-Cache: MISS - Response read fresh (cache=false)
  • The header can be absent on other 200 responses
  • Cache-Control: public, max-age=300 - Browser/CDN caching

SDK Usage:

Response

Store information retrieved successfully

store
object
required

Basic store information (always included)

catalog
object

Catalog overview (optional, included when requested)

pricing
object

Pricing configuration (optional, included when requested)

promotions
object

Promotions overview (optional, included when requested)

payments
object

Payment configuration (optional, included when requested)

shipping
object

How the store delivers and where it offers pickup (optional, included when requested). The flags summarise the rates below: a store with no zones, distance rates or "everywhere else" choice charges nothing for delivery through these rates, so it is configured: false and still delivers. Exact prices for an address come from POST /v1/shipping/calculate.

cms
object

CMS content overview (optional, included when requested)

features
object

Feature flags (optional, included when requested). Each flag is a boolean answering "should the storefront show this capability right now?" — use them to decide which UI to render.

What true / false mean. A flag is true only when the capability is BOTH available to the store AND has data/config to surface. false is deliberately broad — it can mean any of: the store's plan doesn't include the feature, the plan includes it but it isn't set up/has no data yet, or both. A false flag therefore does NOT tell you why it's off; treat it simply as "don't render this yet."

Two kinds of flag:

  • Plan-gated — ai_recommendations, semantic_search, dynamic_pricing, cms, lookbooks, returns. true requires the store's plan to include the feature AND it to be configured. By plan: Starter includes none of these; Growth adds content pages/lookbooks (cms, lookbooks) and returns; Premium adds smart search & recommendations (ai_recommendations, semantic_search) and dynamic_pricing.

  • Data-presence (every plan) — multi_currency, gift_cards, promotions, messaging, specifications, collections. Not plan-gated at all; true simply means the store currently has at least one of that item (e.g. gift_cards: true = the store has issued one or more gift cards). false means none exist yet, not that the feature is forbidden.

  • Shopping assistants — agentic_commerce and agent_hosted_helpers describe the Agent API for assistants shopping the store. agentic_commerce is true on every store; agent_hosted_helpers is true while the model-backed helper tools can be called.

Pass cache=false to read the flags as they are at this moment rather than as cached.

custom_fields
object

The extra fields this merchant has added to their own records (optional, included when requested), grouped by the kind of record each one describes.

Why this is here rather than on the record. Reading a product tells you nothing about which of its fields the merchant defined, and a field you have never seen a value for is invisible until some record happens to carry one. This is the shape of the merchant's records, so a storefront or an agent knows in advance what a product, a customer or an order may carry, and can label and format it correctly.

Grouped by entity, because a field is not a store-wide fact. fabric describes a product; buyer_po describes an order. A flat list would leave you guessing which records a field applies to.

Public fields only. A merchant may mark a field private, and private is the default — such a field can hold a cost, a margin or an internal note, so it is omitted entirely here, including its name.

Definitions only. A field's VALUE belongs to a record and is returned with that record.

Example:
profile
object

A compact form of the store profile, returned as the profile section of GET /v1/store/info. GET /v1/store/profile returns the full profile.

marketplace
object

Indicates whether this store is part of a marketplace, so a storefront can adapt its experience accordingly.