misaf/vendra-affiliate-api

API services for the vendra-affiliate module

Maintainers

Package info

github.com/misaf/vendra-affiliate-api

Type:vendra-module

pkg:composer/misaf/vendra-affiliate-api

Transparency log

Statistics

Installs: 1

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v1.6.0 2026-07-22 21:53 UTC

This package is auto-updated.

Last update: 2026-07-23 00:30:17 UTC


README

Public read-only JSON:API endpoints for the misaf/vendra-affiliate module.

The server intentionally exposes only what referral landing pages need: an affiliate's code and created_at. Suspended affiliates are invisible, and no user, commission, or payout data is ever serialized.

Endpoints

Method URI Description
GET /v1/affiliates List active affiliates (filter[code]).
GET /v1/affiliates/{id} Show one active affiliate.

Installation

composer require misaf/vendra-affiliate-api

The service provider registers the vendra-affiliate JSON:API server and the api-middleware routes automatically.