v2

latestOpenAPI 3.0.02026-07-3139594346.4 KB
Account

Update Profile

Update the identifiers for a shopper's profile (first name or last name).

patch/v1/account/profile

Headers

X-Publishable-Keystring

The publicly viewable identifier used to identify a merchant division. This key is found in the Developer > API section of the Bolt Merchant Dashboard [RECOMMENDED].

Request body

first_namestring

The given name of the person associated with this record.

last_namestring

The surname of the person associated with this record.

Example request

{
  "first_name": "Alan",
  "last_name": "Watts",
  "metadata": {
    "customer_id": 234
  }
}

Response

Profile Updated

emailstring email

An email address.

first_namestring

The given name of the person associated with this record.

last_namestring

The surname of the person associated with this record.

namestring

The given and surname of the person associated with this address.

phonestring

A phone number following E164 standards, in its globalized format, i.e. prepended with a plus sign.

Example response

{
  "email": "alan.watts@example.com",
  "first_name": "Alan",
  "last_name": "Watts",
  "metadata": {
    "customer_id": 234
  },
  "name": "Alan Watts",
  "phone": "+12125550199"
}