---
title: "GET /offers/{offer_id}/switches/{switch_id}"
method: GET
path: "/offers/{offer_id}/switches/{switch_id}"
tags: ["Offers"]
---

# GET /offers/{offer_id}/switches/{switch_id}

`GET /offers/{offer_id}/switches/{switch_id}`

## Path parameters

- `offer_id` string, required
- `switch_id` string, required

## Response `200`

- OffersSwitchDetail
  - `id` string
  - `type` 'upgrade' | 'downgrade' | 'eos' | 'change' | 'trial'
  - `from` OffersPlan
    - `id` string
    - `name` string, required
  - `to` OffersPlan
    - `id` string
    - `name` string, required
  - `preset` OffersPreset
    - `id` string
    - `name` string, required
  - `events` object
    - `created` object
      - `at` string, datetime
      - `by` object
        - `id` string
        - `name` string
        - `icon` string
    - `updated` object
      - `at` string, datetime
      - `by` object
        - `id` string
        - `name` string
        - `icon` string
    - `saleended` object
      - `at` string, datetime
      - `by` object
        - `id` string
        - `name` string
        - `icon` string
  - `status` 'active' | 'endofsale', nullable
  - `end_of_sale_notes` string, nullable
  - `items` string

## Other responses

- `400`

---

[API](https://skmtc.net/cloudblue/apis/cloudblue-connect-api.md) · [All operations](https://skmtc.net/cloudblue/apis/cloudblue-connect-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cloudblue/cloudblue-connect-api/versions/54fef191d46c/schema)
