# Update budget global Update an existing global variable Endpoint: PUT /projects/{projectId}/budget/globals/{globalId} Version: 1.0.0 Security: ApiKeyAuth ## Path parameters: - `projectId` (string, required) Project identifier (alias or ID) Example: "nike-spring-2024" - `globalId` (string, required) Global variable identifier (alias or ID) Example: "exchange-rate" ## Request fields (application/json): - `symbol` (string) Updated symbol Example: "EUR_RATE_2024" - `description` (string) Updated description Example: "EUR to USD exchange rate 2024" - `formula` (string) Updated formula Example: "0.92" - `unit` (string) Updated unit Example: "currency" - `idMode` (string) ID interpretation mode - "user" for human-friendly IDs (default), "system" for database IDs Enum: "user", "system" ## Response 200 fields (application/json): - `id` (string, required) Global variable system identifier Example: "global-001" - `symbol` (string,null) Variable symbol for use in formulas Example: "EXCHANGE_RATE" - `description` (string,null) Variable description Example: "USD to EUR exchange rate" - `unit` (string,null) Unit of measurement Example: "currency" - `formula` (string,null) Formula expression for calculating value Example: "1.08" ## Response 400 fields (application/json): - `error` (string, required) Error message Example: "Invalid request parameters" - `details` (object) Additional error details Example: {"field":"projectId","reason":"Project not found"} - `code` (string) Error code Example: "VALIDATION_ERROR" ## Response 401 fields (application/json): - `error` (string, required) Error message Example: "Invalid request parameters" - `details` (object) Additional error details Example: {"field":"projectId","reason":"Project not found"} - `code` (string) Error code Example: "VALIDATION_ERROR" ## Response 404 fields (application/json): - `error` (string, required) Error message Example: "Invalid request parameters" - `details` (object) Additional error details Example: {"field":"projectId","reason":"Project not found"} - `code` (string) Error code Example: "VALIDATION_ERROR" ## Response 500 fields (application/json): - `error` (string, required) Error message Example: "Invalid request parameters" - `details` (object) Additional error details Example: {"field":"projectId","reason":"Project not found"} - `code` (string) Error code Example: "VALIDATION_ERROR"