# Update of customer account Endpoint: PATCH /api/customers/{guid}/accounts/{accountGuid} Version: 1.0.0 Security: shoptetAccessToken, shoptetPrivateApiToken ## Path parameters: - `guid` (string, required) Example: "45f0cc8c-b7a9-11ea-a7a1-08002746ad91" - `accountGuid` (string, required) Example: "460e4fbe-b7a9-11ea-82ab-08002746ad91" ## Header parameters: - `Content-Type` (string, required) ## Request fields (application/json): - `data` (object, required) - `data.fullName` (string,null) full name (can be ) - `data.email` (string) email address - `data.phone` (string,null) phone number (can be ) - `data.mainAccount` (boolean) Is this account the main account? - `data.authorized` (boolean) Is the account authorized? Default: true - `data.emailVerified` (boolean) Is the email verified by eshop owner? Needed for pairing orders created in past. Default: false ## Response 200 fields (application/json): - `data` (object, required) - `data.account` (object, required) - `data.account.guid` (string, required) The unique identifier of the account. - `data.account.fullName` (string,null, required) full name (can be ) - `data.account.email` (string, required) email address - `data.account.phone` (string,null, required) phone number (can be ) - `data.account.mainAccount` (boolean, required) Is this account the main account? - `data.account.authorized` (boolean, required) Is the account authorized? Default: true - `data.account.emailVerified` (boolean, required) Is the email verified by eshop owner? Needed for pairing orders created in past. Default: false - `errors` (array,null, required) - `errors.errorCode` (string, required) Short text error identification - `errors.message` (string, required) Descriptive error message - `errors.instance` (string, required) Identification of the entity referenced