Integrate and interact with Unbxd PIM

Login API

The Login API lets you retrieve the following:

  • org_key
  • auth_token
  • name
  • active_account

Endpoint:

POST /v1/login

Request Parameters:

Header

Name: Value Required Data type
content-type: application/json Yes String

 

Request Body:

{
  "email": "brand@abcd.com",
  "password": "password"
}

Response:

{
	"errors": [],
	"data": {
		"org_list": [{
				"name": "BigCommerce App Store - Unbxd PIM",
				"active_account": true,
				"org_key": "ce97f30c78949790ee59054d08538414"
			},
			{
				"name": "as",
				"active_account": true,
				"org_key": "4beb8a7e264af4eb4bcbf915f870b163"
			}
		],
		"auth_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjo1LCJleHAiOjE1NTk4MTM0NzR9.QHbShR6c17MvkevlC_wWvdR5_b5u1-vpH8NS0yq5RBU"
	}
}

Schema

Name Data Type Description
name String Name of the organization
active_account Boolean The organization is active or inactive
org_key String Integration key to integrate with Unbxd PIM
auth_token String One-time token id for integration
Yes No
1 of 1 users found this section helpful
Suggest Edit