# Rest Api Update von s\_user\_attributes

**URL:** <https://forum.shopware.com/t/rest-api-update-von-s-user-attributes/60791>\
**Category:** Allgemein\
**Created:** [1. August 2019 um 11:56 UTC](https://forum.shopware.com/t/rest-api-update-von-s-user-attributes/60791 "2019-08-01T11:56:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Liverson](https://avatars.discourse-cdn.com/v4/letter/l/b19c9b/32.png) [@Liverson](https://forum.shopware.com/u/Liverson)\
**Post date:** [1. August 2019 um 11:56 UTC](https://forum.shopware.com/t/rest-api-update-von-s-user-attributes/60791/1 "2019-08-01T11:56:00Z")

</div>

Hallo,

laut Doku kann ja über die RestApi z.B die customer Resource so upgedatet werden:

```
$client->put('customers/1', array(
    'email' => 'new@mail.de'
));

```

Ist das nur für Werte Spalten möglich, die in der s\_user stehen oder kann man via API auch die s\_user\_attributes updaten. Wenn ja, wie muss man das übergeben.

Danke und Gruss

---

<div class="post-metadata">

**Author:** ![Liverson](https://avatars.discourse-cdn.com/v4/letter/l/b19c9b/32.png) [@Liverson](https://forum.shopware.com/u/Liverson)\
**Post date:** [1. August 2019 um 12:08 UTC](https://forum.shopware.com/t/rest-api-update-von-s-user-attributes/60791/2 "2019-08-01T12:08:42Z")

</div>

hat sich erledigt, ganz einfach:&nbsp; ![Thumb-Up](https://forum.shopware.com/plugins/CKEditor/plugins/smiley/images/thumb-up.png "Thumb-Up")

```
$client->put('customers/1', array(
    'email' => 'new@mail.de',
    'attribute' => array('mein_attribut' => 'blubber')
));

```

&nbsp;
