Campaign Resource
The Campaign resource represents a promotional campaign within the Spaaza platform. Campaigns are used to define promotional rules, rewards, and targeting criteria for customer engagement.
Contents
Introduction
A Campaign in Spaaza represents a promotional campaign that defines rules for customer rewards, discounts, and engagement activities. The Campaign resource in the Resources API currently supports retrieving audit history through change log entries.
Available Paths
The Campaign resource currently supports the following API path:
Change Log Operations
GET /resources/campaign/{id}/change_log- Retrieve change log entries for a specific campaign
For detailed information about change log retrieval including query parameters, response structure, authentication requirements, and examples, see the Change logs section in the main Resources API documentation.
Authentication
Campaign change logs are available with admin and privileged authentication. Privileged requests require an access token holding the chain scope for the chain in the X-Spaaza-Chain-ID header. The resource is not available to end-users; end-user requests return resource_not_found (544).
Note: Other standard REST operations (POST, PATCH, PUT, DELETE) for campaigns are not yet available through the Resources API. Campaign management is currently performed through the existing campaign management endpoints. Future versions of the Resources API will include full CRUD operations for campaigns.