Actions137
- Entidade — Consultar Um (loadRecord) Actions
- Entidade — Consultar Vários (loadRecords) Actions
- Entidade — Salvar (DatasetSP.save) Actions
- Estoque (Gateway + REST) Actions
- Financeiro (REST) Actions
- Atualizar Despesa
- Atualizar Receita
- Baixar Despesa
- Baixar Receita
- Buscar Conta Bancária
- Buscar Moeda
- Buscar Tipo Pagamento
- Criar Despesa
- Criar Receita
- Listar Bandeiras TEF
- Listar Contas Bancárias
- Listar Cotações da Moeda
- Listar Despesas
- Listar Financeiros
- Listar Moedas
- Listar Receitas
- Listar Redes TEF
- Listar Tipos de Pagamento
- Fiscal — NF-e / NFC-e / SAT / NFS-e (REST) Actions
- Log de Alterações (Gateway) Actions
- Logística (REST) Actions
- Adicionar Pedido à Ordem
- Atualizar Motorista
- Atualizar Ordem de Carga
- Atualizar Transportadora
- Buscar Motorista
- Buscar Ordem de Carga
- Buscar Transportadora
- Criar Motorista
- Criar Transportadora
- Incluir Ordem de Carga
- Listar Motoristas
- Listar Ordens de Carga
- Listar Pedidos da Ordem
- Listar Transportadoras
- Remover Pedido da Ordem
- Movimentos / CACSP (Gateway) Actions
- Nota Fiscal (Gateway) Actions
- Parceiro (Gateway) Actions
- PDV — Ponto de Venda (REST) Actions
- Pedido (Gateway) Actions
- Pessoal — RH (REST) Actions
- Admitir Funcionário (v1)
- Admitir Funcionário (v2)
- Atualizar Recibos eSocial
- Buscar Cargo
- Buscar Departamento
- Buscar Empresa (Pessoal)
- Buscar Função
- Buscar Funcionário
- Buscar Funcionário × Empresa
- Buscar Histórico de Ocorrência
- Buscar Identificação de Carga Horária
- Buscar Local de Ponto
- Buscar Requisição de Admissão
- Buscar Sindicato
- Listar Afastamentos
- Listar Atrasos (Global)
- Listar Atrasos × Func/Emp
- Listar Carga Horária
- Listar Carga Horária Histórica
- Listar Carga Horária Histórica × Func/Emp
- Listar Cargos
- Listar Contratos
- Listar Departamentos
- Listar Dependentes
- Listar Empresas (Pessoal)
- Listar Faltas (Global)
- Listar Faltas × Func/Emp
- Listar Férias (Global)
- Listar Férias do Funcionário
- Listar Férias × Func/Emp
- Listar Financeiros do Funcionário
- Listar Funções
- Listar Funcionários (/v1/funcionarios)
- Listar Funcionários (/v1/pessoal)
- Listar Históricos de Ocorrência
- Listar Identificações de Carga Horária
- Listar Inconsistências
- Listar Locais de Ponto
- Listar Movimentos (Global)
- Listar Movimentos × Func/Emp
- Listar Ocorrências (Global)
- Listar Ocorrências × Func/Emp
- Listar Sindicatos
- Listar Tomadores (Global)
- Listar Tomadores × Func/Emp
- Produtos (REST) Actions
- Vendas — Pedidos REST (REST) Actions
- View (loadView) Actions
Vendas — Pedidos REST (REST) → Atualizar Pedido
AI-generatedSummary
Update an existing sales order in the Sankhya ERP system using REST API by specifying only the fields to be updated in JSON format.
Inputs
- Dados de Atualização (JSON) (required) — A JSON object containing the fields and values to update in the sales order. Only the specified fields will be modified.
Output shape
A JSON object representing the updated sales order or a success confirmation response from the REST API.
The operation sends a PUT request to the /v1/vendas/pedidos/{id} endpoint, where {id} is the identifier of the sales order to update. The updated fields must be included in the 'dadosUpdate' JSON input. The response includes the updated order data if successful, or an error if the update fails.
Examples
Example 1: Update a sales order's customer code and negotiation date
Set 'dadosUpdate' to {"codParc":1,"dtNeg":"2026-01-01"} to update customer and date fields of the order with the given ID.