API reference
createWhiteLabelGuest
Required permission: WhiteLabelGuestWrite
createWhiteLabelGuest(
whiteLabelId: ID!
input: WhiteLabelGuestInput!
): WhiteLabelGuestArguments
| Name | Type | Description |
|---|---|---|
whiteLabelId |
ID! |
|
input |
WhiteLabelGuestInput! |
Returns
Example
mutation CreateWhiteLabelGuest($whiteLabelId: ID!, $input: WhiteLabelGuestInput!) {
createWhiteLabelGuest(whiteLabelId: $whiteLabelId, input: $input) {
id
amountSpent
createdAt
email
invitationStatus
name
}
}curl https://api.thelocoapp.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LOCO_API_KEY" \
-d '{"query": "mutation { createWhiteLabelGuest(...) { __typename } }"}'