BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Adobe AD0-E716 Exam - Topic 4 Question 33 Discussion

Posted by Walker on Sep 13, 2024 at 07:51 PM

An integration named Marketing is created on the Adobe Commerce instance. The integration has access on Magento_Customer:: customer resources and the access token is xxxxxx.

How would the rest API be called to search the customers?

Get Premium AD0-E716 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
34 comments · newest first
RO
Romana 12 months ago
Totally agree with A, it's straightforward and clean!
SH
Shenika 1 year ago
Wait, do we really need an admin token for this? Sounds odd.
CA
Carmelina 1 year ago
C seems unnecessary since we already have the integration token.
MA
Maryln 1 year ago
I think B is a bit complicated for just searching customers.
TA
Tamra 1 year ago
Option A is the correct way to use the Bearer token!
FI
Fidelia 1 year ago
I recall a similar question where we had to use the Bearer token, so I'm leaning towards option A, but I’m not 100% confident.
DI
Dierdre 1 year ago
I feel like we discussed the admin token approach in option C, but it seems a bit more complex than just using the Bearer token.
FR
Francis 1 year ago
I'm not entirely sure, but I think using the integration name and access token as credentials in option B sounds familiar from our sessions.
HO
Hobert 1 year ago
I remember we practiced using the Bearer token for API calls, so I think option A might be correct.
GE
Georgiana 1 year ago
I'm leaning towards option C since it mentions using the admin token, which seems like the most secure way to access the customer data. I'll double-check the syntax, but I think this is the best solution.
CE
Cecil 1 year ago
Hmm, I'm a bit confused about the different token options here. I'll need to carefully read through the question again to make sure I understand the right approach.
SH
Shawnda 1 year ago
This looks straightforward. I think I'll go with option A and use the integration access token as the Bearer token.
GL
Glory 1 year ago
Option B seems like the most comprehensive approach, using both the integration name and access token to get the admin token, and then using that to make the API call. I'll make sure to follow those steps closely.
JI
Jin 2 years ago
Option E: Hire a hacker to breach the Magento server and manually edit the customer records. Who needs APIs when you've got mad skillz?
AN
Andra 2 years ago
Option C? Really? Why would I use an admin token when I have a perfectly good integration access token? Seems like overkill to me.
AR
Armando 2 years ago
↳ replying to Andra
Yeah, Option C does seem like overkill. Option A is definitely the better choice.
MY
Myra 2 years ago
↳ replying to Andra
I agree, Option A is the simplest and most straightforward method.
NI
Nieves 2 years ago
↳ replying to Andra
Option A is the way to go. Just use the integration access token as Bearer.
TH
Theola 2 years ago
I'll go with Option A. It's clean and doesn't involve any extra steps. Plus, the question specifically mentions the integration access token, so that's the way to go.
AN
Antione 2 years ago
↳ replying to Theola
User 3: Option A it is then, no need for extra steps when the solution is clear.
NG
Ngoc 2 years ago
↳ replying to Theola
Yeah, Option A is the simplest way to search for customers using the integration access token.
AL
Alease 2 years ago
↳ replying to Theola
I agree, Option A seems straightforward and direct.
CH
Chan 2 years ago
Hmm, I see your point. But I still think using the integration access token as Bearer is more straightforward.
SK
Skye 2 years ago
Option B seems a bit convoluted. Getting an admin token just to make the customer search API call seems unnecessary.
DE
Deane 2 years ago
↳ replying to Skye
I agree, option B does seem a bit complicated. Using the integration access token directly is much simpler.
GI
Gilma 2 years ago
↳ replying to Skye
C) Type: application/json' Use the admin token as Bearer curl -X GET https://magentourl/rest/Vl/customers/search?searchCriteria... -H 'Authorization: Bearer YYYYYY'
VI
Vivienne 2 years ago
↳ replying to Skye
A) Using the integration access token as Bearer: curl -X GET https://magentourl/rest/Vl/customers/search?searchCriteria... -H 'Authorization: Bearer XXXXXX'
PH
Phung 2 years ago
I disagree, I believe option B is the right approach because it involves passing integration name and access token as http auth credentials.
NY
Nydia 2 years ago
Option A looks good to me. Using the integration access token as the Bearer token is the simplest and most straightforward approach.
JE
Jean 2 years ago
↳ replying to Nydia
I prefer the simplicity of Option A as well.
LE
Lenna 2 years ago
↳ replying to Nydia
Option B seems a bit more complicated with passing integration name and access token as http auth credentials.
DO
Donette 2 years ago
↳ replying to Nydia
I agree, it's clear and easy to implement.
AR
Arminda 2 years ago
↳ replying to Nydia
Option A looks good to me. Using the integration access token as the Bearer token is the simplest and most straightforward approach.
CH
Chan 2 years ago
I think option A is the correct way to call the REST API.
0/2000 characters

Save Cancel