cURL
curl --request GET \ --url https://api.salesbricks.com/api/v2/customers/{customer_id} \ --header 'X-SALESBRICKS-KEY: <api-key>'
{ "customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "external_id": "<string>", "address": { "line_1": "<string>", "city": "<string>", "region": "<string>", "zip": "<string>", "country": "<string>", "line_2": "<string>" }, "stripe_customer_id": "<string>" }
Get a customer by ID.
API key for authentication
The ID of the customer to retrieve.
Customer output serializer; we can represent the customer model differently depending on the request so we need a custom serializer for the output.
255
The address of the customer
Show child attributes
The first line of the address input
The city of the address input
The region (ISO 3166: 2 character code) of the address input
The zip code of the address input
The country (ISO 3166: 2 character code) of the address input
The second line of the address input
The companies stripe customer_id