update contact
PATCH/org/:orgId/contact/:contactId
update contact by the given organization and buyer id. The given name and information should be complete. Please note that this function does not support partial updates.
Request
Path Parameters
orgId stringrequired
Organization ID
contactId stringrequired
Contact ID
- application/json
Body
required
Request Body
creationTime string
emailAddress string
id string
This is generated by Suger. When you create a new contact, do not provide.
info
object
companyLocation string
companyName string
lastModifiedBy string
phoneNumber string
role string
lastUpdateTime string
name string
organizationID string
Responses
- 200
- 400
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
creationTime string
emailAddress string
id string
This is generated by Suger. When you create a new contact, do not provide.
info
object
companyLocation string
companyName string
lastModifiedBy string
phoneNumber string
role string
lastUpdateTime string
name string
organizationID string
{
"creationTime": "string",
"emailAddress": "string",
"id": "string",
"info": {
"companyLocation": "string",
"companyName": "string",
"lastModifiedBy": "string",
"phoneNumber": "string",
"role": "string"
},
"lastUpdateTime": "string",
"name": "string",
"organizationID": "string"
}
Bad request error
- application/json
- Schema
Schema
string
Internal server error
- application/json
- Schema
Schema
string
Loading...