Pedidos
post/pedidos

Request

  • Base URL
    https://api.tiny.com.br/public-api/v3
  • URL
    https://api.tiny.com.br/public-api/v3/pedidos
  • Auth
    HTTP bearer

Request body

dataPrevistastring nullable
dataEnviostring nullable
observacoesstring nullable
observacoesInternasstring nullable
situacao8 | 0 | 3 | 4 | 1 | 7 | 5 | 6 | 10 | 2 | 9 nullable
  • 8 - Dados Incompletos
  • 0 - Aberta
  • 3 - Aprovada
  • 4 - Preparando Envio
  • 1 - Faturada
  • 7 - Pronto Envio
  • 5 - Enviada
  • 6 - Entregue
  • 10 - Em Devolucao
  • 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

Changes

    • breaking

      added to the / request property allOf list

    • warning

      removed the request property ///

    • warning

      removed the request property ///

    • warning

      removed the request property ///

    • info

      added the new optional request property ///

    • info

      added the new 10.00 enum value to the request property //