For the marinade, boil water with spices, salt, sugar and vinegar.
Add the sweet soy sauce to the marinade.
Pour the hot marinade over the onion and apples, add the cranberries. Leave it to cool completely and put it in the refrigerator for a day. Such onions are stored in the marinade in the refrigerator for about 2 weeks. A wonderful appetizer for grilled dishes or potatoes! Before serving, if desired, you can pour sunflower oil.