Chatwoot/swagger/definitions/request/contact/update.yml

25 lines
709 B
YAML
Raw Normal View History

2020-02-23 07:24:29 +00:00
type: object
properties:
name:
type: string
description: name of the contact
2020-02-23 07:24:29 +00:00
email:
type: string
description: email of the contact
2020-02-23 07:24:29 +00:00
phone_number:
type: string
description: phone number of the contact
avatar:
type: string <binary>
description: Send the form data with the avatar image binary or use the avatar_url
avatar_url:
type: string
description: The url to a jpeg, png file for the contact avatar
identifier:
type: string
description: A unique identifier for the contact in external system
custom_attributes:
type: object
description: An object where you can store custom attributes for contact. example {"type":"customer", "age":30}