Change a trade and the download replaces that villager's trades. You can edit several villagers before downloading.
Loading the vanilla trades...
Every profession starts from the trade table Bedrock 1.26.52 ships, so the editor opens on exactly what a villager in your world offers today. A few of those tables come in Mojang's compiled format rather than JSON; they were decoded and checked against Mojang's own published copies before going in here.
The download is a behavior pack holding the edited tables at the same paths as the vanilla ones, which is how Bedrock lets a pack replace them. Every table the editor can write, all 14 vanilla ones plus edited copies, was loaded on a Bedrock Dedicated Server without a content error, and a deliberately broken one was reported straight away, which shows the server reads the replacement. Items are checked against the game's item list as you type, because Bedrock only complains about an unknown item once a villager tries to offer it.
A villager starts at Novice and needs the villager XP shown at each level to move up: 10 for Apprentice, 70 for Journeyman, 150 for Expert and 250 for Master on vanilla tables. Each trade adds its villager XP when the player uses it, so lowering the levels or raising the XP makes villagers level up faster. Player XP is the orbs the player gets for trading. For Bedrock trades as they are now, with notes on where they differ from Java, see the villager trades list.
Open the .mcaddon to import it, then turn its behavior pack on in your world's settings. Villagers that take the edited job from then on use your trades. A villager that already has its trades keeps them, because the vanilla villager saves its trades once they're made, so try the new ones on a villager that hasn't taken the job yet.
It's the price_multiplier on the first item the player pays: how strongly the price climbs when players use the trade a lot. 138 vanilla trades use 0.05 and 45 use 0.2, mostly the pricier enchanted books, tools and armor. Set it to 0 for a price that never climbs.
Each level is split into groups, and a villager picks the number of trades a group says from that group's list at random. A vanilla Novice librarian picks 1 of the 2 trades in its second group, bookshelves or an enchanted book, which is why two librarians can sell different things. Raise the count to give every villager all of them.
Yes. Pick Wandering Trader from the list. It has no levels, just three groups, and each wandering trader that spawns picks 2 trades from the first group, 2 from the second and 5 from the third.
They keep the vanilla settings that make them random, like which enchantment a book gets and what it costs, and you can still change what the player pays, the uses and the XP. Trades that offer a choice of items are kept as they are.