API reference
createWhiteLabelGuestGroup
Required permission: WhiteLabelGuestWrite
createWhiteLabelGuestGroup(
whiteLabelId: ID!
input: WhiteLabelGuestGroupInput!
): WhiteLabelGuestGroupArguments
| Name | Type | Description |
|---|---|---|
whiteLabelId |
ID! |
|
input |
WhiteLabelGuestGroupInput! |
Returns
Example
mutation CreateWhiteLabelGuestGroup($whiteLabelId: ID!, $input: WhiteLabelGuestGroupInput!) {
createWhiteLabelGuestGroup(whiteLabelId: $whiteLabelId, input: $input) {
id
cardBackgroundColor
cardImageUrl
invitationCode
memberCount
name
}
}curl https://api.thelocoapp.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LOCO_API_KEY" \
-d '{"query": "mutation { createWhiteLabelGuestGroup(...) { __typename } }"}'