Skip to content

List web hosting storage add-ons

GET /api/v2/products/shared-hosting/storage-addons

List the extra SSD storage you can buy for a web hosting account, with yearly prices. It needs no API key. Buy one for an existing account with POST /api/v2/shared-hosting/{accountId}/addons/storage. Send the add-on’s id as addonId there.

Authentication: None. Anyone can call it.

Example

GET /api/v2/products/shared-hosting/storage-addons
curl "https://cloud.hostup.se/api/v2/products/shared-hosting/storage-addons"

Responses

200 Storage add-ons you can buy.

Response 200
{
"data": [
{
"id": "7",
"sizeGb": 25,
"price": 249,
"currencyCode": "SEK",
"billingCycle": "a"
},
{
"id": "21",
"sizeGb": 50,
"price": 449,
"currencyCode": "SEK",
"billingCycle": "a"
}
]
}
Response fields
dataarray of object
idstring
The add-on ID. Send it as addonId when you buy the add-on.
sizeGbinteger
Extra SSD storage in GB.
pricenumber
Price per year in currencyCode.
currencyCodestring
ISO 4217 currency code.
billingCyclestring
Always a: billed yearly. The add-on renews with the hosting plan. One of a.

Errors

Errors are Problem Details with a stable code. Branch on the code, not on the text.

400Invalid request. The response body is an RFC 7807 Problem Details document.
404Not found. The resource does not exist or is not owned by the caller.
429Rate limited. Retry after the limit resets. 429 responses include Retry-After seconds plus X-RateLimit-* headers.
500Internal error. Retry later or contact support if the issue persists.
502upstream_shared_hosting_storage_addons_unavailable: prices could not be loaded. Retry later.