feat: re-implement contact form submissions api endpoint for website

This commit is contained in:
Björn Fromme
2025-12-10 09:29:19 +01:00
parent e27b5da3c8
commit 2b8046b416
11 changed files with 182 additions and 10 deletions
+16
View File
@@ -68,3 +68,19 @@ GET {{base_url}}/api/products
Accept: application/json
Authorization: Bearer {{$auth.token("oauth2_api")}}
### API contact form
POST {{base_url}}/api/contactform
Accept: application/json
Content-Type: application/json
Authorization: Bearer {{$auth.token("oauth2_api")}}
{
"lastName": "Duschen",
"firstName": "Isolde",
"gender": "f",
"street": "Fooroad 1",
"zipCode": "12345",
"city": "Bartown",
"email": "[email protected]",
"phone": "12345"
}