> For the complete documentation index, see [llms.txt](https://docs.fieldmotion.com/fieldmotion-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fieldmotion.com/fieldmotion-api-docs/stock/_getlocationtags.md).

# \_getLocationTags

Get the Location Tags for a Stock entry

### Parameters

#### id

The id of the Stock entry

#### location\_tags

The tags that a Stock entry are assigned to

### Example

```
FM_api('Stock_getLocationTags',
        [
                'id'=>'427414',
                'val'=>["test","tes2"]
        ]
);
```

### Result

#### On Success

With the two tags: 'test' and 'tes2'

```
"test\ntes2"
```
