About Account Details
The Account Details API provides functionality for managing your email marketing account information.
Use the API to get your current account details.
Was this helpful?
Yes
No
Setup
To use the AccountDetails API, install the @wix/email-marketing
package using npm or Yarn:
Copy
1npm install @wix/email-marketing
or
Copy
1yarn add @wix/email-marketing
Then import { accountDetails }
from @wix/email-marketing
:
Copy
1import { accountDetails } from '@wix/email-marketing'
Was this helpful?
Yes
No
getAccountDetails( )
Developer Preview
This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Retrieves email marketing account details.
Permission Scopes
For app development, you must have one of the following permission scopes:Learn more about permission scopes.
Copy
function getAccountDetails(): Promise<GetAccountDetailsResponse>
Request
This method does not take any parameters
Returns
Return Type:Promise<GetAccountDetailsResponse>
Was this helpful?
Yes
No