--- title: Authenticated Account description: >- The API for interacting with an account in which the customer is fully authenticated. api_version: 2025-04 api_name: customer-account-ui-extensions source_url: html: >- https://shopify.dev/docs/api/customer-account-ui-extensions/2025-04/apis/authenticated-account md: >- https://shopify.dev/docs/api/customer-account-ui-extensions/2025-04/apis/authenticated-account.md --- # Authenticated Account The API for interacting with an account in which the customer is fully authenticated. ## StandardApi The base API object provided to this and other `customer-account` extension targets. * **authenticatedAccount** **AuthenticatedAccount** **required** Information about the authenticated account. ### AuthenticatedAccount * customer Provides the customer information of the authenticated customer. ```ts StatefulRemoteSubscribable ``` * purchasingCompany Provides the company info of the authenticated business customer. If the customer is not authenticated or is not a business customer, this value is \`undefined\`. ```ts StatefulRemoteSubscribable ``` ### Customer Information about the authenticated customer. {% include /apps/checkout/privacy-icon.md %} Requires access to \[protected customer data]\(/docs/apps/store/data-protection/protected-customer-data). * id Customer ID. ```ts string ``` ### PurchasingCompany * company Include information of the company of the logged in business customer. ```ts Company ``` ### Company * id Company ID. ```ts string ``` ## use​Authenticated​Account​Customer() Returns the current authenticated `Customer`. The value is `undefined` if the customer isn't authenticated. ### Returns * **Customer | undefined** ### Customer Information about the authenticated customer. {% include /apps/checkout/privacy-icon.md %} Requires access to \[protected customer data]\(/docs/apps/store/data-protection/protected-customer-data). * id Customer ID. ```ts string ``` ## use​Authenticated​Account​Purchasing​Company() Provides information about the company of the authenticated business customer. The value is `undefined` if a business customer isn't authenticated. ### Returns * **PurchasingCompany | undefined** ### PurchasingCompany * company Include information of the company of the logged in business customer. ```ts Company ``` ### Company * id Company ID. ```ts string ```