Appearance
Changelog
What's new in the Harmon Storefront API and this developer portal. The API is at v1 (info.version 1.0.0); the API Reference is generated from the live contract, so it always reflects what the API serves today.
Subscribe to changes
Breaking changes ship under a new major API version (see Versioning below). To track catalog/stock/order changes programmatically, use webhooks and the updated_sincedelta sync.
API - v1
Additive - product media
GET /v1/products and GET /v1/products/{sku} now carry product imagery: a single resolved cover (or null) plus a cover-first media[] gallery. Each entry (MediaRefOut) carries the presentation metadata and the resolved public WebP derivative URLs - thumb_url (small, for grids) and large_url (for viewing) - so you render images without a second request. A product with no imagery returns cover: null and media: []. This is an additive change (clients that ignore unknown fields are unaffected); adding, removing, or reordering a product's media changes its ETag, so If-None-Match revalidation picks up the new gallery automatically.
v1.0.0 - initial public release
The first public, machine-authenticated commerce API for building your own storefront on Harmon.
- Auth - merchant-scoped API keys with a hard publishable/secret capability split, plus shopper tokens for customer-scoped reads and checkout. See Authentication & keys.
- Sandbox & live -
hk_test_keys run in sandbox; mode is echoed on every response. See Sandbox vs live. - Catalog - products, categories, tags, coarse availability bands, and vehicle fitment, with
ETag/If-None-Matchrevalidation andupdated_sincedeltas. See Pagination & caching. - Commerce - cart → COD/credit-terms checkout (
channel=ECOMMERCE), customer-scoped orders, invoices, and credit status. - Webhooks - HMAC-signed delivery of
order.*,invoice.*,product.*, andstock.changedevents. See Verify webhook signatures.
Portal
This branded developer portal ships alongside v1:
- Quickstart, guides, and a recipes cookbook with copy-paste, multi-language snippets (cURL · JavaScript · Python · PHP/Laravel).
- An embedded, OpenAPI-driven API Reference with a sandbox-default Try it console.
- LLM-native artifacts -
llms.txt,llms-full.txt, per-page "copy as Markdown," and one-click OpenAPI / Postman downloads.
Versioning
The Storefront API is versioned in the URL path (/v1/…). The contract follows these rules:
- Additive changes are not breaking. New endpoints, new optional request fields, and new response fields can appear within
v1at any time - write clients that ignore unknown fields. - Breaking changes ship under a new major version (
/v2/…). The previous major stays available through its announced deprecation window. info.version(currently1.0.0) tracks the contract's semantic version; the API Reference and the downloadable OpenAPI are always generated from the live spec, so they never drift from what the API serves.
When a v2 contract exists, the version switcher in the top navigation will let you read the v1 and v2 references side by side. Today only v1 is published.