PUT account-upgrade-product-key

PUT Upgrades a basic account to a premium account by presenting a valid product key.

Resource URL



Field Type Description

A valid Drillster product key.

Example: 3QE12-HJE8C-17AUW-8NZ3G-XLU3J

If a PUT request has no body (i.e. the body is empty), it is still mandatory to include a Content-Length header (i.e. Content-Length: 0). Not all HTTP clients do this automatically. For more information, please see RFC 2616.


A 2.0 User object, with evidence of the upgrade.

Error responses

The following error situations are possible:

ID Response code Description
missing_product_key 400 (Bad request) No product key supplied
unknown_product_key 404 (Not found) Given product key could not be found
invalid_product_key 400 (Bad request) Given product key is not valid
already_premium 400 (Bad request) The account is already a premium account
organization_user 400 (Bad request) The account is part of an organization
unable_to_upgrade 500 (Internal error) Unable to upgrade the account to a premium account