Supported methods
List of all supported methods.Methods for forms
These methods cover the complete lifecycle of online forms in the shop. They read out all configured forms including the fields, the required marking, the validations, and the email settings. If required, an individual form or an individual field can be loaded specifically by ID. In addition, it is possible to submit completed forms. In doing so, a transaction ID (inquiryId) is provided, which enables later tracking or detail queries.
GET form/list
The following call returns all forms configured in the shop, including field definitions and email settings. It can be used to create forms including required fields and validations.Parameter overview
Example response
GET form/get
The following call lets you load an individual form by its technical ID (retrievable via “form/getAll”) including field definitions, required entries, validations, and email settings. It can be used to display a specific form. Example call that loads a form with theformId contact:
Parameter overview
Example response
GET form/getField
The following call loads a form field with label, required status, and validations. It can be used to display the field specifically without reloading the entire form. Example call that loads thefirstName field from the contact form:
Parameter overview
Example response
GET form/loadInquiry
The following call lets you load an already sent inquiry by its transaction ID. It can be used to display a confirmation page after submitting the form or to view an inquiry again later. Example call that loads the inquiry with the ID7930f7e9fa7bb07b:
Parameter overview
Example response
POST form/send
The following call sends a form inquiry (e.g. a contact form) to the shop and creates a transaction for it. It can be used to submit a form and to display a confirmation including the transaction number.Example request
Parameter overview
Example response
InquiryId is the transaction ID of the sent inquiry.
Error codes
Field validation
Faulty fields are reported individually as separate errors with the code
formCheckFailed. field contains the field name, subCode the reason:
formCheck.required: required field without a valuedataChecker.<name>(for exampledataChecker.maxLength,dataChecker.minLength): the validation configured in the form failedformCheck.defaultMaxLength: nomaxLengthvalidation is configured for the field and the value is longer than 200 characters
