Authorization: Bearer ********************curl --location '/cession/save-cession' \
--header 'x-api-key: SUA_CHAVE_DE_API' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"cession": [
{
"_id": "Xb7Qm2Lp9Rt4Vn8Kc3Ws",
"operation_code": "A0000001-000",
"client_id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"name": "Produtor Rural Exemplo",
"tax_id": "12345678900",
"gross_value": 150000
}
],
"type": "tipo-exemplo",
"zip_file_url": "cessoes/lote-0001.zip"
}'{
"_id": "Qw3Er5Ty7Ui9Op1As2Df",
"type": "tipo-exemplo",
"zip_file_url": "cessoes/lote-0001.zip",
"operation_counter": 1,
"cession_number": 42,
"status": "enviada",
"total_value": 150000,
"created_at": "2026-09-14T13:20:00.000Z"
}