---
title: "Update an existing log suggestion using an ID"
method: PUT
path: "/v1/log_suggestions/{id}"
---

# Update an existing log suggestion using an ID

`PUT /v1/log_suggestions/{id}`

## Path parameters

- `id` integer, required

## Request body

- object
  - `vehicle_ids` object
    - integer[] — Specify the ID of the vehicle for which you are updating this log suggestion.
  - `asset_ids` object
    - integer[] — Specify the ID of the asset for which you are updating this log suggestion.
  - `co_driver_ids` object
    - integer[] — Specify the IDs of the co-driver for whom you are updating this log suggestion.
  - `ref_no` string — Specify the reference number of the shipping if available.
  - `carrier_name` string — Specify the name of the carrier for which you are updating this log suggestion.
  - `carrier_street` string — Specify the street of the carrier.
  - `carrier_zip` string — Specify the zip code of the carrier.
  - `terminal_street` string — Specify the street of the terminal.
  - `terminal_city` string — Specify the city of the terminal.
  - `terminal_state` string — Specify the state of the terminal.
  - `terminal_zip` string — Specify the zip code of the terminal.
  - `origin` string — Specify the origin or the starting point of the carrier.
  - `destination` string — Specify the destination of the carrier.

## Response `200`

200

- object
  - `log_suggestion` object
    - `id` integer
    - `driver_ids` integer[]
    - `log_ids` integer[]
    - `status` string
    - `suggested_at` string
    - `reason` unknown
    - `drivers` object[]
      - `driver` object
        - `id` integer
        - `first_name` string
        - `last_name` string
        - `driver_company_id` string
        - `eld_mode` string
    - `dispatchers` object[]
      - `dispatcher` object
        - `id` integer
        - `first_name` string
        - `last_name` string
    - `suggested_changes` object[]
      - `field_name` string
      - `old_value` unknown
      - `new_value` string

---

[API](https://skmtc.net/gomotive/apis/motive.md) · [All operations](https://skmtc.net/gomotive/apis/motive/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gomotive/motive/revisions/c71780e497f5/schema)
