Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Exam B2C Commerce Developer Topic 15 Question 51 Discussion

Actual exam question for Salesforce's B2C Commerce Developer exam
Question #: 51
Topic #: 15
[All B2C Commerce Developer Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Nan
2 days ago
Hmm, the key point here seems to be that the view_type needs to be set correctly to ensure the image data is returned. I think option A is the right answer, as it clearly states that the image properties won't be part of the response if the view_type is not set or is unknown.
upvoted 0 times
...
Viola
9 days ago
That's a good point, Miles. Having a default size for the image would ensure consistency in the search suggestions. I see your rationale now.
upvoted 0 times
...
Miles
10 days ago
I disagree, I believe the answer is B) If the view_type is not set or if the view_type is unknown, the image size of 'small' is used by default. It makes more sense to have a default size.
upvoted 0 times
...
Viola
11 days ago
I think the correct answer is A) If the view_type is not set or if the view_type is unknown, the image properties are not part of the response.
upvoted 0 times
...
Shayne
13 days ago
Hmm, that's an interesting point. I can see why that could be a valid answer as well.
upvoted 0 times
...
Cammy
18 days ago
I disagree, I believe the answer is B) If the view_type is not set or if the view_type is unknown, the image size of 'small' is used by default.
upvoted 0 times
...
Shayne
20 days ago
I think the correct answer is A) If the view_type is not set or if the view_type is unknown, the image properties are not part of the response.
upvoted 0 times
...

Save Cancel