Generate BigCommerce Login URL (POST)

Generates a BigCommerce customer login URL using the provided LoginRadius access token sent in the request body. If the customer does not exist in BigCommerce, it creates one. Returns a login URL that can be used to authenticate the user into BigCommerce.

POST
/sso/bigcommerce/api/token

Generates a BigCommerce customer login URL using the provided LoginRadius access token sent in the request body. If the customer does not exist in BigCommerce, it creates one. Returns a login URL that can be used to authenticate the user into BigCommerce.

apikey<token>

Tenant API Key for authentication

In: query

Query Parameters

store*string

BigCommerce store hash identifier

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.hub.loginradius.com/sso/bigcommerce/api/token?store=abc123" \  -H "Content-Type: application/json" \  -d '{    "access_token": "1234567890abcdef1234567890abcdef"  }'
{
  "loginUrl": "https://store-abc123.mybigcommerce.com/login/token/eyJhbGciOiJIUzI1NiJ9"
}
{
  "Message": "string",
  "Description": "string",
  "ErrorCode": 0,
  "Code": 0
}
{
  "Message": "string",
  "Description": "string",
  "ErrorCode": 0,
  "Code": 0
}
{
  "Message": "string",
  "Description": "string",
  "ErrorCode": 0,
  "Code": 0
}