Create C2B connection request
GraphQL endpoint: /user
Sends a connection request from the authenticated user to a company (C2B - Consumer to Business) with the given connection type. The request stays PENDING until the company accepts or rejects it.
Query
mutation (
$invitedCompanyId: ID!
$connectionType: B2cConnectionType!
) {
createC2bConnectionRequest (
invitedCompanyId: $invitedCompanyId
connectionType: $connectionType
) {
id
status
type
insertedAt
respondedAt
updatedAt
user {
id
}
invitedCompany {
id
}
respondedByUser {
id
}
}
}
Variables
Response
Last updated