Exam4Training

What consideration should the developer in keep in mind to ensure that image data is returned correctly as part of search suggestions?

A developer plans to use the /search_suggestion (Shop API) in a Storefront application and the following property must be set to do so suggestion.product.image:view_type

What consideration should the developer in keep in mind to ensure that image data is returned correctly as part of search suggestions?
A . If the view_type is not set or if the view_type is unknown, the image properties are not part of the response.
B. If the view_type is not set or if the view_type is unknown, the image size of ‘small’ is used by default
C. If the view_type is not set or if the view_type is unknown, the image size of ‘large’ is used by default

Answer: A

Exit mobile version