v1

latestOpenAPI 3.0.02026-07-26184308346.0 KB
Pedidos

Criar pedido

post/pedidos

Request body

dataPrevistastring nullable
dataEnviostring nullable
observacoesstring nullable
observacoesInternasstring nullable
situacao8 | 0 | 3 | 4 | 1 | 7 | 5 | 6 | 2 | 9 nullable
  • 8 - Dados Incompletos
  • 0 - Aberta
  • 3 - Aprovada
  • 4 - Preparando Envio
  • 1 - Faturada
  • 7 - Pronto Envio
  • 5 - Enviada
  • 6 - Entregue
  • 2 - Cancelada
  • 9 - Nao Entregue
datastring nullable
dataEntregastring nullable
numeroOrdemComprastring nullable
valorDescontonumber float nullable
valorFretenumber float nullable
valorOutrasDespesasnumber float nullable
idContatointeger nullable

Example request

{
  "dataPrevista": "2024-01-01",
  "dataEnvio": "2024-01-01 00:00:00",
  "data": "2024-01-01",
  "dataEntrega": "2024-01-01",
  "pagamento": {
    "parcelas": [
      {
        "data": "2024-01-01"
      }
    ]
  },
  "pagamentosIntegrados": [
    {
      "valor": 10.5,
      "tipoPagamento": 1,
      "cnpjIntermediador": "00000000000191",
      "codigoAutorizacao": "123456",
      "codigoBandeira": 1
    }
  ]
}

Response

OK

idinteger
numeroPedidostring