Back to Blog

Mobile App Integration with OneShopSaaS

Learn how to integrate your mobile app with OneShopSaaS using our comprehensive Mobile API. Perfect for building native shopping experiences.

Posted by

Mobile app integration with OneShopSaaS

Mobile API Overview

OneShopSaaS provides a comprehensive Mobile API that allows you to build native mobile applications for your e-commerce store. The API supports all major e-commerce features including product catalog, shopping cart, orders, and customer management.

1. Authentication

The Mobile API uses JWT-based authentication. Start by registering your customers and obtaining authentication tokens:

POST /api/mobile/v1/stores/[storeSlug]/auth/register
{
  "name": "John Doe",
  "email": "john@example.com",
  "password": "securepassword"
}

2. Product Catalog

Fetch your store's product catalog with advanced filtering and pagination support:

GET /api/mobile/v1/stores/[storeSlug]/products
?category=electronics&minPrice=100&maxPrice=500&page=1&limit=20

3. Shopping Cart

Manage shopping cart operations including adding items, updating quantities, and checkout:

POST /api/mobile/v1/stores/[storeSlug]/cart/add
{
  "productId": "123",
  "quantity": 2
}