---
title: "Update weather_condition by ID"
method: PATCH
path: "/api/v3/projects/{project_id}/weather_conditions/{id}"
tags: ["weather conditions"]
---

# Update weather_condition by ID

`PATCH /api/v3/projects/{project_id}/weather_conditions/{id}`

## Request

- Base URL: `https://client-api.us.fieldwire.com`
- URL: `https://client-api.us.fieldwire.com/api/v3/projects/{project_id}/weather_conditions/{id}`
- Auth: HTTP bearer

## Path parameters

- `project_id` string, uuid, required
- `id` string, uuid, required

## Headers

- `Fieldwire-Version` string, date, required

## Request body

- WeatherConditionUpdateInput: Schema for updating existing weather_condition
  - `last_editor_user_id` integer: ID of the user who most recently edited this entity
  - `date` string, date: Date this entity carries the weather information for
  - `data` object: Payload that carries the weather information for a single day
  - `device_updated_at` string, date-time: Time when the device last updated the entity

## Response `201`

Successful response

- WeatherCondition: Entity that carries weather related information for a project on a particular date
  - `id` string, uuid, required: ID of the entity
  - `creator_user_id` integer, required: ID of the user who created this entity
  - `last_editor_user_id` integer, required: ID of the user who most recently edited this entity
  - `project_id` string, uuid, required: ID of the project this entity belongs to
  - `date` string, date, required: Date this entity carries the weather information for
  - `data` object, required: Payload that carries the weather information for a single day
  - `created_at` string, date-time, required: Time when the server created the entity
  - `deleted_at` string, date-time, nullable: Time the server deleted the entity
  - `device_created_at` string, date-time, required: Time when the device created the entity
  - `device_updated_at` string, date-time, required: Time when the device last updated the entity
  - `resolved_conflict` boolean, required: Specifies if PUT/PATCH request was rejected - do not store this field!
  - `updated_at` string, date-time, required: Time when the server last updated the entity

---

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