QuestionQ34

VerifiedAPIs and Services

An integration named Marketing is created on the Adobe Commerce instance. The integration has access to Magento_Customer::сustomer resources, and its access token is XXXXXX.

How should the REST API be called to search for customers?

Explanation

An authorized integration’s access token is used to authenticate the REST request through the Authorization: Bearer <access-token> header, and the integration’s assigned API resource permissions determine whether the customer search operation is allowed. An integration name is not an HTTP Basic-auth credential or an administrator username. In current Adobe Commerce releases, direct Bearer use of integration tokens is disabled by default as a security change; this reflects the legacy integration-token flow represented here.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!