Skip to main content
PATCH
Spree Admin SDK

Authorizations

x-spree-api-key
string
header
required

Secret API key for admin access

Authorization
string
header
required

JWT token for admin user authentication

Headers

x-spree-api-key
string
required
Authorization
string
required

Bearer token for admin authentication

Body

application/json
selected_locale
string

The dashboard display language.

Example:

"de"

first_name
string
last_name
string
avatar_signed_id
string | null

A signed_id from files.upload() to set the avatar, or null to remove it. Omit it to keep the current photo.

Response

200 - application/json

profile updated

Current admin user profile and serialized permissions

user
object
required
permissions
object[]
required