display_on_invoice to print a pair on invoices.
Limits
Add metadata
Send themetadata array when you create or update the customer.
- Dashboard
- API
Add key-value pairs in the customer creation or edition drawer, then save the customer.
Edit and delete metadata
On update,metadata is a full replacement:
- An entry with an
idkeeps or updates that existing entry. Use thelago_idreturned for it. - An entry without an
idis created. Lago does not match entries bykey. - An existing entry you omit is deleted.
- An empty array removes all entries.
GET /customers/{external_id}?expands[]=metadata.
- Dashboard
- API
Edit or remove pairs in the customer edition drawer (the trash icon removes a pair), then save the customer.
Display metadata on invoices
Setdisplay_on_invoice to true on a pair to show it on invoices. In the Dashboard, switch on the option in the customer creation or edition drawer.
Customer management
Create, update and delete customers.
Invoices
Where displayed metadata appears.
Update a customer (API)
PUT /customers/{external_id}Customer object (API)
Every customer field.