atualizar
PUT
http://apidatain-prod.f1ws.com.br/external_orders/001
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'http://apidatain-prod.f1ws.com.br/external_orders/001' \
--header 'Content-Type: text/plain' \
--data-raw '{
"code": "001",
"client_cpfj": "Pedido Externo 1",
"status": "FINALIZADO",
"total_value": 100.50,
"freight_value": 5.50,
"taxes_total_value": 10.0,
"taxes_ipi_value": 2.0,
"taxes_pis_cofins_value": 2.0,
"taxes_st_value": 6.0,
"items": [
{
"product_code": "P01",
"product_name": "Produto 1",
"quantity": 1,
"unitary_value": 85.00,
"total_value": 85.00,
"freight_value": 5.50,
"tax_total_value": 10.0,
"tax_ipi_value": 2.0,
"tax_pis_cofins_value": 2.0,
"tax_icms_value": 0,
"tax_st_value": 6.0
}
],
"invoices": [
{
"number": "N01",
"serie": "S01",
"key": "C01",
"date": "2023-04-01",
"base64_file": "RXhlbXBsbyBkZSBiYXNlNjQ="
}
],
"bankbills": [
{
"base64_file": "RXhlbXBsbyBkZSBiYXNlNjQ="
}
]
}'
Response Response Example
{}
Requisição
Parâmetros Bodytext/plain
Respostas
Modificado em 2025-06-23 20:17:41