Update the buyer profile
Requires the X-Customer-Session header. The enterprise service API key is OPTIONAL. Only updates the session’s buyer: name and phone. The email cannot be changed (it is the account identity). Omitted fields are left untouched.
/customer/profileAuthorizationAPI key · headerrequiredAPI key prefixed with Bearer . Alternative: the x-api-key header with the raw key. Available scopes: read and write (see /.well-known/oauth-protected-resource).
x-api-keyAPI key · headerrequiredRaw API key (without Bearer ), alternative to Authorization.
X-Workspace-IdstringActive workspace to operate on. Optional: when omitted, the default workspace of the user who owns the key is used (pickActiveOrg).
application/jsonnamestringphonestring | nullnull or an empty string clears the phone.
Show propertiesHide properties
stringnullOK
dataCustomerProfilerequiredShow propertiesHide properties
idstringrequiredemailstringrequirednamestringrequiredphonestring | nullrequiredShow propertiesHide properties
stringnullMissing or invalid credential.
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsanyInsufficient role or resource not accessible.
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsanyResource does not exist or is out of scope.
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsanyRequest body/parameter validation failed.
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsany
