Skip to navigation

Update Account

View as Markdown

Changes the shopper’s name or phone. The email cannot be changed. The merchant’s customer record is not edited.

Keys: public key or secret key.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

identitystring
The identity for the active workspace.

Headers

channelstringRequired
shopper-tokenstringRequired

The token returned when the shopper signed in. Treat it as a secret: never put it in a URL or a log.

Request

This endpoint expects an object.
first_namestringOptional<=50 characters
last_namestringOptional<=50 characters
phonestringOptional<=30 characters
Between 7 and 15 digits. An empty string removes it.

Response

Successfully updated account
statusboolean

Always true on success.

messagestring

Human-readable outcome.

dataobject

Errors

400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
422
Unprocessable Entity Error