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?
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.
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.
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.
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.
C) Type: application/json' Use the admin token as Bearer curl -X GET https://magentourl/rest/Vl/customers/search?searchCriteria... -H 'Authorization: Bearer YYYYYY'
A) Using the integration access token as Bearer: curl -X GET https://magentourl/rest/Vl/customers/search?searchCriteria... -H 'Authorization: Bearer XXXXXX'
Romana
3 months agoShenika
3 months agoCarmelina
3 months agoMaryln
4 months agoTamra
4 months agoFidelia
4 months agoDierdre
4 months agoFrancis
4 months agoHobert
5 months agoGeorgiana
5 months agoCecil
5 months agoShawnda
5 months agoGlory
5 months agoJin
1 year agoAndra
1 year agoArmando
1 year agoMyra
1 year agoNieves
1 year agoTheola
1 year agoAntione
1 year agoNgoc
1 year agoAlease
1 year agoChan
1 year agoSkye
1 year agoDeane
1 year agoGilma
1 year agoVivienne
1 year agoPhung
1 year agoNydia
1 year agoJean
1 year agoLenna
1 year agoDonette
1 year agoArminda
1 year agoChan
1 year ago