v1

latestOpenAPI 3.0.02026-07-26184308346.0 KB
Ordem de Compra

Criar ordem de compra

post/ordem-compra

Request body

datastring nullable
dataPrevistastring nullable
descontonumber float nullable
condicaostring nullable
observacoesstring nullable
observacoesInternasstring nullable
fretePorConta'R' | 'D' | 'T' | '3' | '4' | 'S' nullable
  • R - Remetente
  • D - Destinatario
  • T - Terceiros
  • 3 - Proprio Remetente
  • 4 - Proprio Destinatario
  • S - Sem Transporte
transportadorstring nullable
fretenumber float nullable

Example request

{
  "data": "2024-01-01",
  "dataPrevista": "2024-01-01",
  "parcelas": [
    {
      "dataVencimento": "2024-01-01"
    }
  ]
}

Response

OK

idinteger
numeroPedidostring
datastring
situacaostring nullable
  • 0 - Em Aberto
  • 1 - Atendido
  • 2 - Cancelado
  • 3 - Em Andamento