Create store
POST /stores
This endpoint lets you to create an e-commerce store with a user prompt.
Headers
Header
Type
Description
Authorization
string
Bearer token.
Request body
{
"message": "prompt"
}Response
{
"status": "success",
"message": "Store created successfully",
"data": {
"_id": "6928723d7a986d3322345d89",
"chatId": "tl6mt4gMJlc",
"user": "692560a0f3b17397ede28cae",
"title": "Nike Shoe Store Setup",
"prompt": "create store for nike shoes",
"timestamp": "2025-11-27T15:46:05.242Z",
"previewEmailSent": false,
"createdAt": "2025-11-27T15:46:05.258Z",
"updatedAt": "2025-11-27T15:46:05.258Z",
"__v": 0,
"store": {
"products": [],
"chatId": "tl6mt4gMJlc",
"googleAuthClientId": null,
"name": "Nike Shoe Store Setup",
"isHomePage": false,
"storeType": "agora",
"socialShareImage": "https://www.searchagora.com/api/search-image-generator?query=Nike Shoe Store Setup",
"metaTitle": "Agora Builder | Nike Shoe Store Setup",
"favicon": "https://www.searchagora.com/favicon.ico",
"generateSitemap": false,
"isRemixed": false,
"metaDescription": "Build an e-commerce store easily with AI. Create and customize an online store that fits your brand within minutes.",
"isActive": true,
"isPublished": false,
"isHomePgae": false,
"deploymentStatus": "pending",
"domainVerified": false,
"viewCount": 0,
"orderCount": 0,
"creator": "692560a0f3b17397ede28cae",
"tags": [],
"categories": [],
"installedAppIds": [],
"theme": "default",
"settings": {
"allowGuestCheckout": true,
"requireEmailVerification": false,
"enableReviews": true,
"enableWishlist": true,
"currency": "USD",
"timezone": "UTC"
},
"_id": "6928723d7a986d3322345d8b",
"createdAt": "2025-11-27T15:46:05.923Z",
"updatedAt": "2025-11-27T15:46:05.923Z",
"__v": 0
},
"chatDetails": {
"id": "tl6mt4gMJlc",
"object": "chat",
"shareable": true,
"privacy": "public",
"name": "Nike Shoe Store Setup",
"title": "Nike Shoe Store Setup",
"createdAt": "2025-11-27T15:46:02.009Z",
"updatedAt": "2025-11-27T15:46:05.051Z",
"favorite": false,
"authorId": "uOmPctI3lTpyBOpQ9RGkYm2t",
"projectId": "5HzrqhALtQV",
"webUrl": "https://v0.app/chat/tl6mt4gMJlc",
"apiUrl": "https://api.v0.dev/v1/chats/tl6mt4gMJlc",
"latestVersion": {
"id": "OhDpScGwiuU",
"object": "version",
"status": "completed",
"demoUrl": "https://demo-c28dljja3hrset6qd.vusercontent.net",
"screenshotUrl": "https://api.v0.dev/v1/chats/tl6mt4gMJlc/versions/OhDpScGwiuU/screenshot",
"createdAt": "2025-11-27T15:46:02.009Z",
"updatedAt": "2025-11-27T15:46:02.009Z",
"files": [
{
"object": "file",
"name": "app/products/loading.tsx",
"content": "export default function Loading() {\n return null\n}\n",
"locked": false
},
// all files
]
},
"url": "https://v0.app/chat/tl6mt4gMJlc",
"messages": [
{
"id": "83BPgFRD7VVnJjrceikMkuMK7TYUg8Uo",
"object": "message",
"content": "Please duplicate this block.",
"experimental_content": [
[
0,
[
[
"p",
{},
[
"text",
{},
"Please duplicate this block."
]
]
]
]
],
"createdAt": "2025-11-27T15:46:02.073Z",
"updatedAt": "2025-11-27T15:46:02.009Z",
"type": "forked-block",
"role": "user",
"apiUrl": "https://api.v0.dev/v1/chats/tl6mt4gMJlc/messages/83BPgFRD7VVnJjrceikMkuMK7TYUg8Uo",
"authorId": "uOmPctI3lTpyBOpQ9RGkYm2t",
"parentId": null
},
{
"id": "fLQNJSI6v8GN1eWZAoVSx5sJBFoMOiBy",
"object": "message",
"content": "**Agora Builder Template (2)** was duplicated from [Agora Builder Template](https://v0.app/chat/qBS5OXSOUkP)\n\nContinue chatting to ask questions about or make changes to it.\n\n<CodeProject taskNameActive=\"Initializing project\" taskNameComplete=\"Initialized project\">\n\n```typescriptreact file=\"app/products/loading.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"components/newsletter.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"contexts/cart-context.tsx\"\n... shell ...\n```\n\n```typescript file=\"lib/store-name.ts\"\n... shell ...\n```\n\n```typescriptreact file=\"hooks/use-agora-products.ts\"\n... shell ...\n```\n\n```typescriptreact file=\"app/success/page.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"app/success/loading.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"components/categories.tsx\"\n... shell ...\n```\n\n```png file=\"public/premium-product-showcase.png\" url=\"https://hebbkx1anhila5yf.public.blob.vercel-storage.com/attachments/gen-images/public/premium-product-showcase-0PCHWwfttRGtSlZMLV7HUZwsBUXWyW.png\"\n... shell ...\n```\n\n```png file=\"public/premium-wireless-headphones.png\" url=\"https://hebbkx1anhila5yf.public.blob.vercel-storage.com/attachments/gen-images/public/premium-wireless-headphones-KwpZIhakk6ZcHhEcISKm1Dfvv9TFpI.png\"\n... shell ...\n```\n\n```png file=\"public/headphones-side-view.png\" url=\"https://hebbkx1anhila5yf.public.blob.vercel-storage.com/attachments/gen-images/public/headphones-side-view-JZg2CtmlBHTV3ug0DaqDCYrGaOMocV.png\"\n... shell ...\n```\n\n```png file=\"public/headphones-case.png\" url=\"https://hebbkx1anhila5yf.public.blob.vercel-storage.com/attachments/gen-images/public/headphones-case-XYIeexipi9Qqny3XmdpVk4S0hC4abh.png\"\n... shell ...\n```\n\n```jpg file=\"public/headphones-details.jpg\" url=\"https://hebbkx1anhila5yf.public.blob.vercel-storage.com/attachments/gen-images/public/headphones-details-NhY0jCp7ISBOf1yVJru7O62vt6s9Ox.jpg\"\n... shell ...\n```\n\n```typescriptreact file=\"app/product/[id]/page.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"app/contact/page.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"app/terms/page.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"components/variant-selector.tsx\"\n... shell ...\n```\n\n```typescript file=\"types/product.ts\"\n... shell ...\n```\n\n```typescriptreact file=\"app/categories/loading.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"app/categories/[id]/page.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"app/featured/page.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"app/featured/loading.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"app/faq/page.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"app/about/page.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"components/footer.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"app/categories/[id]/category-products-client.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"app/products/page.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"components/product-page-client.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"app/page.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"components/hero.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"components/theme-toggle.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"components/navbar.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"components/custom-theme-provider.tsx\"\n... shell ...\n```\n\n```javascript file=\"postcss.config.js\"\n... shell ...\n```\n\n```css file=\"app/globals.css\"\n... shell ...\n```\n\n```json file=\"tsconfig.json\"\n... shell ...\n```\n\n```typescriptreact file=\"app/layout.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"app/cart/page.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"components/categories-section.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"app/categories/page.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"components/categories-tab-content.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"components/cart-drawer.tsx\"\n... shell ...\n```\n\n```typescript file=\"services/api.ts\"\n... shell ...\n```\n\n```typescriptreact file=\"components/featured-products.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"components/products-page-client.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"components/featured-products-page-client.tsx\"\n... shell ...\n```\n\n```json file=\"package.json\"\n... shell ...\n```\n\n</CodeProject>\n\n",
"experimental_content": [
[
0,
[
[
"p",
{},
[
"strong",
{},
[
"text",
{},
"Agora Builder Template (2)"
]
],
[
"text",
{},
" was duplicated from "
],
[
"a",
{
"href": "https://v0.app/chat/qBS5OXSOUkP"
},
[
"text",
{},
"Agora Builder Template"
]
]
],
[
"p",
{},
[
"text",
{},
"Continue chatting to ask questions about or make changes to it."
]
],
[
"Codeblock",
{
"lang": "typescriptreact",
"meta": {
"type": "code-project",
"taskNameActive": "Initializing project",
"taskNameComplete": "Initialized project",
"project": "Code"
},
"closed": true
},
"[V0_FILE]typescriptreact:file=\"app/products/loading.tsx\"\n... shell ...\n[V0_FILE]typescriptreact:file=\"components/newsletter.tsx\"\n... shell ...\n[V0_FILE]typescriptreact:file=\"contexts/cart-context.tsx\"\n... shell ...\n[V0_FILE]typescript:file=\"lib/store-name.ts\"\n... shell ...\n[V0_FILE]typescriptreact:file=\"hooks/use-agora-products.ts\"\n... shell ...\n[V0_FILE]typescriptreact:file=\"app/success/page.tsx\"\n... shell ...\n[V0_FILE]typescriptreact:file=\"app/success/loading.tsx\"\n... shell ...\n[V0_FILE]typescriptreact:file=\"components/categories.tsx\"\n... shell ...\n[V0_FILE]png:file=\"public/premium-product-showcase.png\" url=\"https://hebbkx1anhila5yf.public.blob.vercel-storage.com/attachments/gen-images/public/premium-product-showcase-0PCHWwfttRGtSlZMLV7HUZwsBUXWyW.png\"\n... shell ...\n[V0_FILE]png:file=\"public/premium-wireless-headphones.png\" url=\"https://hebbkx1anhila5yf.public.blob.vercel-storage.com/attachments/gen-images/public/premium-wireless-headphones-KwpZIhakk6ZcHhEcISKm1Dfvv9TFpI.png\"\n... shell ...\n[V0_FILE]png:file=\"public/headphones-side-view.png\" url=\"https://hebbkx1anhila5yf.public.blob.vercel-storage.com/attachments/gen-images/public/headphones-side-view-JZg2CtmlBHTV3ug0DaqDCYrGaOMocV.png\"\n... shell ...\n[V0_FILE]png:file=\"public/headphones-case.png\" url=\"https://hebbkx1anhila5yf.public.blob.vercel-storage.com/attachments/gen-images/public/headphones-case-XYIeexipi9Qqny3XmdpVk4S0hC4abh.png\"\n... shell ...\n[V0_FILE]jpg:file=\"public/headphones-details.jpg\" url=\"https://hebbkx1anhila5yf.public.blob.vercel-storage.com/attachments/gen-images/public/headphones-details-NhY0jCp7ISBOf1yVJru7O62vt6s9Ox.jpg\"\n... shell ...\n[V0_FILE]typescriptreact:file=\"app/product/[id]/page.tsx\"\n... shell ...\n[V0_FILE]typescriptreact:file=\"app/contact/page.tsx\"\n... shell ...\n[V0_FILE]typescriptreact:file=\"app/terms/page.tsx\"\n... shell ...\n[V0_FILE]typescriptreact:file=\"components/variant-selector.tsx\"\n... shell ...\n[V0_FILE]typescript:file=\"types/product.ts\"\n... shell ...\n[V0_FILE]typescriptreact:file=\"app/categories/loading.tsx\"\n... shell ...\n[V0_FILE]typescriptreact:file=\"app/categories/[id]/page.tsx\"\n... shell ...\n[V0_FILE]typescriptreact:file=\"app/featured/page.tsx\"\n... shell ...\n[V0_FILE]typescriptreact:file=\"app/featured/loading.tsx\"\n... shell ...\n[V0_FILE]typescriptreact:file=\"app/faq/page.tsx\"\n... shell ...\n[V0_FILE]typescriptreact:file=\"app/about/page.tsx\"\n... shell ...\n[V0_FILE]typescriptreact:file=\"components/footer.tsx\"\n... shell ...\n[V0_FILE]typescriptreact:file=\"app/categories/[id]/category-products-client.tsx\"\n... shell ...\n[V0_FILE]typescriptreact:file=\"app/products/page.tsx\"\n... shell ...\n[V0_FILE]typescriptreact:file=\"components/product-page-client.tsx\"\n... shell ...\n[V0_FILE]typescriptreact:file=\"app/page.tsx\"\n... shell ...\n[V0_FILE]typescriptreact:file=\"components/hero.tsx\"\n... shell ...\n[V0_FILE]typescriptreact:file=\"components/theme-toggle.tsx\"\n... shell ...\n[V0_FILE]typescriptreact:file=\"components/navbar.tsx\"\n... shell ...\n[V0_FILE]typescriptreact:file=\"components/custom-theme-provider.tsx\"\n... shell ...\n[V0_FILE]javascript:file=\"postcss.config.js\"\n... shell ...\n[V0_FILE]css:file=\"app/globals.css\"\n... shell ...\n[V0_FILE]json:file=\"tsconfig.json\"\n... shell ...\n[V0_FILE]typescriptreact:file=\"app/layout.tsx\"\n... shell ...\n[V0_FILE]typescriptreact:file=\"app/cart/page.tsx\"\n... shell ...\n[V0_FILE]typescriptreact:file=\"components/categories-section.tsx\"\n... shell ...\n[V0_FILE]typescriptreact:file=\"app/categories/page.tsx\"\n... shell ...\n[V0_FILE]typescriptreact:file=\"components/categories-tab-content.tsx\"\n... shell ...\n[V0_FILE]typescriptreact:file=\"components/cart-drawer.tsx\"\n... shell ...\n[V0_FILE]typescript:file=\"services/api.ts\"\n... shell ...\n[V0_FILE]typescriptreact:file=\"components/featured-products.tsx\"\n... shell ...\n[V0_FILE]typescriptreact:file=\"components/products-page-client.tsx\"\n... shell ...\n[V0_FILE]typescriptreact:file=\"components/featured-products-page-client.tsx\"\n... shell ...\n[V0_FILE]json:file=\"package.json\"\n... shell ..."
]
]
]
],
"createdAt": "2025-11-27T15:46:03.073Z",
"updatedAt": "2025-11-27T15:46:02.009Z",
"type": "forked-block",
"role": "assistant",
"apiUrl": "https://api.v0.dev/v1/chats/tl6mt4gMJlc/messages/fLQNJSI6v8GN1eWZAoVSx5sJBFoMOiBy",
"authorId": "assistant",
"parentId": "83BPgFRD7VVnJjrceikMkuMK7TYUg8Uo"
}
],
"files": [
{
"object": "file",
"name": "app/products/loading.tsx",
"content": "export default function Loading() {\n return null\n}\n",
"locked": false
},
// all files
]
"demo": "https://demo-c28dljja3hrset6qd.vusercontent.net",
"text": "**Agora Builder Template (2)** was duplicated from [Agora Builder Template](https://v0.app/chat/qBS5OXSOUkP)\n\nContinue chatting to ask questions about or make changes to it.\n\n<CodeProject taskNameActive=\"Initializing project\" taskNameComplete=\"Initialized project\">\n\n```typescriptreact file=\"app/products/loading.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"components/newsletter.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"contexts/cart-context.tsx\"\n... shell ...\n```\n\n```typescript file=\"lib/store-name.ts\"\n... shell ...\n```\n\n```typescriptreact file=\"hooks/use-agora-products.ts\"\n... shell ...\n```\n\n```typescriptreact file=\"app/success/page.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"app/success/loading.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"components/categories.tsx\"\n... shell ...\n```\n\n```png file=\"public/premium-product-showcase.png\" url=\"https://hebbkx1anhila5yf.public.blob.vercel-storage.com/attachments/gen-images/public/premium-product-showcase-0PCHWwfttRGtSlZMLV7HUZwsBUXWyW.png\"\n... shell ...\n```\n\n```png file=\"public/premium-wireless-headphones.png\" url=\"https://hebbkx1anhila5yf.public.blob.vercel-storage.com/attachments/gen-images/public/premium-wireless-headphones-KwpZIhakk6ZcHhEcISKm1Dfvv9TFpI.png\"\n... shell ...\n```\n\n```png file=\"public/headphones-side-view.png\" url=\"https://hebbkx1anhila5yf.public.blob.vercel-storage.com/attachments/gen-images/public/headphones-side-view-JZg2CtmlBHTV3ug0DaqDCYrGaOMocV.png\"\n... shell ...\n```\n\n```png file=\"public/headphones-case.png\" url=\"https://hebbkx1anhila5yf.public.blob.vercel-storage.com/attachments/gen-images/public/headphones-case-XYIeexipi9Qqny3XmdpVk4S0hC4abh.png\"\n... shell ...\n```\n\n```jpg file=\"public/headphones-details.jpg\" url=\"https://hebbkx1anhila5yf.public.blob.vercel-storage.com/attachments/gen-images/public/headphones-details-NhY0jCp7ISBOf1yVJru7O62vt6s9Ox.jpg\"\n... shell ...\n```\n\n```typescriptreact file=\"app/product/[id]/page.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"app/contact/page.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"app/terms/page.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"components/variant-selector.tsx\"\n... shell ...\n```\n\n```typescript file=\"types/product.ts\"\n... shell ...\n```\n\n```typescriptreact file=\"app/categories/loading.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"app/categories/[id]/page.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"app/featured/page.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"app/featured/loading.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"app/faq/page.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"app/about/page.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"components/footer.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"app/categories/[id]/category-products-client.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"app/products/page.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"components/product-page-client.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"app/page.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"components/hero.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"components/theme-toggle.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"components/navbar.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"components/custom-theme-provider.tsx\"\n... shell ...\n```\n\n```javascript file=\"postcss.config.js\"\n... shell ...\n```\n\n```css file=\"app/globals.css\"\n... shell ...\n```\n\n```json file=\"tsconfig.json\"\n... shell ...\n```\n\n```typescriptreact file=\"app/layout.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"app/cart/page.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"components/categories-section.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"app/categories/page.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"components/categories-tab-content.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"components/cart-drawer.tsx\"\n... shell ...\n```\n\n```typescript file=\"services/api.ts\"\n... shell ...\n```\n\n```typescriptreact file=\"components/featured-products.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"components/products-page-client.tsx\"\n... shell ...\n```\n\n```typescriptreact file=\"components/featured-products-page-client.tsx\"\n... shell ...\n```\n\n```json file=\"package.json\"\n... shell ...\n```\n\n</CodeProject>\n\n",
"permissions": {
"write": true
}
}
}
}{{
"status": "error",
"message": "Message is required"
}{
"status": "error",
"message": "Failed to create store",
"error": "error message"
}Last updated
Was this helpful?