Customers

Get a customer by id

get/customers/{customerId}

Request

  • Base URL
    https://api3.autarc.energy/v1
  • Auth
    API key in header X-Api-Key

Path parameters

customerIdstring required

ID of the customer to fetch

Response

OK

idstring uuid
firstNamestring
lastNamestring
companyIdstring uuid
humanIdstring nullable
createdAtstring date-time
updatedAtstring date-time
emailstring email nullable
invoiceEmailstring email nullable
phoneNumberstring nullable
isCompanyboolean
companyNamestring nullable
availability'morning' | 'afternoon' | 'evening' | 'weekend_only' | 'flexible'
descriptionstring nullable
websitestring uri nullable

Example response

{
  "address": {
    "addressLine1": "123 Main Street",
    "addressLine2": "Suite 101",
    "postalCode": "12047",
    "city": "Berlin",
    "country": "Deutschland",
    "countryCode": "DE",
    "latitude": 48.6964906,
    "longitude": 13.2635728
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.