---
title: "Update the shippingDocs field of an existing assignment."
method: PATCH
path: "/hos/daily-logs/log-meta-data"
tags: ["Hours of Service"]
---

# Update the shippingDocs field of an existing assignment.

`PATCH /hos/daily-logs/log-meta-data`

## Request

- Base URL: `https://api.samsara.com`
- URL: `https://api.samsara.com/hos/daily-logs/log-meta-data`
- Auth: HTTP bearer

Update the shippingDocs field of an existing assignment.

 <b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).

To use this endpoint, select **Write ELD Hours of Service (US)** under the Compliance category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
 

 **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.

## Query parameters

- `hosDate` string, required
- `driverID` string, required

## Request body

- HosDailyLogsUpdateShippingDocsRequestBody: Update the shippingDocs field.
  - `shippingDocs` string, required: ShippingDocs associated with the driver for the day.

## Response `200`

OK response.

- HosDailyLogsUpdateShippingDocsResponseBody
  - `data` PatchShippingDocsResponseBodyResponseBody, required: Response after successfully updating the LogMetaData object.
    - `adverseDrivingClaimed` boolean: Whether the driver has claimed the [Adverse Driving Exemption](https://kb.samsara.com/hc/en-us/articles/360047336792-Adverse-Driving-Exemption) for this HOS day chart.
    - `bigDayClaimed` boolean: Whether the driver has claimed the [Big Day Exemption](https://kb.samsara.com/hc/en-us/articles/360057113891-16-Hour-Short-Haul-Exemption-Big-Day-) for this HOS day chart.
    - `carrierFormattedAddress` string: The address of the carrier used for this HOS chart.
    - `carrierName` string: The name of the carrier used for this HOS chart.
    - `carrierUsDotNumber` integer: The US DOT number of the carrier used for this HOS chart.
    - `homeTerminalFormattedAddress` string: The address of the Home Terminal used for this HOS chart.
    - `homeTerminalName` string: The name of the Home Terminal used for this HOS chart.
    - `isCertified` boolean: Whether this HOS day chart was certified by the driver.
    - `isUsShortHaulActive` boolean: Whether the driver has the 150 air-mile Short Haul Exemption active for this HOS day chart.
    - `trailerNames` string[]: List of trailer names associated with the driver for the day. If a trailer was associated with a log through the driver app, the trailer name will be the trailer ID.

## Other responses

- `401`: Unauthorized response.
- `404`: Not Found response.
- `405`: Method Not Allowed response.
- `413`: Content Too Large response.
- `429`: Too Many Requests response.
- `500`: Internal Server Error response.
- `501`: Not Implemented response.
- `502`: Bad Gateway response.
- `503`: Service Unavailable response.
- `504`: Gateway Timeout response.
- `default`: Bad Request response.

---

[API](https://skmtc.dev/samsara/apis/samsara-api.md) - [All operations](https://skmtc.dev/samsara/apis/samsara-api/llms.txt) - [OpenAPI document](https://skmtc.dev/samsara/apis/samsara-api/revisions/a9e35d4999be?raw)
