Skip to main content
GET
/
artist-clients
/
get-client
/
{id}
Get Client
curl --request GET \
  --url http://localhost:3000/api/artist-clients/get-client/{id}
{
  "id": "<string>",
  "displayName": "<string>",
  "email": "<string>",
  "locations": [
    {
      "address": "<string>",
      "city": "<string>",
      "state": "<string>",
      "country": "<string>",
      "latitude": 123,
      "longitude": 123
    }
  ],
  "phoneNumber": "<string>",
  "photoURL": "<string>",
  "pronouns": "Don't Specify",
  "firstBookingDate": 123,
  "totalSpent": 123,
  "notes": "<string>",
  "bookingIds": [
    "<string>"
  ],
  "conversationId": "<string>",
  "bookings": [
    {
      "id": "<string>",
      "status": "<string>",
      "dateTimestamp": 123,
      "startTime": 123,
      "endTime": 123,
      "totalFee": "<string>",
      "depositFee": "<string>",
      "location": "<string>"
    }
  ],
  "otherPronouns": "<string>"
}

Path Parameters

id
string
required

The ID of the client to retrieve

Response

Client information retrieved successfully

id
string
required

The unique identifier of the client

displayName
string
required

The client's display name

email
string
required

The client's email address

locations
object[]
required

List of client's locations

phoneNumber
string
required

The client's phone number

photoURL
string
required

URL to the client's profile photo

pronouns
enum<string>
required

The client's preferred pronouns

Available options:
Don't Specify,
He/Him,
She/Her,
They/Them,
Other
firstBookingDate
number
required

Timestamp of the first booking with this client

totalSpent
number
required

Total amount spent by this client

notes
string
required

Artist's notes about this client

bookingIds
string[]
required

List of booking IDs associated with this client

conversationId
string
required

ID of the conversation thread with this client

bookings
object[]
required

List of bookings associated with this client

otherPronouns
string

Custom pronouns when pronouns is 'Other'