metadata field that allows you to store arbitrary key-value pairs. This is useful for attaching your own identifiers, references, or any other information that is meaningful to your integration.
Format
Metadata is a flat JSON object where both keys and values must be strings.Constraints
Update semantics
Metadata updates use merge-patch semantics (RFC 7386). When updating metadata, only the keys you include in the request are affected. Existing keys that are not included remain unchanged.- Add or update a key: include the key with a string value
- Remove a key: include the key with a
nullvalue - Clear all metadata: send an empty object
{} - Leave metadata unchanged: omit the
metadatafield from the request
Create with metadata
Update: change one key, remove another
{"source": "make"} — the source key was updated and external_id was removed.