Developer Preview v1.0

Build commerce,
beautifully.

Integrate powerful storefront functionality, process payments, and manage orders with the Cimplify SDK and our robust REST API.

TypeScript-first SDK

Interact with your product catalogue, create checkout sessions, and attach elements instantly with strongly typed methods.

  • Full end-to-end type safety
  • Built-in error handling via Result pattern
  • Zero layout shift React integration
  • Automatic retry and circuit breakers
fetch-products.ts
import { createCimplifyClient } from '@cimplify/sdk'

// 1. Initialize the client
const client = createCimplifyClient({
  publicKey: 'pk_test_a1b2c3d4e5f6',
  environment: 'test'
})

// 2. Fetch products easily
async function getStorefront() {
  const result = await client.catalogue.getProducts({
    limit: 10,
    expand: ['variants', 'media']
  })

  if (!result.ok) {
    throw new Error(result.error.message)
  }

  return result.value.items
}