GET /user/services/{service_id}/configoptions/{service_configoption_id}

Retrieve a single configuration option for a specific service.

Request

  • Base URL
    https://developers.whmcs.com/api/v2
  • Auth
    none declared

Path parameters

service_idinteger required
Example:789

Service ID

service_configoption_idinteger required
Example:89

Service Configuration Option ID

Response

A configuration option of a specific service.

Example response

{
  "data": {
    "id": 456,
    "config_option": {
      "id": 12,
      "name": "Config Option Name",
      "type": "dropdown"
    },
    "service": {
      "id": 123
    },
    "option": {
      "name": "Config Option Name",
      "value": true
    },
    "billing": {
      "price": {
        "first_payment": {
          "amount": {
            "value": "19.99",
            "code": "USD",
            "display_value": "$19.99 USD",
            "prefix": "$",
            "suffix": " USD"
          }
        },
        "recurring": {
          "amount": {
            "value": "19.99",
            "code": "USD",
            "display_value": "$19.99 USD",
            "prefix": "$",
            "suffix": " USD"
          }
        }
      }
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.