Partner Account Methods

partner.account.create()

Creates a new Memset account which will be associated with the calling partner.

Parameters:
  • user_email (String) – Email address of the end user. Must be a valid email address.
  • user_title (String) –

    Title of the end user. Acceptable values

    ‘Mr’
    Mr
    ‘Mrs’
    Mrs
    ‘Ms’
    Ms
    ‘Miss’
    Miss
    ‘Dr’
    Dr
    ‘Rev’
    Rev
  • user_forename (String) – Forename of the end user. Ensure this value has at most 50 characters.
  • user_surname (String) – Surname of the end user. Ensure this value has at most 50 characters.
  • user_company (String, Optional) – Company of the end user. Ensure this value has at most 200 characters.
  • user_phone (String) – Phone number of the end user. Ensure this value has at most 50 characters.
  • user_address (String) – Address of end user. Ensure this value has at most 250 characters.
  • user_town (String) – Town of end user. Ensure this value has at most 100 characters.
  • user_statecounty (String) – State/county of end user. Ensure this value has at most 100 characters.
  • user_country (String) – ISO 3166-1 alpha-2 code for the country of the end user. Ensure this value has at most 2 characters.
  • user_postcode (String) – Postal code for the address of the end user. Ensure this value has at most 20 characters.
  • account_currency (String, Optional) –

    Currency to use for billing on the new account, defaults to ‘GBP’. Acceptable values

    ‘GBP’
    GBP
    ‘EUR’
    EUR
    ‘USD’
    USD
Returns:

A dictionary with the following keys

account

the name of the account generated

api_key

information about a key used to manage the account, same format as apikey.info()

partner.account.list()

Returns a list of account names which are associated with the calling partner.

Returns:A list of strings which are the names of accounts associated with the calling partner.

Previous topic

Openstack User Methods

Next topic

Partner Apikey Methods

This Page