Discounts
Management of discounts at service stations
📄️ Create a new discount
Creates a new discount associated with a service station. Discounts can be of percentage or cents type and can be active or inactive.
📄️ Get all discounts
Retrieves a paginated list of discounts with options to filter by status, station, or user.
📄️ Get discount by ID
Retrieves a specific discount by its unique identifier.
📄️ Update existing discount
Updates an existing discount identified by its ID.
📄️ Delete discount
Permanently deletes a discount identified by its ID.
📄️ Synchronize discounts from local storage
Synchronizes multiple discounts from the client's local storage to the server. Useful for maintaining consistency across devices.