Endpoint
- Method:
POST - Path:
/cart/products/create - Edition: Core
- Controller:
PaywallController@createProduct - Route source:
fluent-community/Modules/Integrations/FluentCart/Http/cart_api.php:12 - Controller source:
fluent-community/Modules/Integrations/FluentCart/Http/Controllers/PaywallController.php
POST Create Cart Product
POST
/cart/products/create
Create Cart Product for the FluentCommunity Cart Integration API.
Controller: PaywallController@createProduct
Route source: fluent-community/Modules/Integrations/FluentCart/Http/cart_api.php:12
Authorizations
ApplicationPasswords
WordPress Application Passwords — use Basic auth with username:application_password.
Type
API Key (header: Authorization)
Request Body
application/json
JSON "title": "string", "price": "string"
{
}
Responses
Successful response
application/json
JSON "product": { "id": 0, "title": "string", "image": "string", "price": "string" }
{
}