Create User

Creates a new user

POST https://apis.sandbox.flexshopper.com/v3/users

This endpoint allows you to create a new user

Headers

Name
Type
Description

Authorization

string

Authorization token

Request Body

Name
Type
Description

firstName

string

The customer's first name.

lastName

string

The customer's last name.

email

string

The customer's e-mail address.

password

string

The customer's password, as entered by the customer.

locale

string

The customer's locale, for rendering in preferred language. Valid values are: "en", "es".

{
    "data":{
        "userId": "5a319511a86980001d602095",
        "token": "c6681de3-45ab-41a4-9315-0b5ef6481136"
    }
}

If no password is provided, a temporary password is created and an email to reset a password is sent to the customer.

Response Parameters

A successful request returns the HTTP 200 OK status code and a JSON response body that shows new user basic info.

Key

Type

Description

token

String

The temporary token used to access a user's resources; to be used in the Customer-Token header.

userId

String

User's Id

Last updated