Team member created
EVENT
team_member.created
Published when a Team Member is created.
Permissions
EMPLOYEES_READ
Name | Description |
---|---|
merchant_
|
The ID of the target merchant associated with the event. |
type
|
The type of event this represents, |
event_
|
A unique ID for the webhook event. |
created_
|
Read only Timestamp of when the webhook event was created, in RFC 3339 format. Examples for January 25th, 2020 6:25:34pm Pacific Standard Time: UTC: 2020-01-26T02:25:34Z Pacific Standard Time with UTC offset: 2020-01-25T18:25:34-08:00 |
data
|
Data associated with the event. |
Examples
Example payload
{
"merchant_id": "0JV5BGNW4EG9R",
"type": "team_member.created",
"event_id": "91484f7e-63bc-4253-a86d-18e7ea0b0cfb",
"created_at": "2021-03-11T01:16:04.253Z",
"data": {
"type": "team_member",
"id": "TMfCNDbg_wwJvUJY",
"object": {
"team_member": {
"assigned_locations": {
"assignment_type": "EXPLICIT_LOCATIONS"
},
"created_at": "2021-03-11T01:16:03.697Z",
"email_address": "amelia.earhart@example.com",
"family_name": "Earhart",
"given_name": "Amelia",
"id": "TMfCNDbg_wwJvUJY",
"is_owner": false,
"phone_number": "+12125554240",
"reference_id": "example-reference-id",
"status": "ACTIVE",
"updated_at": "2021-03-11T01:16:03.697Z"
}
}
}
}