Skip to content
You are reading the pinned copy of v1.0, which is also the latest release. Read the latest.

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, email, max length 254, required).
  • subjectLine (string, min length 1, max length 200, required).
  • message (string, min length 1, max length 5000, required).
As seen on Open Source Alternatives The Merchant Engine badge