Actions216
- Anúncio Actions
- Borderô Actions
- Caixa/Banco Actions
- Campo Customizado Actions
- Canal de Venda Actions
- Categoria de Loja Actions
- Categoria de Produto Actions
- Categoria Receita/Despesa Actions
- Conta a Pagar Actions
- Conta a Receber Actions
- Conta Contábil Actions
- Contato Actions
- Contrato Actions
- Depósito Actions
- Empresa Actions
- Estoque Actions
- Forma de Pagamento Actions
- Grupo de Produto Actions
- Homologação Actions
- Logística Actions
- Logística - Objeto/Remessa Actions
- Logística - Serviço Actions
- Natureza de Operação Actions
- NFCe Actions
- NFe Actions
- NFSe Actions
- Notificação Actions
- Ordem de Produção Actions
- Pedido de Compra Actions
- Pedido de Venda Actions
- Produto Actions
- Produto - Estrutura Actions
- Produto - Fornecedor Actions
- Produto - Loja Actions
- Produto - Lote Actions
- Produto - Variação Actions
- Proposta Comercial Actions
- Situação Actions
- Vendedor Actions
Pedido de Compra → Criar
AI-generatedSummary
Create a new purchase order (Pedido de Compra) in the Bling ERP system using specified purchase order data.
Inputs
- Dados do Pedido — Collection of purchase order fields including supplier ID (idFornecedor), order number (numero), date (data), expected delivery date (dataPrevista), discount (desconto), freight cost (frete), other expenses (outrasDespesas), internal and external observations (observacoes, observacoesInternas), and items list as JSON (itens).
Output shape
a single object representing the created purchase order as returned by the Bling ERP API.
The output includes the purchase order data returned by the API after creation. The items must be provided as a JSON array describing each item in the purchase order. All fields inside Dados do Pedido are optional except those required by the Bling ERP API itself.
