Account

Ask for a product line

POST
/v1/account/product-requests

Asks for a product line (numbers, domains or licences) to be switched on for this account. Product lines are turned on by the platform; this records the ask, with when it was made, for the team to act on. Asking again keeps the first date. Refused with product_already_on for a line the account can already order.

Authorization

apiKey
headerAuthorizationBearer <token>

An API key from the Developers page. rhq_test_ keys reach the sandbox, rhq_live_ keys the live side.

Request Body

application/json
  1. body
product*string
Value in"domains""numbers""licences"

Response Body

Success

application/json
  1. response

Success

product*string
Value in"domains""numbers""licences"
requestedAt*string
Formatdate-time
curl -X POST "https://example.com/v1/account/product-requests" \  -H "Content-Type: application/json" \  -d '{    "product": "domains"  }'
{  "product": "domains",  "requestedAt": "2019-08-24T14:15:22Z"}