Storefront themes

Setup assistant: design the storefront from what the store sells, as drafts of themes that aren’t live

POST
/v1/stores/{storeId}/storefront/ai-setup/generate

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/stores/string/storefront/ai-setup/generate" \  -H "Content-Type: application/json" \  -d '{    "description": "stringstri"  }'
{  "summary": "string",  "design": {    "themeId": "53fe7fb9-b3ba-4541-bf79-a49c12f44b76",    "name": "string",    "base": "string",    "baseLabel": "string",    "tier": "free",    "previewUrl": "string",    "openUrl": "string"  },  "premium": {    "themeId": "53fe7fb9-b3ba-4541-bf79-a49c12f44b76",    "name": "string",    "base": "string",    "baseLabel": "string",    "tier": "free",    "previewUrl": "string",    "openUrl": "string"  },  "storefrontTakesLeft": -9007199254740991,  "model": "string",  "costUsd": 0}