# REST-API Create Customer

**URL:** <https://forum.shopware.com/t/rest-api-create-customer/38427>\
**Category:** Programmierung\
**Created:** [21. Juli 2016 um 12:11 UTC](https://forum.shopware.com/t/rest-api-create-customer/38427 "2016-07-21T12:11:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Schwindt\_Leibrock](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@Schwindt\_Leibrock](https://forum.shopware.com/u/Schwindt_Leibrock)\
**Post date:** [21. Juli 2016 um 12:11 UTC](https://forum.shopware.com/t/rest-api-create-customer/38427/1 "2016-07-21T12:11:00Z")

</div>

Hallo zusammen,

bei der Anlage eines Kunden über die REST-API (Shopware 5.2.2) bekomme ich folgende Fehlermeldung:

```
{"success":false,"message":"Validation error","errors":["salutation: The value you selected is not a valid choice."]}

```

Als “salutation” übergebe ich “Herr”. Ich habe es auch mit “mr” versucht.

Für einen Tipp wäre ich sehr dankbar.  
Vorab besten Dank!

MfG Sascha

&nbsp;

---

<div class="post-metadata">

**Author:** ![ecomedic](https://avatars.discourse-cdn.com/v4/letter/e/71e660/32.png) [@ecomedic](https://forum.shopware.com/u/ecomedic)\
**Post date:** [12. August 2019 um 12:29 UTC](https://forum.shopware.com/t/rest-api-create-customer/38427/2 "2019-08-12T12:29:55Z")

</div>

Hallo Sascha,

wir haben aktuell das gleiche Problem.&nbsp;

Welche Lösung habt Ihr gefunden?

Viele Grüße

Jörg
