Update a profile
Update a profile
Authorizations:Token, JWT
Query Parameters
| id required | integer>= 1 |
Request Body Schema:
The updated Profile resource | login | string[5 .. 128] characters |
| password | string or null[8 .. 128] characters |
| access_level | integerEnum: 0100 |
| status | string1 characterDefault: "E"Enum: "E""D"Example: "E" |
| status_comment | string |
| referer | string |
| language | string<= 2 charactersDefault: "en"Example: "en" |
| membership_id | integer or null |
| pending_membership_id | integer or null |
| force_change_password | boolean |
| role_ids | Array of integers |
| stripe_customer_id | string or null<= 128 characters |
| stored_selectors | Array of strings |
| mail_chimp_lists | Array of strings |
| mail_chimp_interests | Array of strings |
| mail_chimp_segments | Array of strings |
| social_login_provider | string or null<= 128 characters |
| social_login_id | string or null<= 128 characters |
| ga_client_id | string or null |
| ga_session_id | string or null |
Responses
200Profile resource updated
Response schema:
Profile resource updated | id | integer or null | ||||||||||||||||||||||||||||||||||||||||||
| string | |||||||||||||||||||||||||||||||||||||||||||
| membershipId | integer>= 0 | ||||||||||||||||||||||||||||||||||||||||||
| addresses | Array of objects | ||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||
400Invalid input
401Unauthorized
Response schema:
Unauthorized | type | stringExample: "https://tools.ietf.org/html/rfc2616#section-10" |
| title | stringExample: "An error occurred" |
| detail | string or nullExample: "Cannot find entity" |
| instance | string or null |
404Resource not found
Response schema:
Resource not found | type | stringExample: "https://tools.ietf.org/html/rfc2616#section-10" |
| title | stringExample: "An error occurred" |
| detail | string or nullExample: "Cannot find entity" |
| instance | string or null |
422Unprocessable entity
500Internal error
Response schema:
Internal error | type | stringExample: "https://tools.ietf.org/html/rfc2616#section-10" |
| title | stringExample: "An error occurred" |
| detail | string or nullExample: "Cannot find entity" |
| instance | string or null |