Custom Fields
Edit custom field
Changed onpatch/customfields/{entity}/{id}
Request
- Base URLhttps://api.getmaintainx.com/v1
- AuthHTTP bearer
Path parameters
idinteger required
ID of the custom field
entity'assets' | 'locations' | 'parts' | 'workOrders' | 'vendors' | 'purchaseOrders' | 'lineItemPurchaseOrders' required
Type of entity
Query parameters
skipWebhookboolean
Set skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks
Request body
Example request
{
"field": {
"label": "Date Purchased"
}
}Response
Successfully edited the custom field
Changes
- breaking
removed the media type
application/octet-streamfrom the request body - info
added the new optional
queryrequest parameterskipWebhook - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new enum value
lineItemPurchaseOrdersto thepathrequest parameterentity - info
added the new enum value
purchaseOrdersto thepathrequest parameterentity - info
added the new
linkenum value to the request property/ - info
added the non-success response with the status
- info
added the non-success response with the status
- breaking