Skip to content

createClientViaForm

deprecated Replaced by completeCheckout

create a client account via a form (e.g a lead capture form) or match to an existing client by name and email. This endpoint is meant to be called unauthenticated. If you want the client to buy or book something at the same time, use the CompleteCheckout mutation.

Arguments

input · CreateClientViaFormInput · Parameters for CreateClientViaForm

Returns

CreateClientViaFormPayload

Example

mutation createClientViaForm($input: CreateClientViaFormInput) {
createClientViaForm(input: $input) {
form_answer_group
messages
}
}