> ## Documentation Index
> Fetch the complete documentation index at: https://perfgrid.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# List change options

> The packages, billing cycles, addons and options the service can
change to, and the earliest end of term for a cancellation
(`end_of_term`). Needs `services.view`.



## OpenAPI

````yaml /api-reference/console/openapi.json get /services/{service}/change-options
openapi: 3.1.2
info:
  title: PerfGrid API
  version: 1.0.0
  description: >-
    The PerfGrid customer API. A member creates a token for one billing account
    under *API tokens* in the panel; it can do what both the token's permissions
    and the member's own permissions allow, the same as the panel.


    Send it as `Authorization: Bearer pgapi_...`. Each token may make 120
    requests a minute, of which 30 change something; a `429` response says when
    to try again (`Retry-After`). Ids are the ULIDs the API returns; amounts are
    decimal strings next to their currency; lists are newest first and paged
    with `cursor` (`meta.next_cursor`). Messages are in English, or Danish with
    `Accept-Language: da`.


    The same tokens work with the MCP server at `/mcp` for AI assistants.
servers:
  - url: https://console.perfgrid.com/api/v1
security:
  - http: []
tags:
  - name: Account
  - name: Invoices
  - name: Services
  - name: Domains
  - name: Support
paths:
  /services/{service}/change-options:
    get:
      tags:
        - Services
      summary: List change options
      description: |-
        The packages, billing cycles, addons and options the service can
        change to, and the earliest end of term for a cancellation
        (`end_of_term`). Needs `services.view`.
      operationId: v1.services.change-options
      parameters:
        - name: service
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      packages:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            name:
                              type: string
                          required:
                            - id
                            - name
                      cycles:
                        type: array
                        items: {}
                      addons:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            name:
                              type: string
                            allows_quantity:
                              type: boolean
                          required:
                            - id
                            - name
                            - allows_quantity
                      options:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            name:
                              type: string
                            type:
                              type: string
                              enum:
                                - select
                                - quantity
                                - yes_no
                            min_quantity:
                              type: integer
                            max_quantity:
                              type:
                                - integer
                                - 'null'
                            values:
                              type: array
                              items:
                                type: object
                                properties:
                                  id:
                                    type: string
                                  name:
                                    type: string
                                required:
                                  - id
                                  - name
                          required:
                            - id
                            - name
                            - type
                            - min_quantity
                            - max_quantity
                            - values
                      end_of_term:
                        type:
                          - string
                          - 'null'
                    required:
                      - packages
                      - cycles
                      - addons
                      - options
                      - end_of_term
                required:
                  - data
        '403':
          $ref: '#/components/responses/AuthorizationException'
components:
  responses:
    AuthorizationException:
      description: Authorization error
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Error overview.
            required:
              - message
  securitySchemes:
    http:
      type: http
      description: >-
        An API token from *API tokens* in the console, sent as `Authorization:
        Bearer pgapi_...`. It works for one billing account, and its permissions
        decide which endpoints it may call.
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.