Account
The account endpoint is used to perform specific functions for users. Please
be aware that an appropriate OAuth token and OAuth secret parameter is
necessary to make the following requests.
Register
The Register Action allows you to register a new user on beatport.com.
Only POST actions are supported.
Returns any problems with the account (in use, bad email or password, etc)
or upon success, returns the personId and confirmEmailToken.
- Required Parameters:
- emailAddress (string): The email address of the account owner.
- firstName (string): The first name of the account owner’s real name.
- lastName (string): The last name of the account owner’s real name.
- password (string): The password associated with this user. Must be 8 characters in length, contain at least 1 character, contain at least 1 number
- username (string): The account name to create for this user
- Optional Parameters:
- none
- Example:
- POST /identity/1/account/register
emailAddress=loodwig@beatport.com&firstName=Joe&lastName=Rouse&password=1234five&username=loodwig
Reset
The Reset Action allows you to reset the password for a user. This will not
actually reset the users password, merely send an email to a registered
account to allow them to reset a password.
- Required Parameters:
- email (string): The valid email address to send an account reset to.
- Optional Parameters:
- sourceType (string): The source of the calling application. This string is an internal identifier for beaport.
- referer (string): The url to forward the user to after he has successfully changed his password.
- Example:
- POST /identity/1/account/reset
email=loodwig@beatport.com
referer=http://www.beatport.com