Hosting: Orders
List orders
Retrieve a paginated list of orders accessible to the authenticated client.
This endpoint returns orders of your hosting accounts as well as orders of other client hosting accounts that have shared access with you.
Use the available query parameters to filter results by order statuses or specific order IDs for more targeted results.
get/api/hosting/v1/orders
Query parameters
pageinteger
Example:1
Page number
per_pageinteger
Example:25
Number of items per page
statusesstring[] nullable
Filter by order statuses
[ "active", "suspended" ]
order_idsinteger[] nullable
Filter by specific order IDs
[ 12345, 67890 ]
Response
Success response
Example response
{
"data": [
{
"id": 12345,
"client_id": 67890,
"subscription_id": "sub_abc123",
"created_at": "2023-10-08T12:00:00+00:00",
"plan": {
"name": "hostinger_business"
},
"status": "active"
}
],
"meta": {
"current_page": 1,
"per_page": 15,
"total": 100
}
}