Method: KlaviyoAPI::AccountsApi#get_account

Defined in:
lib/klaviyo-api-sdk/api/accounts_api.rb

#get_account(id, opts = {}) ⇒ Hash<String, Object>

Get Account Retrieve a single account object by its account ID. You can only request the account by which the private API key was generated.
*Rate limits*:
Burst: ‘1/s`
Steady: `15/m` Scopes: `accounts:read`

Parameters:

  • id (String)

    The ID of the account

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

Returns:

  • (Hash<String, Object>)


27
28
29
30
# File 'lib/klaviyo-api-sdk/api/accounts_api.rb', line 27

def (id, opts = {})
  data, _status_code, _headers = (id, opts)
  data
end