SPREEAI untuk pembangun

Bina bilik persalinan
ke dalam setiap skrin.

Mulakan dengan Shopify, SDK Web atau integrasi API yang diluluskan. Hab ini membawa pasukan anda daripada keputusan pertama kepada pelancaran yang diuji.

04
laluan integrasi
v2.1
Web SDK semasa
01
senarai semak pelancaran
Perspektif pembangunMrinal ShuklaKetua Kejuruteraan

Permulaan pantas SDK Web

Dari pemasangan hingga
butang berfungsi.

Sahkan sekali, kemudian paparkan percubaan atau penentuan saiz di mana-mana sahaja di halaman. Gunakan kelayakan ujian yang dikeluarkan semasa pendaftaran dan jangan sekali-kali meletakkan rahsia pelanggan dalam kod pelayar.

npm install @spreeai/web-sdk

# atau
yarn add @spreeai/web-sdk

Model integrasi

Empat sistem.
Satu detik pelanggan.

01Katalog anda

ID produk, varian, imej dan konteks perdagangan.

02Pengambilan SPREEAI

Pakaian bergerak melalui status pemprosesan, semakan, dan kesediaan.

03SDK atau API

Kedai anda meminta pengalaman untuk produk yang layak.

04Tindakan pelanggan

Cuba, cari saiz, lengkapkan gaya dan kembali ke pembayaran.

Laluan pengeluaran

Ambil integrasi tersebut
melepasi garisan penamat.

Pelancaran yang bersih adalah lebih daripada sekadar butang yang berfungsi. Gunakan urutan ini untuk menyelaraskan akses, aset, tingkah laku, kualiti dan pengukuran.

  1. 01

    Tentukan skop perjalanan pertama

    Pilih satu saluran, kumpulan katalog, detik pelanggan dan ukuran kejayaan.

    Pemilik · Produk + perdagangan
  2. 02

    Sediakan akses

    Sahkan ID rakan kongsi, kelayakan pelanggan yang diluluskan, kebenaran storefront dan persekitaran staging.

    Pemilik · Kejuruteraan
  3. 03

    Hantar aset yang bersih

    Sediakan satu pakaian bagi setiap imej, pandangan hadapan diperlukan, resolusi tinggi, pencahayaan bersih dan nama fail sejajar SKU.

    Pemilik · Pasukan katalog
  4. 04

    Integrasikan ke dalam pementasan

    Hanya paparkan pada produk yang layak, sambungkan varian dan tingkah laku troli, dan sesuaikan titik masuk dengan jenama.

    Pemilik · Bahagian hadapan
  5. 05

    Jalankan QA pelancaran

    Uji peranti mudah alih dan desktop, liputan pelayar, kebolehaksesan, prestasi, kesetiaan visual dan keadaan kegagalan.

    Pemilik · Jaminan Kualiti + jenama
  6. 06

    Dayakan dan ukur

    Hidupkan produk Sedia, terbitkan pengalaman berperingkat dan pantau penerimaan, penyiapan dan penukaran.

    Pemilik · Perdagangan + analitis

Garis asas aset

Input yang baik menghasilkan keputusan yang lebih baik.

  • JPEG or PNG
  • 2,000 × 2,000 px minimum
  • Front view required
  • Back view recommended
  • Neutral, even lighting
  • SKU or style ID in filename
Open the asset checklist ↗

Build for production

The details that protect
the customer experience.

01

Security

Keep secrets server-side, use only issued environments and rotate credentials through the partner workflow.

02

Privacy

Request customer imagery with clear consent and align data handling with your approved integration plan.

03

Performance

Load the experience where it is needed, test real devices and monitor product-page regressions.

04

Accessibility

Preserve keyboard access, focus order, accessible names and a usable path when the experience is unavailable.

Developer FAQ

Questions before
the first commit.

Which integration should we choose?

Use the Shopify App for the fastest managed path, the Web SDK for custom or headless web placement, the native SDKs for app experiences, and the approved API reference for server-side workflows agreed during onboarding.

Where do credentials come from?

SPREEAI issues the partner ID and approved credentials during onboarding. The browser SDK uses a client ID and partner ID. Never embed a client secret in front-end code.

Does the Shopify App require API keys?

The current Shopify App onboarding flow connects the store after the required agreements and subscription step; the managed app does not require copying keys into the setup screen.

Why does the Try-On button not appear?

Confirm the garment has completed processing, is enabled for Try-On, maps to the active product or variant, and that the app block or SDK container is present on the product template.

Which client events are available?

The documented SDK callbacks cover Try-On button clicks and add-to-cart interactions. Connect them to your analytics layer without including customer imagery or unnecessary personal data.

Are server webhooks available?

Server-push webhooks are not part of the currently published SDK documentation. Scope any server-side event requirement with Partner Engineering before relying on it.

Where do developers get help?

Use the technical support path provided during onboarding or email support@spreeai.com. Include the environment, product ID, browser or device, timestamp and a concise reproduction path—never send secrets.

When will Amazon Partner Network support be available?

The Amazon Partner Network integration is in development. It is intentionally marked Coming Soon until the onboarding and production interface are ready for external developers.

Ready to build?

Choose the path.
We’ll help you ship it.

Book a technical discoveryBrowse all docs ↗Open Partner Workspace ↗