> For the complete documentation index, see [llms.txt](https://docs.50skills.app/journeys/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.50skills.app/journeys/api-reference/company-lists/create-company-list-1.md).

# Update company list

{% openapi src="/files/HceBJd5Oa9ix2AdHFpf4" path="v1/company/lists/{short\_id}/" method="patch" expanded="true" %}
[50skills Journeys API 2.yaml](https://2745779787-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3Mz58ywsyckDBxRQPsJf%2Fuploads%2Fgit-blob-e4fb17c5b0e22e04724315d184ccee298927525d%2F50skills%20Journeys%20API%202.yaml?alt=media)
{% endopenapi %}

#### Request samples

{% tabs %}
{% tab title="Application/JSON" %}
{% code overflow="wrap" %}

```json
{
   "name":"Issue types - updated",
   "source":"Jira",
   "options":[
      {
         "value":"10003",
         "label":"Service request new"
      },
      {
         "value":"10000",
         "label":"Epic new"
      },
      {
         "value":"10007",
         "label":"System problem new"
      }
   ]
}
```

{% endcode %}
{% endtab %}

{% tab title="Python" %}

```python
import requests
response = requests.patch(
    "https://journeys-api.50skills.app/v1/company/lists/{short_id}/",
    json={
        "name": "Issue types - updated",
        "source": "Jira",
        "options": [
            {
                "value":"10003",
                "label":"Service request new"
            },
            {
                 "value":"10000",
                 "label":"Epic n ew"
            },
            {
                 "value":"10007",
                 "label":"System problem new"
            }
        ],
    }
)
print(response.json())               
```

{% endtab %}
{% endtabs %}

#### Response samples

{% tabs %}
{% tab title="200" %}
{% code overflow="wrap" %}

```json
{
   "id":"AOse1MyX",
   "shortId":"AOse1MyX",
   "name":"Issue types - updated",
   "source":"Jira",
   "options":[
      {
         "shortId":"mrzWmkKj",
         "value":"10003",
         "label":"Service request new",
         "order":0
      },
      {
         "shortId":"MzKmA3K8",
         "value":"10000",
         "label":"Epic new",
         "order":1
      },
      {
         "shortId":"wMyvRayZ",
         "value":"10007",
         "label":"System problem new",
         "order":2
      }
   ],
   "numOptions":3
}
```

{% endcode %}
{% endtab %}
{% endtabs %}
