Skip to main content

Update a profile

Update a profile

Authorizations:Token, JWT
Query Parameters
id
required
integer>= 1
Request Body Schema:
The updated Profile resource
loginstring[5 .. 128] characters
passwordstring or null[8 .. 128] characters
access_levelintegerEnum: 0100
statusstring1 characterDefault: "E"Enum: "E""D"Example: "E"
status_commentstring
refererstring
languagestring<= 2 charactersDefault: "en"Example: "en"
membership_idinteger or null
pending_membership_idinteger or null
force_change_passwordboolean
role_idsArray of integers
stripe_customer_idstring or null<= 128 characters
stored_selectorsArray of strings
mail_chimp_listsArray of strings
mail_chimp_interestsArray of strings
mail_chimp_segmentsArray of strings
social_login_providerstring or null<= 128 characters
social_login_idstring or null<= 128 characters
ga_client_idstring or null
ga_session_idstring or null

Responses

200Profile resource updated
Response schema:
Profile resource updated
idinteger or null
emailstring
membershipIdinteger>= 0
addressesArray of objects
Array
is_billingboolean
is_shippingboolean
is_workboolean
typestringDefault: "R"Enum: "R""C"
titlestring
firstnamestring
lastnamestring
phonestring
address1string
address2string
address3string
zipcodestring<= 32 characters
citystring
country_codestring2 characters
stateinteger>= 0
state_namestring
custom_fieldsArray of objects
Array
namestring
valuestring
idinteger>= 1
400Invalid input
401Unauthorized
Response schema:
Unauthorized
typestringExample: "https://tools.ietf.org/html/rfc2616#section-10"
titlestringExample: "An error occurred"
detailstring or nullExample: "Cannot find entity"
instancestring or null
404Resource not found
Response schema:
Resource not found
typestringExample: "https://tools.ietf.org/html/rfc2616#section-10"
titlestringExample: "An error occurred"
detailstring or nullExample: "Cannot find entity"
instancestring or null
422Unprocessable entity
500Internal error
Response schema:
Internal error
typestringExample: "https://tools.ietf.org/html/rfc2616#section-10"
titlestringExample: "An error occurred"
detailstring or nullExample: "Cannot find entity"
instancestring or null