Login As Customer API

Login As Customer API

1. Amasty\CustomerLogin\Api\CustomerTokenInterface - class for customer token:
  1. POST /V1/amasty_customer_login/token, method="createCustomerToken" - create customer token.

2. Amasty\CustomerLogin\Api\LoggedInRepositoryInterface - class for logs:
  1. PUT /V1/amasty_customer_login/loggedin/:loggedInId, method="save" - edit and save a log;
  2. GET /V1/amasty_customer_login/loggedin, method="getById" - get a log by ID;
  3. GET /V1/amasty_customer_login/loggedin/all, method="getList" - get a list of all logs.
      • Related Articles

      • Login as Customer API

        1. Amasty\CustomerLogin\Api\CustomerTokenInterface POST /V1/amasty_customer_login/token, method="createCustomerToken" 2. Amasty\CustomerLogin\Api\LoggedInRepositoryInterface - class for managing login as customer entries. PUT ...
      • Customer Attributes/Login by Attributes API

        API functionality for Customer Attributes is added by its submodule Login by Attributes. 1. Amasty\CustomerLoginAttributes\Api\ValidateValueInterface POST /V1/amasty-customer-login-attributes/validate-value, method="validate" POST ...
      • 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 - ...
      • Reward Points API

        1. Amasty\Rewards\Api\CheckoutRewardsManagementInterface - class responsible for applying reward points on checkout: PUT /V1/carts/mine/points/:points, method="set" - apply points; DELETE /V1/carts/mine/points/delete, method="remove" - remove applied ...
      • Social Login | GraphQL methods

        Queries amSocialLoginAccountData description: get a list of linked accounts amSocialLoginButtonConfig description: get information about Social Login button configurations Mutations amSocialLoginLinkAccount (type: String!) description: link account ...