Goldylocks icon

Goldylocks

Interact with the Goldylocks ERP API

Family → Create

AI-generated

Overview

This node operation creates a new family entity in the Goldylocks ERP system. It is useful for organizing items or products into hierarchical family groups, which can be used for categorization and management within the ERP. For example, a retail business can create families to group products by type or department.

Use Case Examples

  1. Creating a new product family named 'Electronics' under the root family.
  2. Creating a sub-family named 'Smartphones' under the 'Electronics' family.

Properties

Name Meaning
Family Name (D) The name of the new family to be created.
Parent Family ID (P) The ID of the parent family under which the new family will be created. Use '0' for a root-level family.
Family ID (ID_Familia) [Optional] Optional ID to assign to the new family. If not provided, the system will generate one.
Allow Duplicates (Permitir_duplicadas) [Optional] Whether to allow multiple families with the same name under the same parent family.
Available in POS (Disponivel_pos) Indicates if the family should be available in the Point of Sale system (true = available, false = unavailable).

Output

JSON

  • json
    • success - Indicates if the family creation was successful.
    • response - The response data from the Goldylocks API after creating the family.

Dependencies

  • Goldylocks ERP API with API key authentication

Troubleshooting

  • Ensure the API key credential is correctly configured and valid to avoid authentication errors.
  • If the family name already exists under the same parent and duplicates are not allowed, the API may reject the creation request.
  • Check that the parent family ID exists; using an invalid parent ID may cause the request to fail.

Links

Discussion