Importing customer specific price lists to Litium
This section explains how to import customer specific price lists to Litium from the ERP system.
To import prices to Litium through Litium Connect, use the following web-api endpoints.
/Litium/api/connect/erp/imports?api-version=2.0
Methods: POST
You can:
- Create and update price lists.
- Create and update price of variants.
- Link price lists imported to an organization in Litium. The price lists must be imported first and the priceListIds are included with Organization when importing organizations. If the pricelist is inactive it will be automatically activated when it is connected to at least one organisation, and deactivated if all organisation links are removed when importing.
- Create, update group of prices to Litium.
- Assign read permission Litium group to imported price lists. The price lists must be imported first and priceListIds are included with PriceGroup when importing group of prices to Litium. If the pricelist is inactive it will be automatically activated when it is connected to at least one price group, and deactivated if all price group links are removed when importing.
- Create, update group of prices to Litium.
- Allow customers who belongs to a specific price group to have access to exclusive price lists and have custom prices for products in those price lists. The priceGroupIds must be included with Person when importing persons.
Read more about batch import here.
Price list active/inactive rules:
This behavior should only apply to pricelists that are created or updated in an import through Connect ERP.
Price lists connected to organizations :
-
System will set Active=true on price lists that are connected to at least one imported organisation when importing organisations.
-
System will set Active=false on price lists where all organisations are removed from the price list when importing organisations.
Price lists connected to price groups :
-
System will remove all connected groups from the price lists if Active=false when connecting group to the price list when importing groups.
-
System will set Active=true on price lists where at least one imported group are given read permission when importing groups.
-
System will set Active=false on price lists where all groups are removed from the price list when importing groups.