Styles
/data/styles/?api_key=…
Every live style, dimensions, pillow counts, photo URLs, canonical URL, and a prefilled 3D embed snippet for any style with a 3D model.
Craftmaster Data Platform
One API key unlocks every product data feed — styles, fabrics, leathers, wood finishes, nails — as CSV or JSON, plus the interactive 3D style viewer you can drop onto any page with a single script tag.
01 — Endpoints
Append ?api_key=YOUR-KEY to any endpoint. Every feed ships as
UTF‑8 CSV by default. Add &format=json to get the
same rows as a JSON object with a results array — ideal
for pulling straight into your ecommerce stack.
Your key is saved only in this browser. Endpoint URLs become clickable once a key is entered.
/data/styles/?api_key=…
Every live style, dimensions, pillow counts, photo URLs, canonical URL, and a prefilled 3D embed snippet for any style with a 3D model.
/data/fabrics/?api_key=…
Fabric swatches with grade, content, cleaning code, rub count, program, color, repeat, and correlates.
/data/leathers/?api_key=…
Leather swatches with color, finish, thickness, and descriptive copy.
/data/finishes/?api_key=…
Wood finishes with image and canonical URL.
/data/nails/?api_key=…
Nail options with image and canonical URL.
02 — 3D Embed
Drop this script anywhere in the <body> of your product
page. We inject the viewer inline, auto-size it to the container, and let
shoppers swap fabrics, finishes, and nails in real time.
01 — Requirements
02 — Styling
.craftmaster-three-embed.03 — Troubleshooting
403 — key missing or inactive.Live preview — 002910BD (002910bd). Any style with a published 3D model works.
03 — Advanced
Skip our viewer and wire the 3D model into your own WebGL pipeline. All
responses set Access-Control-Allow-Origin: *.
/data/api/styles/<slug>/?api_key=…
Style metadata, 3D model URL, finish restrictions, and configurable option groups (fabrics, finishes, nails, correlates).
/data/api/styles/<slug>/model/
The raw GLB/FBX model with CORS-friendly caching.
/data/embed/<slug>/?api_key=…
The iframe-friendly HTML our script injects for you, if you prefer to host it yourself.
04 — FAQ
Quick answers to the questions we get most often. Anything missing? Email [email protected].
.glb or .fbx, depending
on the style. The three_model.extension field on the JSON
response tells you which. The drop-in viewer handles both
transparently — only worry about this if you're rendering with
your own WebGL pipeline.
/data/api/styles/<slug>/model/
and serve it from your own infrastructure. Models update when we
re-export them, so you'll need a refresh strategy — we recommend
re-pulling weekly or on a content webhook.
fetch calls with
credentials: "omit" and sets no first-party cookies. The
iframe variant runs entirely in a sandboxed context on
cmfurniture.com.