Skip to main content
POST
Update Profile

Authorizations

Authorization
string
header
required

Authenticate with a customer token, minted server-to-server with POST /v1/shops/{shopId}/customers/{customerId}/token and sent as a Bearer token. Reseller API keys are rejected with a 403 here.

Body

application/json
username
string

3 to 20 characters, letters, digits, underscores and hyphens only. Must be unique within the shop. Send null to remove it.

Example:

"happy_buyer"

anonymous_feedback
boolean

Hide the username on reviews while keeping it on the account.

Example:

false

Response

success
boolean
Example:

true

username
string
Example:

"happy_buyer"

anonymous_feedback
boolean
Example:

false

username_locked
boolean
Example:

false