List of questions
Related questions
Question 34 - AD0-E716 discussion
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?
A.
Using the integration access token as Bearer: curl -X GET https://magentourl/rest/Vl/customers/search?searchCriteria... -H 'Authorization: Bearer XXXXXX'
B.
Passing integration name and access token as http auth credentials: curl -X GET https ://Marketing:XXXXXX(Slmagentourl/rest/Vl/customers/search?5earchCriteria . . . Using integration name as username and access token as password, get the admin token (yyyyyy) via: curl -X POST https://magentourl/rest/Vl/integration/admin/token -d '{'username':'Marketing', 'password':'XXXXXX'}' -H 'Content-
C.
Type: application/json' Use the admin token as Bearer curl -X GET https://magentourl/rest/Vl/customers/search?searchCriteria... -H 'Authorization: Bearer YYYYYY'
Your answer:
0 comments
Sorted by
Leave a comment first