Customers
Updates customer metadata
Changed onFull replacement: every active key omitted from the request is cleared. To set or clear individual keys without disturbing the rest, use patch-customer-metadata instead. Null, empty, and whitespace-only values clear one key. Unknown keys, archived keys, and definitions not assigned to customers fail the entire request with a 400. Metadata-only changes are recorded in the audit log but do not trigger customer.updated webhooks or customer integration syncs.
put/customers/{customer_id}/metadata
Request
- Base URLhttps://api.rillet.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
customer_idstring uuid required
UUID of the customer to update metadata for.
Request body
Example request
{
"metadata": {
"metadata.source_invoice_id": "NS-INV-004821"
}
}Response
OK
Example response
{
"metadata": {
"metadata.source_invoice_id": "NS-INV-004821"
}
}Changes
- info
endpoint added
- info