---
title: "Update LookupTableRevision Status"
method: PUT
path: "/organizations/{orgId}/lookuptables/{lookupTableId}/revisions/{id}/status"
tags: ["LookupTableRevision"]
---

# Update LookupTableRevision Status

`PUT /organizations/{orgId}/lookuptables/{lookupTableId}/revisions/{id}/status`

## Request

- Base URL: `https://api.m3ter.com`
- URL: `https://api.m3ter.com/organizations/{orgId}/lookuptables/{lookupTableId}/revisions/{id}/status`
- Auth: OAuth 2
  - Authorization code: `https://m3ter.auth.us-east-1.amazoncognito.com/oauth2/authorize`, token URL `https://m3ter.auth.us-east-1.amazoncognito.com/oauth2/token`
  - Client credentials, token URL `/oauth/token`
- TypeScript: <https://skmtc.dev/m3ter-com/apis/m3ter-api/docs/organizations/:orgId/lookuptables/:lookupTableId/revisions/:id/status/put.ts> (a function with typed inputs; its response is checked against the schema)

Update the status of a Lookup Table Revision for the given UUID.

## Path parameters

- `orgId` string, required
- `id` string, required
- `lookupTableId` string, required

## Request body

- LookupTableRevisionStatusRequest: Request containing the status details for a LookupTableRevision entity
  - `status` 'DRAFT' | 'PUBLISHED' | 'ARCHIVED': Status of a Lookup Table Revision
  - `version` integer: The version of the LookupTableRevision.

## Response `200`

Returns the updated LookupTableRevision

- LookupTableRevisionResponse
  - `name` string: The name of the Lookup Table Revision.
  - `status` 'DRAFT' | 'PUBLISHED' | 'ARCHIVED': Status of a Lookup Table Revision
  - `startDate` string, date-time: The start date of the Lookup Table Revision
  - `fields` LookupTableRevisionField[]: The list of fields of the Lookup Table Revision.
    - `name` string: The name of the field
    - `type` 'STRING' | 'NUMBER', required: Type of a Lookup Table Revision Field
  - `keys` string[]: The ordered keys of the Lookup Table Revision
  - `dtCreated` string, date-time: The DateTime when the Lookup Table Revision was created.
  - `dtLastModified` string, date-time: The DateTime when the Lookup Table Revision was last modified.
  - `createdBy` string: The id of the user who created the Lookup Table Revision.
  - `lastModifiedBy` string: The id of the user who last modified the Lookup Table Revision.
  - `itemCount` integer
  - `lookupTableId` string: The lookup table id associated with this revision
  - `id` string, required: The UUID of the entity.
  - `version` integer: The version number: - **Create:** On initial Create to insert a new entity, the version is set at 1 in the response. - **Update:** On successful Update, the version is incremented by 1 in the response.
  - `customFields` object: User defined fields enabling you to attach custom data. The value for a custom field can be either a string or a number. If `customFields` can also be defined for this entity at the Organizational level,`customField` values defined at individual level override values of `customFields` with the same name defined at Organization level. See [Working with Custom Fields](https://www.m3ter.com/docs/guides/creating-and-managing-products/working-with-custom-fields) in the m3ter documentation for more information.

## Other responses

- `4XX`: Error message
- `5XX`: Error message

## Changes

- **2026-10-16** `85c514abc692`: 1 breaking, 1 warning, 3 info
  - the `allOf[#/components/schemas/AbstractResponseWithCustomFields]/allOf[subschema #2]/` response's property type changed from no type to `object` for status `200`
  - removed `subschema #2` from the `status` request property `allOf` list
  - added the optional property `lookupTableId` to the response with the `200` status
  - removed `subschema #2` from the `fields/items/type` response property `allOf` list for the response status `200`
  - …1 more
- **2025-12-03** `ac93d1a9e6d9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/m3ter-com/apis/m3ter-api/changes/organizations/:orgId/lookuptables/:lookupTableId/revisions/:id/status/put.md)

---

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