Goldylocks icon

Goldylocks

Interact with the Goldylocks ERP API

Item → Create or Update

AI-generated

Overview

This node interacts with the Goldylocks ERP API to create or update an item in the system. It is useful for managing inventory by adding new items or updating existing ones based on a unique barcode identifier. For example, it can be used to update the price, cost, or tax information of a product or add a new product with detailed attributes.

Use Case Examples

  1. Updating an existing product's price and tax information using its barcode.
  2. Creating a new product with specified cost price, family ID, name, and type.

Properties

Name Meaning
Item ID (Cod_barras) The unique barcode for the item. If an item with this ID exists, it will be updated.
Additional Fields Optional additional fields to specify item details such as cost price, family ID, name, price line 1, tax, and type.

Output

JSON

  • success - Indicates if the create or update operation was successful.
  • response - The response from the Goldylocks API after the create or update operation.

Dependencies

  • Goldylocks ERP API

Troubleshooting

  • Ensure the 'Item ID (Cod_barras)' is unique and correctly specified to avoid conflicts or unintended updates.
  • Verify that the API key credential for Goldylocks ERP API is correctly configured and has the necessary permissions.
  • Check the format and data types of additional fields to match the API requirements, especially for numeric fields with precision.

Discussion