Bling ERP icon

Bling ERP

Integração com a API v3 do Bling ERP

Actions216

Produto - Estrutura → Criar Componente

AI-generated

Summary

Create a new component within a product's structure by specifying the product ID, structure ID, and component details including component product ID, quantity, and cost.

Inputs

  • ID do Produto (required) — The ID of the product to which the structure belongs.
  • ID da Estrutura (required) — The ID of the product's structure where the component will be added.
  • Dados do Componente — Details of the component to be added, including the component product ID, quantity within the structure, and cost.

Output shape

A single record with the response data confirming the component creation within the specified product structure.

The response includes data about the newly created component within the product structure. All inputs are required except for 'Dados do Componente' fields which have defaults but should be specified appropriately to define the component.

Examples

Example 1: Add a component to a product structure

Provide the main product ID under 'ID do Produto', the structure ID under 'ID da Estrutura', and specify the component's product ID, quantity, and cost under 'Dados do Componente'. Upon execution, the node creates the component in the product's structure and returns details of the created component.

Links

Discussion