# fluent-booking/2.3.0/app/Services/Integrations/FluentCart/Http/cart_api.php

Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution, version 2.3.0. 16 lines.

- Page: https://pluginprobe.com/plugins/fluent-booking/2.3.0/code/app/Services/Integrations/FluentCart/Http/cart_api.php
- Raw: https://pluginprobe.com/plugins/fluent-booking/2.3.0/raw/app/Services/Integrations/FluentCart/Http/cart_api.php
- Modified: 2025-11-27T14:35:12+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/fluent-booking/2.3.0/code/app/Services/Integrations/FluentCart/Http/cart_api.php#L10-L20`.

```php
<?php

defined('ABSPATH') || exit;

/**
 * @var $router FluentBooking\Framework\Http\Router
 */

$router->prefix('calendars')->withPolicy('CalendarPolicy')->group(function ($router) {
    $router->post('/{id}/events/{event_id}/cart-settings', [\FluentBooking\App\Services\Integrations\FluentCart\Http\Controller\FluentCartController::class, 'saveEventCartSettings'])->int('id')->int('event_id');
});

$router->prefix('integrations')->withPolicy('SettingsPolicy')->group(function ($router) {
    $router->get('/options/cart-products', [\FluentBooking\App\Services\Integrations\FluentCart\Http\Controller\FluentCartController::class, 'getCartProducts']);
    $router->post('/create/cart-product', [\FluentBooking\App\Services\Integrations\FluentCart\Http\Controller\FluentCartController::class, 'createProduct']);
});
```
