There is also an argument for your original version with just the ID regarding unchanging URL's.
The Amazon URL that includes the title should be fairly stable, but if you look at e.g. a Discourse forum URL you see it contains the topic title, which can change at any time and then the URL changes with it. The old URL still works, because Discourse redirects, but this can't be taken for granted.
So Discourse then has these URL's referring to the same topic:
- https://forum.example.com/t/my-title/12345
- https://forum.example.com/t/my-new-title/12345
- https://forum.example.com/t/12345
And using the last version may be best to use when linking to the topic from somewhere else.