Updates the authenticated user’s profile information
curl --request PUT \
--url http://localhost:3000/api/auth/update-profile \
--header 'Content-Type: application/json' \
--data @- <<EOF
{
"id": "<string>",
"email": "<string>",
"displayName": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"pronouns": "Don't Specify",
"otherPronouns": "<string>",
"phoneNumber": "<string>",
"photoURL": "<string>",
"userType": "artist",
"howDidYouHearAboutUs": "<string>",
"preferences": {
"notifications": {
"bookings": {
"newRequests": true,
"bookingUpdates": true,
"payments": true,
"conversations": true
},
"marketing": true
},
"integrations": {
"stripe": {
"isEnabled": true,
"accountId": "<string>",
"isChargesEnabled": true,
"isPayoutsEnabled": true
}
}
},
"artistInfo": {
"username": "<string>",
"workLocations": [
{
"address": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"latitude": 123,
"longitude": 123
}
],
"tattooStyles": [
"<string>"
],
"bio": "<string>",
"links": [
{
"url": "<string>",
"order": 123
}
],
"useCustomBookingFlow": true,
"customBookingType": "<string>",
"customBookingUrl": "<string>",
"isVerified": true,
"bookingFaqs": [
{
"type": "Cancellation/Rescheduling Policy",
"description": "<string>",
"title": "<string>"
}
],
"displayDailyAvailability": true
},
"clientInfo": {
"preferredStyles": [
"<string>"
],
"homeLocation": {
"address": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"latitude": 123,
"longitude": 123
}
},
"studioInfo": {
"studioName": "<string>",
"studioLocation": {
"address": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"latitude": 123,
"longitude": 123
},
"studioStyles": [
"<string>"
],
"email": "<string>",
"phoneNumber": "<string>",
"artistEmailInvites": [
"<string>"
]
},
"isSetupFlow": true
}
EOF{
"success": true,
"profile": {
"id": "<string>",
"email": "<string>",
"displayName": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"pronouns": "Don't Specify",
"photoURL": "<string>",
"createdAt": 123,
"preferences": {
"notifications": {
"bookings": {
"newRequests": true,
"bookingUpdates": true,
"payments": true,
"conversations": true
},
"marketing": true
},
"integrations": {
"stripe": {
"isEnabled": true,
"accountId": "<string>",
"isChargesEnabled": true,
"isPayoutsEnabled": true
}
}
},
"otherPronouns": "<string>",
"phoneNumber": "<string>",
"userType": "artist",
"howDidYouHearAboutUs": "<string>",
"integrations": {
"instagram": {
"userId": "<string>",
"username": "<string>",
"connectedAt": 123
}
},
"artistInfo": {
"username": "<string>",
"workLocations": [
{
"address": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"latitude": 123,
"longitude": 123
}
],
"tattooStyles": [
"<string>"
],
"bio": "<string>",
"links": [
{
"url": "<string>",
"order": 123
}
],
"useCustomBookingFlow": true,
"customBookingType": "<string>",
"customBookingUrl": "<string>",
"isVerified": true,
"bookingFaqs": [
{
"type": "Cancellation/Rescheduling Policy",
"description": "<string>",
"title": "<string>"
}
],
"displayDailyAvailability": true
},
"clientInfo": {
"preferredStyles": [
"<string>"
],
"homeLocation": {
"address": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"latitude": 123,
"longitude": 123
}
},
"studioInfo": {
"studioName": "<string>",
"studioLocation": {
"address": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"latitude": 123,
"longitude": 123
},
"studioStyles": [
"<string>"
],
"email": "<string>",
"phoneNumber": "<string>",
"artistEmailInvites": [
"<string>"
]
},
"isEmailVerified": true
}
}The user's unique identifier
The user's email address
The user's display name
The user's first name
The user's last name
The user's preferred pronouns
Don't Specify, He/Him, She/Her, They/Them, Other Custom pronouns when pronouns is 'Other'
The user's phone number
URL to the user's profile photo
The type of user account
artist, client, studio How the user discovered the platform
User preferences
Show child attributes
Artist-specific information if userType is 'artist'
Show child attributes
Client-specific information if userType is 'client'
Show child attributes
Studio-specific information if userType is 'studio'
Show child attributes
Indicates if this update is part of the initial setup flow. Used to trigger additional setup actions like importing Instagram photos.
curl --request PUT \
--url http://localhost:3000/api/auth/update-profile \
--header 'Content-Type: application/json' \
--data @- <<EOF
{
"id": "<string>",
"email": "<string>",
"displayName": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"pronouns": "Don't Specify",
"otherPronouns": "<string>",
"phoneNumber": "<string>",
"photoURL": "<string>",
"userType": "artist",
"howDidYouHearAboutUs": "<string>",
"preferences": {
"notifications": {
"bookings": {
"newRequests": true,
"bookingUpdates": true,
"payments": true,
"conversations": true
},
"marketing": true
},
"integrations": {
"stripe": {
"isEnabled": true,
"accountId": "<string>",
"isChargesEnabled": true,
"isPayoutsEnabled": true
}
}
},
"artistInfo": {
"username": "<string>",
"workLocations": [
{
"address": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"latitude": 123,
"longitude": 123
}
],
"tattooStyles": [
"<string>"
],
"bio": "<string>",
"links": [
{
"url": "<string>",
"order": 123
}
],
"useCustomBookingFlow": true,
"customBookingType": "<string>",
"customBookingUrl": "<string>",
"isVerified": true,
"bookingFaqs": [
{
"type": "Cancellation/Rescheduling Policy",
"description": "<string>",
"title": "<string>"
}
],
"displayDailyAvailability": true
},
"clientInfo": {
"preferredStyles": [
"<string>"
],
"homeLocation": {
"address": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"latitude": 123,
"longitude": 123
}
},
"studioInfo": {
"studioName": "<string>",
"studioLocation": {
"address": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"latitude": 123,
"longitude": 123
},
"studioStyles": [
"<string>"
],
"email": "<string>",
"phoneNumber": "<string>",
"artistEmailInvites": [
"<string>"
]
},
"isSetupFlow": true
}
EOF{
"success": true,
"profile": {
"id": "<string>",
"email": "<string>",
"displayName": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"pronouns": "Don't Specify",
"photoURL": "<string>",
"createdAt": 123,
"preferences": {
"notifications": {
"bookings": {
"newRequests": true,
"bookingUpdates": true,
"payments": true,
"conversations": true
},
"marketing": true
},
"integrations": {
"stripe": {
"isEnabled": true,
"accountId": "<string>",
"isChargesEnabled": true,
"isPayoutsEnabled": true
}
}
},
"otherPronouns": "<string>",
"phoneNumber": "<string>",
"userType": "artist",
"howDidYouHearAboutUs": "<string>",
"integrations": {
"instagram": {
"userId": "<string>",
"username": "<string>",
"connectedAt": 123
}
},
"artistInfo": {
"username": "<string>",
"workLocations": [
{
"address": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"latitude": 123,
"longitude": 123
}
],
"tattooStyles": [
"<string>"
],
"bio": "<string>",
"links": [
{
"url": "<string>",
"order": 123
}
],
"useCustomBookingFlow": true,
"customBookingType": "<string>",
"customBookingUrl": "<string>",
"isVerified": true,
"bookingFaqs": [
{
"type": "Cancellation/Rescheduling Policy",
"description": "<string>",
"title": "<string>"
}
],
"displayDailyAvailability": true
},
"clientInfo": {
"preferredStyles": [
"<string>"
],
"homeLocation": {
"address": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"latitude": 123,
"longitude": 123
}
},
"studioInfo": {
"studioName": "<string>",
"studioLocation": {
"address": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"latitude": 123,
"longitude": 123
},
"studioStyles": [
"<string>"
],
"email": "<string>",
"phoneNumber": "<string>",
"artistEmailInvites": [
"<string>"
]
},
"isEmailVerified": true
}
}