Searches published FluentCart products that have at least one variant, returning up to 20 with their formatted price range, for the paywall picker.
Endpoint
Method:
GETPath:
/cart/products/searchEdition: Core
Controller:
PaywallController@searchProductRoute source:
fluent-community/Modules/Integrations/FluentCart/Http/cart_api.php:13Controller source:
fluent-community/Modules/Integrations/FluentCart/Http/Controllers/PaywallController.phpOnly portal access is required because this is a GET route, so any member — and anonymous visitors on a public portal — can enumerate product titles and prices; an empty
searchreturns the first 20 products.The whole cart route group only exists while FluentCart is active.
Reconstructed sample
This endpoint belongs to a module that is not active on the reference install (or needs a file upload), so the payload below was reconstructed by reading the controller rather than recorded. Field names and types follow the source; values are illustrative.
GET Search Cart Products
Searches published FluentCart products that have at least one variant, returning up to 20 with their formatted price range, for the paywall picker.
Controller: PaywallController@searchProduct
Route source: fluent-community/Modules/Integrations/FluentCart/Http/cart_api.php:13
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Parameters
Query Parameters
Search read via $request->getSafe() in searchProduct().
Responses
Successful response