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.eyJzdWIiOjIzOCwiYXVkIjpbImFkbWluIl0sImV4cCI6MTc4MTI3OTQwNH0.6Is5n3uKz1nojwR0IGE_bLJV4hMHyFhIFCjIuFeIp10
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/"3795191f3ce6449ee8b7964f47ca053b"
cache-control: max-age=0, private, must-revalidate
x-request-id: c0089cfe-8e63-447a-ac95-8be433955df1
x-runtime: 0.006260
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": "4.17",
      "renew-price": "64.58",
      "created-at": "2026-06-12T09:02:04.666Z",
      "renew-at": null,
      "renew-period": "Disabled",
      "uuid": "0e4f1153-a713-45c6-b397-1c0a06394967"
    },
    "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"
        }
      }
    }
  }
}