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}