Correct variants API to use product permalink rather than ID