Skip to content
You are reading the unreleased documentation. No version is released yet, and these pages describe code that is not in a release.

Contact (storefront API)

Storefront and customer routes of the contact module. Send Accept-Language (or X-Locale from a browser) on every call; a customer route needs the session cookie.

Submit a contact-form message

Request body: ContactFormDto.

Responses:

  • 202: Message received.
  • 400: Invalid input.
  • fromName (string, min length 1, max length 120, required).
  • fromEmail (string, max length 254, required).
  • subjectLine (string, min length 1, max length 200, required).
  • message (string, min length 1, max length 5000, required).