Use a JWT token to send authenticated requests. Authentication state is managed by the client, which is ideal for web applications and mobile applications.
JWT tokens are obtained by sending a request to the Customer Login (JWT) endpoint passing it the customer's email and password in the request body. For example:
If authenticated successfully, an object is returned in the response with the property access_token being the JWT token.