Customers

Create a customer

post/customers

Request

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

Request body

firstNamestring required
lastNamestring required
humanIdstring nullable

Custom customer identifier (e.g., C-001).

emailstring email nullable
invoiceEmailstring email nullable
phoneNumberstring nullable
isCompanyboolean
companyNamestring nullable
availability'morning' | 'afternoon' | 'evening' | 'weekend_only' | 'flexible'
descriptionstring nullable
websitestring uri nullable

Example request

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

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.