Getting Started with E-commerce
Welcome to the Aerocall E-commerce module! This guide helps you launch your store from scratch, whether you are managing content or building a custom frontend.
Roadmap
| Step | Action | Guide |
|---|---|---|
| 1 | Learn the Core Concepts | Core Concepts |
| 2 | Configure the Admin Panel | Admin Guide |
| 3 | Build your Storefront | Developer Guide |
Quick Start: Launch in 5 Steps
Step 1: Enable & Configure
- Go to Project Settings and enable E-commerce.
- Set your store currency (e.g., USD) in E-commerce > Settings.
Step 2: Define Components
Create the structure for your products.
- Go to Components.
- Create a “Product Type” component (e.g., “T-Shirt”).
- Add fields:
Size(Select),Color(Color Picker).
Step 3: Add Inventory
- Go to E-commerce > Products.
- Create a new product.
- Select your “T-Shirt” type and fill in the details.
Step 4: Test the API
Use the API Playground or your browser to fetch your products.
GET https://<project-slug>.aerocall.ai/api/v1/ecommerce/products
Authorization: Bearer <YOUR_PUBLIC_KEY>If you have connected your own domain (for example https://shop.yourdomain.com), the host changes but the path stays the same:
GET https://shop.yourdomain.com/api/v1/ecommerce/products
Authorization: Bearer <YOUR_PUBLIC_KEY>You can also try this directly from here:
GET
https://api.aerocall.app/api/v1/public/projects/your-project/ecommerce/productsStep 5: Process a Test Order
- Create a cart via the API.
- Add your product.
- Complete a test checkout using the stripe test card numbers.
- Verify the order appears in E-commerce > Orders.
Next Steps
- Customizing the Storefront: See Storefront Recipes for common patterns like “Add to Cart” and “Checkout”.
- Integrating Payments: Configure Stripe or other providers in Settings > Payment.