Login as Customer API Overview

Login as Customer API

Info
We have created a public API collection for Login as Customer module with all available queries and sample data that you can both test via our demo endpoints and copy to run local tests in your Magento environment. More details about using public collections can be found in the following FAQ post.

1. Amasty\CustomerLogin\Api\CustomerTokenInterface
  1. POST /V1/amasty_customer_login/token, method="createCustomerToken"

2. Amasty\CustomerLogin\Api\LoggedInRepositoryInterface - class for managing login as customer entries.
  1. PUT /V1/amasty_customer_login/loggedin/:loggedInId, method="save" - edit a login by customer entry;
  2. GET /V1/amasty_customer_login/loggedin, method="getById" - get information about a login as customer entry by ID;
  3. GET /V1/amasty_customer_login/loggedin/all, method="getList" - get the list of all login as customer entries. 

      • Related Articles

      • Customer Attributes/Login by Attributes API

        We have created public API collections for Customer Attributes and Login by Attributes modules with all available queries and sample data that you can both test via our demo endpoints and copy to run local tests in your Magento environment. More ...
      • What Amasty extensions support API?

        Each Amasty extension that has API support, includes the etc/webapi.xml file. The webapi.xml file contains API configurations with the list of available API requests. For example, a request from the Custom Form module interface: 1 - endpoint URL; 2 - ...
      • Can I test how your modules work with API?

        Our team have created a public Postman workspace where we provide access to API collections from our modules. You can copy these API collections to test them in your own Magento installation together with our modules, and some collections can be ...
      • Customer Group Catalog API

        We have created a public API collection for Customer Group Catalog module with all available queries and sample data that you can both test via our demo endpoints and copy to run local tests in your Magento environment. More details about using ...
      • RMA API

        We have created a public API collection for RMA module with all available queries and sample data that you can both test via our demo endpoints and copy to run local tests in your Magento environment. More details about using public collections can ...