Skip to main content
PATCH
Update your account

Authorizations

Authorization
string
header
required

JWT token for an authenticated seller session (seller_api audience)

Body

application/json
first_name
string
Example:

"Ada"

last_name
string
Example:

"Lovelace"

selected_locale
string

Panel display language, as a code the panel ships.

Example:

"de"

avatar
string | null

Direct-upload signed id, or null to remove the photo.

Response

account updated

The signed-in user, the sellers they may act for, and what they may do on the selected one

user
object
required
sellers
object[]
required
permissions
object[]
required
permission_keys
string[]
required

Permission keys on the selected seller. Empty until X-Spree-Seller-Id names one — capability is per seller.

Example: