Create B2C connection request
GraphQL endpoint: /company
Sends a connection request from a company to a user (person). The connection type specifies the nature of the relationship (e.g., CUSTOMER, PARTNER, VENDOR). The invited user receives a notification and can accept or reject the request. The request stays PENDING until the user responds.
Query
mutation (
$invitedUserId: ID!
$connectionType: B2cConnectionType!
) {
createB2cConnectionRequest (
invitedUserId: $invitedUserId
connectionType: $connectionType
) {
id
status
type
insertedAt
respondedAt
updatedAt
company {
id
}
user {
id
}
invitedUser {
id
}
}
}
Variables
Response
Last updated