Services API

get specific entry

GET /api/rest/admin/services/:id

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIzMiwiYXVkIjpbImFkbWluIl0sImV4cCI6MTc3MjIxMjAxMH0.7dHvM8upQdNN3HMLIFcWVQy6Twb-ghnK5rg8wVU2ypw
Host: example.org
Cookie: 

Route

GET /api/rest/admin/services/9

Response

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/vnd.api+json
vary: Accept
etag: W/"0b00b31fbffb18b472c03882cf634115"
cache-control: max-age=0, private, must-revalidate
x-request-id: ac961da9-ac32-469c-83b6-3b5653fc2fcd
x-runtime: 0.006341
content-length: 1113

Status

200 OK

Body

{
  "data": {
    "id": "9",
    "type": "services",
    "links": {
      "self": "http://example.org/api/rest/admin/services/9"
    },
    "attributes": {
      "name": "Service_9",
      "variables": {
        "baz": 123
      },
      "state": "Active",
      "initial-price": "83.16",
      "renew-price": "97.0",
      "created-at": "2026-02-27T09:30:50.814Z",
      "renew-at": null,
      "renew-period": "Disabled",
      "uuid": "f2a77660-7665-4e45-bdd4-bddd3e659d85"
    },
    "relationships": {
      "account": {
        "links": {
          "self": "http://example.org/api/rest/admin/services/9/relationships/account",
          "related": "http://example.org/api/rest/admin/services/9/account"
        },
        "data": {
          "type": "accounts",
          "id": "91"
        }
      },
      "service-type": {
        "links": {
          "self": "http://example.org/api/rest/admin/services/9/relationships/service-type",
          "related": "http://example.org/api/rest/admin/services/9/service-type"
        }
      },
      "transactions": {
        "links": {
          "self": "http://example.org/api/rest/admin/services/9/relationships/transactions",
          "related": "http://example.org/api/rest/admin/services/9/transactions"
        }
      },
      "package-counters": {
        "links": {
          "self": "http://example.org/api/rest/admin/services/9/relationships/package-counters",
          "related": "http://example.org/api/rest/admin/services/9/package-counters"
        }
      }
    }
  }
}