init_agent_type:store(full storefront),landing_page, ormain. For a single funnel page, usePOST /landing-pagesinstead.- Seed products at build time by passing
product_ids(from/catalog/search).
store:write. Next: add products or
publish.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
# 1. Start the build
JOB=$(curl -s -X POST https://api.platformdtc.com/api/v1/agent/v1/projects \
-H "X-Agent-Key: sq_agt_xxx" -H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"name":"Aurora Skincare","brief":"Minimalist sage skincare, hero on the vitamin-C serum, 6 products","init_agent_type":"store"}' \
| jq -r '.data.job_id')
# 2. Wait for completion
curl -s "https://api.platformdtc.com/api/v1/agent/v1/jobs/$JOB/wait?timeout_seconds=240" \
-H "X-Agent-Key: sq_agt_xxx" | jq '.data'
# { "status": "succeeded", "result": { "project_id": "P1", "preview_ready": true } }
init_agent_type: store (full storefront), landing_page, or main. For a single funnel page,
use POST /landing-pages instead.product_ids (from /catalog/search).store:write. Next: add products or
publish.