Partner

Create account

It creates a new account based on the provided data. Also, create a user and sends the default email.

post/partner/accounts/register

Request

Headers

X-Partner-Keystring

Request body

namestring required

The name of the account to create.

countrystring required

The country in ISO-2 format.

business_category_idinteger

The business category id of the account.

emailstring required

The email of the account owner.

firstnamestring nullable

The firstname of the account owner.

lastnamestring nullable

The lastname of the account owner.

phone_numberstring

The phone number of the account owner.

Example request

{
  "name": "VetShop",
  "country": "US",
  "business_category_id": 1,
  "email": "john.doe@example.com",
  "firstname": "John",
  "lastname": "Doe",
  "phone_number": "1234567890"
}

Response

success

account_idinteger
account_namestring
user_idinteger
urlstring

Example response

{
  "account_id": 1,
  "account_name": "test account name",
  "user_id": 1,
  "url": "https://my.brandtrack.fm/login/token/jnli2jphNEn2G8wvAlPBkXdaULoHzgyh"
}

Changes

No recorded changes to this operation across all 1 revision of this API.