E-commerceGetting Started

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

StepActionGuide
1Learn the Core ConceptsCore Concepts
2Configure the Admin PanelAdmin Guide
3Build your StorefrontDeveloper Guide

Quick Start: Launch in 5 Steps

Step 1: Enable & Configure

  1. Go to Project Settings and enable E-commerce.
  2. Set your store currency (e.g., USD) in E-commerce > Settings.

Step 2: Define Components

Create the structure for your products.

  1. Go to Components.
  2. Create a “Product Type” component (e.g., “T-Shirt”).
  3. Add fields: Size (Select), Color (Color Picker).

Step 3: Add Inventory

  1. Go to E-commerce > Products.
  2. Create a new product.
  3. 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:

GEThttps://api.aerocall.app/api/v1/public/projects/your-project/ecommerce/products

Step 5: Process a Test Order

  1. Create a cart via the API.
  2. Add your product.
  3. Complete a test checkout using the stripe test card numbers.
  4. 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.