Overview
Multiplier overrides allow you to set custom base multipliers for specific users (vendedores) or ventanas, overriding the default lottery multipliers. Use cases:- VIP vendedor incentives
- Promotional multipliers for specific outlets
- Testing new multiplier values
- Regional pricing variations
Create Override
Endpoint
Request Body
Override scope:
USER: User-specific override (highest priority)VENTANA: Ventana-wide override
UUID of the user or ventana (depending on scope)
UUID of the lottery
Type of multiplier:
NUMERO: Standard bet multiplierREVENTADO: REVENTADO multiplier- Or custom type string
Override multiplier value (must be positive, max 9999)
Examples
Response
Indicates if the request was successful
Created multiplier override
Update Override
Endpoint
Path Parameters
UUID of the multiplier override
Request Body
New multiplier value (must be positive, max 9999)
Enable or disable the override
At least one field must be provided for update.
Example
List Overrides
Endpoint
Query Parameters
Filter by scope:
USER or VENTANAFilter by user or ventana UUID
Filter by lottery UUID
Filter by multiplier type
Filter by active status
Page number for pagination
Items per page (max 100)
Examples
Response
Indicates if the request was successful
Array of multiplier overrides
Pagination metadata
page(number): Current pagepageSize(number): Items per pagetotal(number): Total overridespages(number): Total pages
Get Override by ID
Endpoint
Path Parameters
UUID of the multiplier override
Example
Delete Override (Soft Delete)
Endpoint
Path Parameters
UUID of the multiplier override
Optional Body
Optional reason for deletion (for audit trail)
Example
Restore Override
Endpoint
Path Parameters
UUID of the multiplier override to restore
Example
Resolution Priority
When determining the base multiplier for a ticket, the system follows this hierarchy:First match wins - the system stops searching as soon as it finds an active override at any level.
Best Practices
Use USER overrides sparingly
Use USER overrides sparingly
User overrides are powerful but create exceptions. Use them for:
- VIP vendedores with proven track record
- Temporary promotional incentives
- Testing before rolling out system-wide
VENTANA overrides for regional pricing
VENTANA overrides for regional pricing
If different ventanas need different multipliers:
- Use VENTANA scope instead of individual USER overrides
- Ensures consistency across all vendedores in that outlet
- Easier to manage and audit
Set expiration reminders
Set expiration reminders
For promotional overrides, create calendar reminders to:
- Review performance before expiration
- Decide whether to extend or remove
- Clean up inactive overrides
Monitor impact on revenue
Monitor impact on revenue
Track commission costs and revenue impact:
Error Responses
Related Endpoints
List Multipliers
View base multipliers
Create Multiplier
Create lottery multipliers
Commission Policies
Related hierarchical system
Implementation Details
Fromsrc/api/v1/controllers/multiplierOverride.controller.ts:13-17: