Shared affiliate backend

AffiliateServer

Centralized affiliate data for GaveMaskinen, PrisAlarm, and future projects. The server owns merchants, feeds, products, offers, and price history.

Initial API endpoints

  • /api/v1/merchants
  • /api/v1/feeds
  • /api/v1/merchant-listings
  • /api/v1/products
  • /api/v1/products/{id}/offers
  • /api/v1/products/{id}/price-history

Roles

AffiliateServer

Imports merchant feeds, stores feed listings, normalizes products, and stores historical price observations.

GaveMaskinen

Uses merchant and product data for gift suggestions without owning affiliate imports.

PrisAlarm

Uses products, offers, and price history for monitoring and alerts.