Goldylocks icon

Goldylocks

Interact with the Goldylocks ERP API

Family → Edit

AI-generated

Overview

This node operation edits an existing family record in the Goldylocks ERP system. It allows updating the family name, changing the parent family ID, and setting whether the family is available in the Point of Sale (POS) system. This operation is useful for managing hierarchical family data and controlling family visibility in sales environments.

Use Case Examples

  1. Updating the name of a product family to reflect a rebranding.
  2. Changing the parent family of a sub-family to reorganize the product hierarchy.
  3. Setting a family as unavailable in POS to prevent it from being sold temporarily.

Properties

Name Meaning
Family ID (ID) The unique identifier of the family to edit, required to specify which family record to update.
New Family Name (F) The new name to assign to the family. If left empty, the name remains unchanged.
New Parent Family ID (FP) The ID of the new parent family to assign. Defaults to '0' indicating no parent or root level.
Available in POS (Disponivel_pos) Boolean flag indicating whether the family should be available in the POS system (true for available, false for unavailable).

Output

JSON

  • success - Indicates if the edit operation was successful (true/false).
  • response - The response data returned from the Goldylocks API after editing the family.

Dependencies

  • Requires an API key credential for the Goldylocks ERP API to authenticate requests.

Troubleshooting

  • Common issues include providing an invalid or non-existent Family ID, which will cause the API to fail to find the family to edit.
  • Incorrect API credentials or network issues can cause authentication or connection errors.
  • If the new parent family ID does not exist or creates a circular reference, the API may reject the update.

Discussion