Retrieve potential offers to present to customers considering canceling their web hosting services, often due to cost concerns. The goal is to incentivize the customer to stay.
accountId integer · min: 1 required Example Unique account identifier
reason string · enum required Found a better alternative Moving to different provider No longer needed Too expensive Accept Example Content-Type Example success boolean timestamp string requestId string data object error string message string code string timestamp string requestId string https://cloud.hostup.se/api/hosting/{accountId}/save-offers curl -X GET "https://cloud.hostup.se/api/hosting/17457/save-offers?reason=Found%20a%20better%20alternative" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"reason": "string",
"originalReason": "string",
"offers": [
{
"type": "string",
"title": "string",
"titleSv": "string",
"description": "string",
"descriptionSv": "string",
"data": {
"totalAmount": 0,
"installmentAmount": 0,
"installments": 0,
"pendingInvoiceId": "string"
}
}
],
"accountDetails": {
"domain": "string",
"productName": "string",
"billingCycle": "string",
"billingCycleKey": "string",
"total": 0
}
}
}