Create User

Creates a new user

Create User

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

This endpoint allows you to create a new user

Headers

NameTypeDescription

Authorization

string

Authorization token

Request Body

NameTypeDescription

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.

{
    "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