# set_parcel_info

Updates parcel details (deprecated, see parcel_info_update)

```snippet http-api-variables-OmJyUigTgO
```

```snippet http-api-input-basic-parameters-5FcVlaJbq0 action="set_parcel_info"
```

```snippet http-api-input-q5yvAagqsZ
x     | optional | the X coordinate of the parcel (default - bot position)
y     | optional | the Y coordinate of the parcel (default - bot position)
entry | yes      | the parcel entry to update (see the list below)
value | yes      | the value to set
```

```snippet http-api-output-JAwUcmg7i7
```

# Available parcel entries

It is possible to update the following parcel entries. Set `entry` to:

* `name` – set the name of parcel
  * `value` parameter: the new parcel name
* `description` – set the parcel description
  * `value` parameter: the new parcel description
* `music_url` – set the parcel music URL
  * `value` parameter: the new music URL
* `for_sale` – make the parcel available for sale
  * `value` parameter format: `on|off price`
    * `on` – set parcel for sale
    * `off` – don't sell parcel
    * `price` – the parcel price (required but ignored for "don't sell")

# Permissions

Your bot has to own the parcel, or have some of the permissions:

* Parcel identity > "Change parcel name, description, and 'Moderate Content' setting"
* Parcel settings > "Change music & media settings"
* Parcel Management > "Set land for sale info"

# Return values

The command returns:

```
result=OK
```

if parcel update succeed.