Sankhya icon

Sankhya

Integração completa com o ERP Sankhya — REST v1/v2 e Gateway

Actions137

Logística (REST) → Atualizar Motorista

AI-generated

Summary

Update an existing driver (motorista) in the Sankhya ERP via REST API by specifying the driver's ID and the driver data to update in JSON format.

Inputs

  • ID (required) — The unique identifier of the driver to update.
  • Dados (JSON) (required) — A JSON object containing the driver's updated data, such as {nome, cpf, cnh}.

Output shape

The operation returns the JSON response from the Sankhya REST API reflecting the updated driver record or an error structure if the operation fails.

Requires valid Sankhya API credentials. The 'ID' parameter identifies which driver to update, and 'Dados (JSON)' must contain the driver fields to change. Errors are thrown for HTTP failures or business logic errors indicated by Sankhya.

Links

Discussion