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
This node integrates with the Lectful Central API to perform administrative operations related to subscription management, among many other resources. Specifically, for the Subscription Management resource and the Delete Price operation, it allows users to delete a specific price entry identified by its ID.
This is useful in scenarios where you need to programmatically manage subscription pricing, such as removing outdated or incorrect prices from your system. For example, if a promotional price is no longer valid, you can automate its removal using this node.
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 (without /api/v1) |
| API Key Override | Optional API key to override the stored credential's API key |
| Price ID | The unique identifier of the price to delete (required) |
Output
The node outputs an array of JSON objects corresponding to each input item processed. For the Delete Price operation, the output JSON typically contains the API response confirming the deletion or any error messages returned by the API.
No binary data output is produced by this operation.
Example output JSON snippet after successful deletion might look like:
{
"message": "Price deleted successfully",
"priceId": 12345
}
Or, in case of failure:
{
"error": "Price not found"
}
Dependencies
- Requires access to the Lectful Central API.
- Requires either:
- Stored credentials configured in n8n containing the base URL and API key for Lectful Central API, or
- Manual configuration of the base URL and API key within the node parameters.
- The API key must have sufficient permissions to delete prices.
Troubleshooting
Missing or invalid credentials:
Error message:"Valid credentials are required when using 'Use Stored Credentials' mode. Please configure Lectful API credentials in the credentials field above or switch to Manual Configuration mode."
Resolution: Ensure that the API key and base URL are correctly set either in stored credentials or manual configuration.Base URL or API key missing in manual mode:
Error message:"Base URL Override is required when using Manual Configuration mode"or"API Key Override is required when using Manual Configuration mode"
Resolution: Provide both the base URL and API key when using manual authentication mode.Invalid Price ID or price does not exist:
The API may return an error indicating the price ID was not found.
Resolution: Verify that the Price ID provided exists and is correct.API request failures due to network or permission issues:
Check network connectivity and ensure the API key has the necessary permissions.
Links and References
- Lectful Central API Documentation (Assumed URL; replace with actual if known)
- n8n documentation on Creating Custom Nodes
- General REST API best practices for managing subscription pricing
If you need details on other operations or resources, feel free to ask!