Import pricelist with permission property

Is it possible to include a list of groups for permission access when importing a pricelist with Litium.Connect.Erp 2.1?

Resource: /Litium/api/connect/erp/imports

{
   "priceList": [
        {
            "id": "TestCompanyPrices",
            "active": true,
            "name": "TestCompanyPrices",
            "currency": "SEK",
            "priority": 0,
            "includeVat": false,
            "permission": ["B2B_users"] // <= List of groups that should have access
        }
    ]
}

Litium version: 8.15.0

No, it’s not possible.

On the pricelist you will not have any property like that

Instead you need to assign the price list identifiers on the organization to connect them together

Permissions on the price list will be taken from the default permissions for price lists, this is set in the settings / products / product settings and the tab for price lists.

Thank you @patric.forsgard . The default permissions will solve this issue.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.