Developer Documentation
Three products — pick the one that fits your use case.
<script src="https://v3.body2fit
.bodygram.com/sdk.js"></script>
<script>
const widget = new Body2FitSDK({
clientKey: 'YOUR_CLIENT_KEY',
brandId: 'YOUR_BRAND_ID',
garmentSKU:'YOUR_SKU',
countryCode:'US',
languageCode:'en',
});
widget.embed();
widget.on('ready', () =>
widget.open());
</script><script
src="https://v3.body2fit.bodygram.com/sdk.js">
</script>
<script>
const widget = new Body2FitSDK({
clientKey: 'YOUR_CLIENT_KEY',
brandId: 'YOUR_BRAND_ID',
garmentSKU: 'YOUR_GARMENT_SKU',
countryCode: 'US',
languageCode: 'en',
});
widget.embed();
widget.on('ready', () => widget.open());
widget.on('add-to-cart', (data) => {
console.log('Size:', data.size);
});
</script>I need
Help shoppers find the right size. Reduce returns, increase conversion.
Body2Fit docsI need
Extract body measurements and 3D avatars from two photos — no special equipment required.
Platform docsI need
Your interface, our engine. Full control over the UX with Bodygram powering the scan and estimation.
Headless SDK docs