# Release | Update release details

You need GUIBO's internal unique identifier of the release to update it. It is the parameter "link" when fetching the release details:

{% content-ref url="release-or-read-release-details" %}
[release-or-read-release-details](https://docs.guibo.travel/developers/releases-api/release-or-read-release-details)
{% endcontent-ref %}

### a) Update the number of devices

<mark style="color:purple;">`PATCH`</mark> `https://services.schneidergeo.com/content/release/{account}/{release}/devices/{devices}Change numer of devices`

Change the number of devices the guidebook can be downloaded  to.

#### Path Parameters

| Name                                      | Type   | Description                                                                               |
| ----------------------------------------- | ------ | ----------------------------------------------------------------------------------------- |
| account<mark style="color:red;">\*</mark> | String | Your account ID, you can find this under Account Settings > General Settings > Account ID |
| release<mark style="color:red;">\*</mark> | String | Unique identifier of the release                                                          |
| devices<mark style="color:red;">\*</mark> | String | The number of devices or users                                                            |

{% tabs %}
{% tab title="200: OK " %}

```javascript
{
    // Response
}
```

{% endtab %}
{% endtabs %}

### b) Update the release period

<mark style="color:purple;">`PATCH`</mark> `https://services.schneidergeo.com/content/release/{account}/{release}/period`&#x20;

Change start-  and enddate for the release period. During this period the App can be downloaded, the Booklet is accessable and the GPX files.

#### Path Parameters

| Name                                      | Type   | Description                                                                               |
| ----------------------------------------- | ------ | ----------------------------------------------------------------------------------------- |
| account<mark style="color:red;">\*</mark> | String | Your account ID, you can find this under Account Settings > General Settings > Account ID |
| release<mark style="color:red;">\*</mark> | String | Unique identifier of the release                                                          |

#### Request body

```json
{
    "start":"2024-05-01",
    "end":"2024-05-02"
}
```

{% tabs %}
{% tab title="200: OK " %}

```javascript
{
    // Response
}
```

{% endtab %}
{% endtabs %}

### c) Update arrival and departure dates

<mark style="color:purple;">`PATCH`</mark> `https://services.schneidergeo.com/content/release/{account}/{release}/tripperiod`

Change arrival and departure date of the trip. This helps the App to provide the relevant content on each day

#### Path Parameters

| Name                                      | Type   | Description                                                                               |
| ----------------------------------------- | ------ | ----------------------------------------------------------------------------------------- |
| account<mark style="color:red;">\*</mark> | String | Your account ID, you can find this under Account Settings > General Settings > Account ID |
| release<mark style="color:red;">\*</mark> | String | Unique identifier of the release                                                          |

#### Request Body

```json
{
    "start":"2024-05-01",
    "end":"2024-05-02"
}
```

{% tabs %}
{% tab title="200: OK " %}

```javascript
{
    // Response
}
```

{% endtab %}
{% endtabs %}

### d) Update Accommodation

<mark style="color:purple;">`PUT`</mark> `https://services.schneidergeo.com/content/release/{account}/{release}/accommodation`&#x20;

Replace all accommodations in a release

**Path Parameters**

| Name                                      | Type   | Description                                                                               |
| ----------------------------------------- | ------ | ----------------------------------------------------------------------------------------- |
| account<mark style="color:red;">\*</mark> | String | Your account ID, you can find this under Account Settings > General Settings > Account ID |
| release<mark style="color:red;">\*</mark> | String | Unique identifier of the release                                                          |

#### Request Body

```
{ "assets":
    [
        {
            "externalId": "AT04_HotelDonauzentrum",
            "libraryExternalId": "TO-POI",
            "category":"catxyz"
        }
       
    ]
}
```

###

### e) Update Language

<mark style="color:purple;">`PATCH`</mark> `https://services.schneidergeo.com/content/release/{account}/{release}/lang/{language}`&#x20;

Update language for release

| Name                                      | Type   | Description                                                                               |
| ----------------------------------------- | ------ | ----------------------------------------------------------------------------------------- |
| account<mark style="color:red;">\*</mark> | String | Your account ID, you can find this under Account Settings > General Settings > Account ID |
| release<mark style="color:red;">\*</mark> | String | Unique identifier of the release                                                          |
| language                                  | String | two characters for the language                                                           |
