Change article number (id)

Hi,

Is it possible to change the article number (id) of a variant? Back office or API (VariantService)?

Litium version: 7

It should be possible with the API.

But how? The Id property is “protected internal set”.

You are right only way seems to be altering the DB.

Keep in mind article number has some relations to other objects such as order rows, so to be on the safe side always delete and recreate.