Content API provides the method POST /product-codes/upload that allows uploading product codes list. This is useful for Dashboard product codes deal and categorization for POS. Products can be categorized using up to three category levels.
Let's take the following example:
- Oranges:
- ProductCode:
123
- Level1Id:
FOOD
- Level2Id:
FRUIT
- Level3Id:
CITRUS
- ProductCode:
- Blackberries:
- ProductCode:
456
- Level1Id:
FOOD
- Level2Id:
FRUIT
- Level3Id:
BERRIES
- ProductCode:
- Chocolate chip cookies:
- ProductCode:
789
- Level1Id:
FOOD
- Level2Id:
SNACK
- Level3Id:
COOKIES
- ProductCode:
Full product codes will be formed in the following way:
- Oranges:
FOOD-FRUIT-CITRUS-123
- Blackberries:
FOOD-FRUIT-BERRIES-456
- Chocolate chip cookies:
FOOD-SNACK-COOKIES-789
Then, Dashboard will allow you to introduce expressions like the following examples by selecting the needed category:
- To include the whole
FOOD
category (includes the three products and every other one in the same category):FOOD-*
- To include the whole
FRUIT
sub-category (includes Oranges, Blackberries, and every other onein the same these two categories):FOOD-FRUIT-*
- To include the whole
CITRUS
sub-sub-category (includes Oranges and every other one in the same these three categories):FOOD-FRUIT-CITRUS-*
- To include just Chocolate chip cookies:
FOOD-SNACK-COOKIES-789