Przejdź do głównej zawartości

formSubmit

Submit a store-defined contact form. Values are validated against the form definition — errors come back in userErrors with stable codes and the offending field key in field. Bot-protection guarded and rate-limited.

formSubmit(
slug: String!
values: [FormFieldValueInput!]!
): FormSubmitPayload!

Arguments

formSubmit.slug ● String! non-null scalar

Slug of the form being submitted.

formSubmit.values ● [FormFieldValueInput!]! non-null input

Collected field values.

Type

FormSubmitPayload object

Result of formSubmit.