---
title: "Update a Logic (No syntax check)"
method: POST
path: "/formulamanager.update/{id}/compileOnly"
tags: ["Logics"]
---

# Update a Logic (No syntax check)

`POST /formulamanager.update/{id}/compileOnly`

## Request

- Base URL: `https://companynode.pricefx.com/pricefx/companypartition`
- URL: `https://companynode.pricefx.com/pricefx/companypartition/formulamanager.update/{id}/compileOnly`
- Auth: one of:
  - HTTP basic
  - API key in header `X-PriceFx-jwt`
- TypeScript: <https://skmtc.dev/pricefx/apis/the-pricefx-backend-api/docs/formulamanager.update/:id/compileOnly/post.ts> (a function with typed inputs; its response is checked against the schema)

Updates the given logic. **Skips the syntax check**. Groovy compilation errors will still surface, but regular syntax errors could go unnoticed. Use with care!
<!-- theme: info -->
>**Information**:
> Skipping the syntax check is useful for better performance when the logic does not contain any inputs. If the logic contains inputs, the syntax check is needed.

## Request body

- object
  - `data` object
    - `version` number
    - `typedId` string
    - `uniqueName` string
    - `label` string
    - `validAfter` string
    - `status` string
    - `simulationSet` unknown
    - `userGroupEdit` unknown
    - `userGroupViewDetails` unknown
    - `formulaNature` unknown
    - `lastUpdateByName` string
    - `elements` object[]
      - `version` number
      - `typedId` string
      - `elementName` string
      - `elementLabel` string
      - `elementDescription` unknown
      - `elementGroups` string[]
      - `conditionElementName` unknown
      - `hideWarnings` boolean
      - `excludeFromExport` boolean
      - `protectedExpression` boolean
      - `elementTimeout` number
      - `displayOptions` number
      - `formatType` string, nullable
      - `elementSuffix` unknown
      - `allowOverride` boolean
      - `summarize` boolean
      - `hideOnNull` boolean
      - `userGroup` unknown
      - `cssProperties` unknown
      - `resultGroup` unknown
      - `combinationType` string
      - `storeInAttributeExtension` boolean
      - `criticalAlert` unknown
      - `redAlert` unknown
      - `yellowAlert` unknown
      - `labelTranslations` unknown
      - `createDate` string
      - `createdBy` number
      - `lastUpdateDate` string
      - `lastUpdateBy` number
      - `formulaExpression` string
    - `inputDescriptors` object[]
    - `formulaType` string
    - `createdByName` unknown
    - `createDate` string
    - `createdBy` number
    - `lastUpdateDate` string
    - `lastUpdateBy` number

## Response `200`

Example response

- object
  - `response` object
    - `node` string
    - `data` object[]
      - `formula` object
        - `version` number
        - `typedId` string
        - `uniqueName` string
        - `label` string
        - `validAfter` string
        - `status` string
        - `simulationSet` unknown
        - `userGroupEdit` unknown
        - `userGroupViewDetails` unknown
        - `formulaNature` unknown
        - `lastUpdateByName` string
        - `formulaType` string
        - `createdByName` unknown
        - `createDate` string
        - `createdBy` number
        - `lastUpdateDate` string
        - `lastUpdateBy` number
    - `status` number

---

[API](https://skmtc.dev/pricefx/apis/the-pricefx-backend-api.md) - [All operations](https://skmtc.dev/pricefx/apis/the-pricefx-backend-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pricefx/apis/the-pricefx-backend-api/revisions/23d941b00ac0?raw)
