post

/login

Makes an attempt to log in the user. The user can choose between multiple login strategies. A stretegy can be ‘basic’ or ‘facebook’ login. After login, the user storage becomes available to store data in a shop-global scope, so it 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.

Authorization

oauth2 - password

Request Body

The response contains the shopping carts system’s user ID for authentication on the Shopgate Connect side.

Schema
object
login
string
required
password
string
required

Responses

1 Example
Schema
object
userId
string
required

Send a Test Request

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