---
title: Type alias: MetadataInput
slug: chord-ui/type-alias-metadatainput
docTags: 
createdAt: 2023-11-06T15:03:31.907Z
---

[react-autonomy](docId\:zoZ6W56ubpPACr0PO0GLS).MetadataInput

Ƭ **MetadataInput**: `Record`\<`string` | `number`, `unknown`> | `null`

MetadataInput allows for setting of freeform data on a record. Any empty
value, such as null or an empty string will unset the key-value pair. You can
completely remove metadata from the record by passing null. You do not need
to provide the full metadata object to update it, as added attributes will
update the existing object instead of replacing it.

### Defined in

node\_modules/@chordcommerce/chord-js-autonomy/dist/oms/types/inputs.d.ts:297
