# UpdateInput

> Type reference for UpdateInput in the Rippling SDK, including its public shape and related types.

Update payload derived from the schema definition.

Custom fields use logical names rather than wire-level `__c` api names.

## Type definition

```
export type UpdateInput<TDefinition extends AnyCustomObjectDefinition> = {
    name?: string;
    external_id?: string;
    owner_role?: string | LookupReference<'Employee'>;
} & {
    [K in WritableFieldNames<TDefinition>]?: FieldValue<TDefinition['fields'][K]>;
};
```

## Related types

-   [AnyCustomObjectDefinition](https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/AnyCustomObjectDefinition-21c019e5)
-   [LookupReference](https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/LookupReference-fe79a37b)
-   [WritableFieldNames](https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/WritableFieldNames-967b13cd)
-   [FieldValue](https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/FieldValue-9924cfd0)

Source: https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/UpdateInput-0de68db5

> For the complete documentation index, see [llms.txt](https://developer.rippling.com/llms.txt). Public pages have a Markdown version at the same URL with .md added.
