Skip to main content
Mutation

submitSelfServiceContact

Saves the contact details submitted through a crew member's self-service link. No sign-in needed: the link's token is the credential. Every editable field is replaced, so send the complete form. Fails with BAD_USER_INPUT (all problems in one message) for invalid values, and with a NOT_FOUND error for an invalid, expired or revoked link. Returns the saved details.

Arguments

  • The complete contact details.

  • spaceIdID!

    The space ID from the self-service link.

  • tokenString!

    The secret token from the self-service link.

Returns

SelfServiceContact!

Example

mutation SubmitSelfServiceContact($input: SelfServiceContactInput!, $spaceId: ID!, $token: String!) {
  submitSelfServiceContact(input: $input, spaceId: $spaceId, token: $token) {
    city
    countryCode
    email
    emergencyFirstName
    emergencyLastName
    emergencyPhone
    firstName
    foodPreferences
  }
}