post

/shopgate.user.loginUser.v1

Attempts to log in the user. The user can choose between multiple login strategies. A strategy can be ‘basic’ or ‘facebook’ login. After login, the user storage becomes available to store data in a shop-global scope and can be shared across devices. Based on the shop, custom errors can be returned to react to in the theme. Calling this pipeline when a user is logged in results in an error because that usually means there some kind of issue in the theme.

Request Body

Login parameter.

Schema
object
strategy
string
required
Allowed Values: basic, facebook
example: basic
parameters
object

Parameters for Login. They differ depending on the strategy.

required

Responses

Returns an empty object.

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
$$.env
1 variable not set
host