The customer object
This object represents a customer of your business.
It lets you create a customer, but also track usage and create invoices for the same customer.
Schema
{
"customer": {
"lago_id": "99a6094e-199b-4101-896a-54e927ce7bd7",
"customer_id": "5eb02857-a71e-4ea2-bcf9-57d3a41bc6ba",
"address_line1": "5230 Penfield Ave",
"address_line2": null,
"city": "Woodland Hills",
"country": "US",
"created_at": "2022-04-29T08:59:51Z",
"email": "dinesh@piedpiper.test",
"legal_name": "Coleman-Blair",
"legal_number": "49-008-2965",
"logo_url": "http://hooli.com/logo.png",
"name": "Gavin Belson",
"phone": "1-171-883-3711 x245",
"state": "CA",
"url": "http://hooli.com",
"vat_rate": 12.5,
"zipcode": "91364"
}
}
Attributes | Description |
---|---|
lago_id String Not nullable | Unique identifer of the customer in Lago application |
customer_id String Not nullable | Unique identifer of the customer in your application |
address_line1 String | First line of the billing address |
address_line2 String | Second line of the billing address |
address_line2 String | Second line of the billing address |
city String | City of the customer's billing address |
country String ISO 3166 alpha 2 Country code. | Country code of the customer's billing address |
email String | Email of the customer |
legal_name String | Legal company name of the customer |
legal_number String | Legal company number of the customer |
logo_url String | Logo URL of the customer |
name String | Full name of the customer |
phone String | Phone number of the customer |
state String | State of the customer's billing address |
url String | Custom URL of the customer |
vat_rate Float | Custom VAT rate applied to the customer |
zipcode String | Zipcode of the customer's billing address |