# \_setIsArchived

Set the Archive status of a Stock item

### Parameters

#### id

Integer ID for the stock item.

#### is\_archived

Integer. 0 means that Stock item is not archived. Any other value means it is.

### Example

```
FM_api('Stock_setIsArchived',
	[
		'id'=>'7',
		'is_archived'=>'1'
	]
);
```

### Result

```
{"ok":1}
```
