Create B2B connection request
GraphQL endpoint: /company
Sends a business-to-business connection request to another company. The connection type specifies the relationship (e.g., PARTNER, VENDOR, CUSTOMER). The request stays PENDING until the invited company accepts or rejects it.
Query
mutation (
$invitedCompanyId: ID!
$connectionType: B2bConnectionType!
) {
createB2bConnectionRequest (
invitedCompanyId: $invitedCompanyId
connectionType: $connectionType
) {
id
status
type
insertedAt
respondedAt
updatedAt
company {
id
}
user {
id
}
invitedCompany {
id
}
}
}
Variables
Response
Last updated