DepictProvider, you should also encounter a type error due to this. This happens because the Depict backend omits the page_url for performance reasons. We need to add it back in. If you need to add additional data to the product data you can also do so in this step. The advantage of doing it in the DisplayTransformers compared to the productCard is that the former is only ran once per server response, making it more suitable for making other API requests.
Each transformer function receives a single options object. Besides the data to transform (displays for products, data for categories and contentResults), the options always contain exactly merchant, market, and locale — all plain strings.
Adding page urls
ProvideDisplayTransformers to your DepictProvider like in the example below:
For more in-depth information and examples, check out the reference

