Changes a property's name, data type or options.
Requires ManageTemplates and an Idempotency-Key header — in the app a property's definition is edited on the Item Templates page. Only the fields sent change, all in one save (every field is validated first). Rules as on that page: names are unique on the item; changing dataType clears the value unless the new type is Text and is refused while the property has an enabled calculation. Additionally: options are allowed only for Dropdown / MultiSelect and dropped when the type leaves them; Cost / Unit Price cannot be changed and are reserved names. Inventory units keep their copies under the old name / type (as with the page). Example: { "dataType": "Dropdown", "options": ["Red", "Blue"] }.
Request
- Base URL: https://app.flexonthejob.com
- URL: https://app.flexonthejob.com/api/v1/items/{id}/properties/{propertyId}
- Auth: HTTP bearer
Path parameters
Numeric item id.
Property id from GET.
Request body
Response
Changed; body is the item's properties.
Changes
No recorded changes to this operation across all 1 revision of this API.