Update a contact
PUT
/customers/{customerId}/contacts/{contactId}
Customers/contacts
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api-sandbox.saaslogic.io/v1/customers/782ef4f6-8cdd-4f7c-9223-efc8b63d0b62/contacts/af0a7273-88c0-4119-83f5-cee8191b5fcb' \
--header 'Accept: application/json' \
--header 'Accept;' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"firstName": "Michael",
"lastName": "Hensley",
"email": "info@adroit.io",
"contactNumber": "1234567890",
"countryCode": "IND",
"contactId": "54674d18-aa04-4650-baf2-36479dafdb22",
"isDefault": true
}'
Response Response Example
{
"message": "UN_AUTHORIZED"
}
Request
Path Params
customerId
string
required
Example:
782ef4f6-8cdd-4f7c-9223-efc8b63d0b62
contactId
string
required
Example:
af0a7273-88c0-4119-83f5-cee8191b5fcb
Header Params
Content-Type
string
required
Example:
application/json
Accept
string
required
Example:
application/json
Authorization
string
required
Default:
Bearer {{bearerToken}}
Body Params application/json