cURL
curl --request PUT \ --url https://api.dooki.com.br/v2/{alias}/orders/{orderId}/invoices/{invoiceId} \ --header 'Content-Type: application/json' \ --header 'User-Secret-Key: <api-key>' \ --header 'User-Token: <api-key>' \ --data '{ "series": "000", "number": "000", "key": "000", "date": "2018-01-01", "value": "99.99", "products_value": "79.99", "url": "https://url.com", "cfop": "cfop", "force_invoiced_status": "true" }'
{ "data": [ { "id": 123, "merchant_id": 123, "order_id": 123, "series": "<string>", "number": "<string>", "key": "<string>", "date": "2023-11-07T05:31:56Z", "value": 123, "products_value": 123, "cfop": "<string>", "url": "<string>", "created_at": { "date": "2000-08-17 10:24:24", "timezone_type": 3, "timezone": "America/Sao_Paulo" }, "updated_at": { "date": "2000-08-17 10:24:24", "timezone_type": 3, "timezone": "America/Sao_Paulo" } } ] }
Atualiza uma nota fiscal específica
Alias da loja
ID do pedido
ID da nota fiscal
Detalhes da nota fiscal
Representa os dados para criar uma nota fiscal de um pedido
Nota fiscal atualizada com sucesso
The response is of type object.
object
Was this page helpful?