Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
39c75ec
feat(preference): add endpoint to retrieve user's store opt-in/out li…
CDevmina Apr 20, 2025
8e4a021
feat(taxonomy): add taxonomy management endpoints and service logic f…
CDevmina Apr 20, 2025
35be692
feat: Add user analytics and consent management features
CDevmina Apr 21, 2025
2c436ae
Revert "feat: Add user analytics and consent management features"
CDevmina Apr 21, 2025
7cb4956
feat: Add user management endpoints for recent data submissions and s…
CDevmina Apr 21, 2025
18579bf
feat: add recharts dependency and implement taxonomy client
CDevmina Apr 21, 2025
3716543
feat: add UserAnalyticsPage, UserDataSharingPage, and UserPreferences…
CDevmina Apr 21, 2025
4276356
feat: add useLookupStores hook for retrieving multiple stores by IDs
CDevmina Apr 21, 2025
0f2518f
feat: enhance UserDashboard with new components and improved data han…
CDevmina Apr 21, 2025
c784f3e
feat: update UserDashboard to use BarCharts for spending and preferen…
CDevmina Apr 21, 2025
fd07dc5
feat: enhance spending analytics with date range filtering, update da…
CDevmina Apr 21, 2025
0f3f4b6
fix: update layout of Spending Overview section to use flex-row for b…
CDevmina Apr 21, 2025
82e6688
fix: update schema version to 2.0.2 and modify price field to accept …
CDevmina Apr 21, 2025
ff7fc57
feat: add user demographics fields to UserProfile and update schemas …
CDevmina Apr 21, 2025
e84c5e6
Revert "feat: add user demographics fields to UserProfile and update …
CDevmina Apr 22, 2025
697c2c1
feat: add demographic fields to user model and update related service…
CDevmina Apr 22, 2025
d8855b8
feat: enhance user registration form with demographic fields and upda…
CDevmina Apr 22, 2025
b69a533
feat: enhance taxonomy.yaml with detailed attribute descriptions and …
CDevmina Apr 22, 2025
e05b2da
feat: implement InterestFormModal for user preferences selection with…
CDevmina Apr 22, 2025
d2ffde5
feat: add InterestFormModal to UserDashboard for preference collectio…
CDevmina Apr 22, 2025
9b0968c
feat: remove taxonomyService and taxonomyUtil files to streamline API…
CDevmina Apr 22, 2025
dd28c6f
feat: remove AIService integration and update user preferences logic …
CDevmina Apr 22, 2025
ad05e94
feat: enhance user profile update logic to track demographic and priv…
CDevmina Apr 22, 2025
f85088f
feat: Update demographic inference and taxonomy schemas
CDevmina Apr 22, 2025
73d9a1e
feat: Refactor InterestFormModal to enhance category icon mapping and…
CDevmina Apr 22, 2025
90408cc
feat: Add comprehensive API documentation including authentication, d…
CDevmina Apr 22, 2025
7061b77
fix: Update taxonomy values to use quoted strings for consistency
CDevmina Apr 22, 2025
4b10b26
feat: Update UserProfileService to handle demographic data in a neste…
CDevmina Apr 22, 2025
c7bd373
fix: Update API documentation to remove versioning from endpoint paths
CDevmina Apr 22, 2025
4ce63b4
fix: Update Datepicker onChange handlers for start and end date selec…
CDevmina Apr 22, 2025
b1053cc
feat: Update InterestFormModal to handle attribute value selection an…
CDevmina Apr 23, 2025
37cd9ff
refactor: Remove dataAccess property from user-related schemas and se…
CDevmina Apr 23, 2025
806c606
feat: Enhance data submission guide with attribute examples and impro…
CDevmina Apr 23, 2025
ee242c4
refactor: Remove unused TimelineBody import from UserDashboard
CDevmina Apr 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Tapiro Store API Documentation

Welcome to the Tapiro Store API! This documentation provides everything you need to integrate your store's systems with Tapiro to leverage AI-driven personalized advertising and insights.

By integrating with Tapiro, you can:

- Submit user interaction data (purchases, searches) for analysis.
- Retrieve processed user preferences to personalize user experiences (e.g., targeted ads, product recommendations).

## Getting Started

1. **Obtain an API Key:** Generate API keys from your Store Dashboard within the Tapiro web application. Keep these keys secure.
2. **Authentication:** All API requests must be authenticated using your API key. See the [Authentication Guide](./authentication.md).
3. **Understand Endpoints:** Familiarize yourself with the primary endpoints for stores:
- [Data Submission](./data_submission.md): Send user purchase and search data.
- [Preference Retrieval](./preference_retrieval.md): Get user preferences.
4. **Review the Taxonomy:** Accurate data categorization is crucial for effective personalization. Understand how to use the [Tapiro Taxonomy](./taxonomy.md).
5. **Error Handling:** Be prepared to handle potential API errors. Refer to the [Error Handling Guide](./error_handling.md).

## Core Concepts

- **API Key:** Your unique secret key authenticates your store's requests. It identifies your store to Tapiro.
- **User Identification:** Users are primarily identified by their **email address** when submitting data or retrieving preferences via the API. This email _must_ correspond to a registered user within the Tapiro ecosystem.
- **Consent:** Tapiro respects user privacy choices. Data submission will only be processed if the user has given `dataSharingConsent` within Tapiro _and_ has not explicitly opted out of sharing data with _your specific store_. Preference retrieval will fail (403 Forbidden) if consent is not granted for your store.
- **Taxonomy:** A hierarchical system for categorizing products and interests. Using correct category IDs or names from the taxonomy when submitting data is essential for the AI models.

## API Base URL

The base URL for the production API is: `https://api.tapiro.com/v1`
_(Note: Use the appropriate URL provided for development or staging environments.)_

## Need Help?

If you encounter issues or have questions, please contact Tapiro Support at `tapirosupport@gmail.com`.
Loading
Loading