Skip to main content
This action changes the domain registered on a software order.

Method / Endpoint

POST {{API_URL}}/order/transaction
For Hostrox, the full URL is:
POST https://client.hostrox.net/api/reseller/order/transaction

Request parameters

NameRequiredDescription
keyYesAPI Key
idYesOrder ID number
actionYesThe transaction to perform: change-domain
domainYesThe new domain to assign. Example: example.com

Example cURL request

curl --location 'https://client.hostrox.net/api/reseller/order/transaction' \
  --header 'Content-Type: application/json' \
  --data '{
    "key": "UzZBSlBWeWk0UEcrVWxlU0RjS1B1dz09",
    "id": 2,
    "action": "change-domain",
    "domain": "newexample.com"
  }'

Example JSON response

{
  "status": "successful"
}