---
title: "Creates or updates a meter."
method: PUT
path: "/meters/{id}"
tags: ["Meter"]
---

# Creates or updates a meter.

`PUT /meters/{id}`

## Request

- Base URL: `https://eliq.data-management-api.eliq.com` (the document declares no server; this is the origin it was published from)
- URL: `https://eliq.data-management-api.eliq.com/meters/{id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/eliq/apis/eliq-data-management-api/docs/meters/:id/put.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, required

## Request body

- Meter
  - `id` string, nullable
  - `eliq_id` string, nullable
  - `location_id` string, nullable
  - `name` string, nullable
  - `model` string, nullable
  - `fuel` string, nullable
  - `type` string, nullable
  - `is_sub_meter` boolean, nullable
  - `category` string, nullable
  - `category_percentage` integer, nullable
  - `supply_start_date` string, nullable
  - `supply_end_date` string, nullable
  - `created_at_timestamp` string, nullable
  - `sync_status` string, nullable

## Response `200`

OK

- Meter
  - `id` string, nullable
  - `eliq_id` string, nullable
  - `location_id` string, nullable
  - `name` string, nullable
  - `model` string, nullable
  - `fuel` string, nullable
  - `type` string, nullable
  - `is_sub_meter` boolean, nullable
  - `category` string, nullable
  - `category_percentage` integer, nullable
  - `supply_start_date` string, nullable
  - `supply_end_date` string, nullable
  - `created_at_timestamp` string, nullable
  - `sync_status` string, nullable

## Other responses

- `201`: Created
- `400`: Bad Request
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/eliq/apis/eliq-data-management-api.md) - [All operations](https://skmtc.dev/eliq/apis/eliq-data-management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/eliq/apis/eliq-data-management-api/revisions/022af911e0d0?raw)
