Actions63
- Authentication Actions
- Tenant Management Actions
- Blog Management Actions
- Image Management Actions
- BuilderX AI Integration Actions
- Form Submissions Actions
- Subscription Management Actions
- Subscription Operations Actions
- Product Family Management Actions
- Feature Management Actions
- Invoice Management Actions
- Payment Management Actions
- Payment Method Management Actions
- Coupon Management Actions
- Health Checks Actions
Overview
The "Update Product Family" operation in the Lectful Central node allows users to modify an existing product family within the Lectful Central API. This operation is useful for administrators or automation workflows that need to update details such as the product family's name, description, display order, or active status.
Typical scenarios include:
- Changing the sort order of a product family to affect how it appears in user interfaces.
- Activating or deactivating a product family without deleting it.
- Updating the product family’s descriptive information to reflect new branding or organizational changes.
For example, an e-commerce platform admin might use this node to reorder product categories or temporarily disable a product family during maintenance.
Properties
| Name | Meaning |
|---|---|
| Authentication Mode | Choose how to authenticate with the Lectful Central API: - Use Stored Credentials - Manual Configuration (provide base URL and API key manually) |
| Credentials Note | Notice shown when using Manual Configuration mode explaining credential overrides. |
| Base URL Override | Optional base URL to override the stored credential's base URL (excluding /api/v1). |
| API Key Override | Optional API key to override the stored credential's API key. |
| Product Family ID | The unique identifier of the product family to update (required). |
| Sort Order | Numeric value defining the display order of the product family. |
| Is Active | Boolean flag indicating whether the product family is active (true) or inactive (false). |
Output
The node outputs the JSON response returned by the Lectful Central API after updating the product family. This typically includes the updated product family object with its current properties such as id, name, description, sort_order, and is_active.
No binary data output is produced by this operation.
Example output structure (simplified):
{
"id": 123,
"name": "Updated Product Family Name",
"description": "Updated description",
"sort_order": 2,
"is_active": true
}
Dependencies
- Requires access to the Lectful Central API.
- Authentication can be provided either via stored credentials configured in n8n or manual entry of the base URL and API key.
- Proper API permissions are needed to perform update operations on product families.
Troubleshooting
- Missing or invalid credentials: If neither stored credentials nor manual configuration parameters are correctly set, the node will throw an error indicating missing or invalid credentials. Ensure that either valid stored credentials or manual base URL and API key are provided.
- Product Family ID not provided: The operation requires a valid product family ID. Omitting this will cause an error.
- Invalid property values: Providing invalid types (e.g., non-numeric sort order) may result in API errors.
- API errors: Errors from the Lectful Central API (such as unauthorized access, resource not found, or validation errors) will be surfaced in the node output. Review the error message for guidance.
- JSON parsing issues: Not applicable here since no JSON input fields are required for this operation.
Links and References
- Lectful Central API Documentation (Assumed link; replace with actual if available)
- n8n Documentation on Creating Custom Nodes
- General REST API best practices for update operations (PATCH/PUT methods)
This summary is based solely on static analysis of the provided source code and property definitions.