# Account

## GET /account/email-addresses/

> This method is used to retrieve information about the email addresses associated with user accounts. Each email address entry provides essential details about the email address, such as its verification status, whether it is the primary email for the user, and the associated user ID.

```json
{"openapi":"3.0.3","info":{"title":"Data Warehouse","version":"1.0.0"},"servers":[{"description":"Server base URL with dynamic channel_id.","url":"https://{omnitron_url}/api/v1/remote/{channel_id}/data-warehouse","variables":{"channel_id":{"default":"1","description":"Unique identifier for the sales channel."},"omnitron_url":{"default":"sandbox.akinon.com"}}},{"description":"Server base URL with Commerce URL.","url":"https://{commerce_url}/api/v1/data-warehouse","variables":{"commerce_url":{"default":"sandbox.commerce.akinon.com"}}}],"security":[{"tokenAuth":[]}],"components":{"securitySchemes":{"tokenAuth":{"description":"Token-based authentication with required prefix \"Token\"","in":"header","name":"Authorization","type":"apiKey"}},"schemas":{"PaginatedEmailAddressList":{"properties":{"count":{"description":"Numerical value representing quantity or total amount.","type":"integer"},"next":{"description":"This field defines the URL of the next page.","format":"uri","nullable":true,"type":"string"},"previous":{"description":"This field defines the URL of the previous page.","format":"uri","nullable":true,"type":"string"},"results":{"description":"This field returns a list of results.","items":{"$ref":"#/components/schemas/EmailAddress"},"type":"array"}},"type":"object"},"EmailAddress":{"properties":{"email":{"description":"Email address of the user or entity.","format":"email","maxLength":254,"title":"E-mail address","type":"string"},"id":{"description":"Unique identifier for the record.","type":"integer"},"primary":{"description":"This field defines whether the address is the default among the user's addresses.","type":"boolean"},"user":{"description":"This field defines the user who triggered the event.","type":"integer"},"verified":{"description":"This field defines whether the email address has been verified.","type":"boolean"}},"type":"object"}}},"paths":{"/account/email-addresses/":{"get":{"description":"This method is used to retrieve information about the email addresses associated with user accounts. Each email address entry provides essential details about the email address, such as its verification status, whether it is the primary email for the user, and the associated user ID.","operationId":"account_email_addresses_list","parameters":[{"description":"Query parameter `email` used to filter results based on specific conditions.","in":"query","name":"email","schema":{"type":"string"}},{"description":"Query parameter `id` used to filter results based on specific conditions.","in":"query","name":"id","schema":{"type":"integer"}},{"description":"Filters records where `id` is greater than the given value.","in":"query","name":"id__gt","schema":{"type":"integer"}},{"description":"Filters records where `id` is greater than or equal to the given value.","in":"query","name":"id__gte","schema":{"type":"integer"}},{"description":"Filters records where `id` is less than the given value.","in":"query","name":"id__lt","schema":{"type":"integer"}},{"description":"Filters records where `id` is less than or equal to the given value.","in":"query","name":"id__lte","schema":{"type":"integer"}},{"description":"Limits the number of results returned in the response.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"Query parameter `page` used to filter results based on specific conditions.","in":"query","name":"page","required":false,"schema":{"type":"integer"}},{"description":"Query parameter `primary` used to filter results based on specific conditions.","in":"query","name":"primary","schema":{"type":"boolean"}},{"description":"Query parameter `sort` used to filter results based on specific conditions.","in":"query","name":"sort","required":false,"schema":{"type":"string"}},{"description":"Query parameter `user` used to filter results based on specific conditions.","in":"query","name":"user","schema":{"type":"integer"}},{"description":"Query parameter `verified` used to filter results based on specific conditions.","in":"query","name":"verified","schema":{"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedEmailAddressList"}}},"description":"Successful response for status code 200."}},"tags":["account"]}}}}
```

## GET /account/email-addresses/{id}/

> This method is used to retrieve information about the email addresses associated with user accounts. Each email address entry provides essential details about the email address, such as its verification status, whether it is the primary email for the user, and the associated user ID. This endpoint retrieves a specific record by its unique identifier.

```json
{"openapi":"3.0.3","info":{"title":"Data Warehouse","version":"1.0.0"},"servers":[{"description":"Server base URL with dynamic channel_id.","url":"https://{omnitron_url}/api/v1/remote/{channel_id}/data-warehouse","variables":{"channel_id":{"default":"1","description":"Unique identifier for the sales channel."},"omnitron_url":{"default":"sandbox.akinon.com"}}},{"description":"Server base URL with Commerce URL.","url":"https://{commerce_url}/api/v1/data-warehouse","variables":{"commerce_url":{"default":"sandbox.commerce.akinon.com"}}}],"security":[{"tokenAuth":[]}],"components":{"securitySchemes":{"tokenAuth":{"description":"Token-based authentication with required prefix \"Token\"","in":"header","name":"Authorization","type":"apiKey"}},"schemas":{"EmailAddress":{"properties":{"email":{"description":"Email address of the user or entity.","format":"email","maxLength":254,"title":"E-mail address","type":"string"},"id":{"description":"Unique identifier for the record.","type":"integer"},"primary":{"description":"This field defines whether the address is the default among the user's addresses.","type":"boolean"},"user":{"description":"This field defines the user who triggered the event.","type":"integer"},"verified":{"description":"This field defines whether the email address has been verified.","type":"boolean"}},"type":"object"}}},"paths":{"/account/email-addresses/{id}/":{"get":{"description":"This method is used to retrieve information about the email addresses associated with user accounts. Each email address entry provides essential details about the email address, such as its verification status, whether it is the primary email for the user, and the associated user ID. This endpoint retrieves a specific record by its unique identifier.","operationId":"account_email_addresses_retrieve","parameters":[{"description":"A unique integer value identifying this e-posta adresi.","in":"path","name":"id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailAddress"}}},"description":"Successful response for status code 200."},"404":{"content":{"application/json":{}},"description":"Object not found."}},"tags":["account"]}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://apidocs.akinon.com/commerce-openapis/data-warehouse/account.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
