---
agentTools:
  projectIndex: https://image-relay-api.readme.io/llms.txt
---

# Update dimension

Update a product dimension

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Image Relay's API",
    "version": "1.3"
  },
  "servers": [
    {
      "url": "https://api.imagerelay.com/api/v2/"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header",
        "x-bearer-format": "bearer",
        "x-default": ""
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/product_dimensions/{dimension_id}": {
      "put": {
        "summary": "Update dimension",
        "description": "Update a product dimension",
        "operationId": "update-dimension",
        "parameters": [
          {
            "name": "dimension_id",
            "in": "path",
            "description": "The ID of the dimension to update.",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name"
                ],
                "properties": {
                  "name": {
                    "type": "string",
                    "description": "The new name of the dimension."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "6369721ac49880008c871966:6369721ac49880008c8719e0"
}
```