Account Management
Account Management

Account Creation (Multiple)

Create multiple accounts with POST https://app.ship.com/public/accounts. The request body is a JSON array of account objects using the same fields as single account creation. Each entry succeeds or fails independently; the response is an array with one result per submitted account, each carrying an email field so you can correlate results.

Request Parameters

Array of account creation objects. (Same as Account Creation)

Field Type Max Length Required Description
email string 100 Yes User's email address
password string - Yes User's password
firstName string 50 Yes User's first name
lastName string 50 Yes User's last name
phoneNumber string 10 Yes User's phone number
address1 string 50 Yes Primary address line
address2 string 50 Yes Secondary address line
city string 50 Yes City name
state string 2 Yes Two-letter state code
zip string 5 Yes Five-digit zip code

Request Example

1[
2  {
3      "email": "string",
4      "password": "string",
5      "firstName": "string",
6      "lastName": "string",
7      "phoneNumber": "string",
8      "address1": "string",
9      "city": "string",
10      "state": "string",
11      "zip": "string"
12  }
13]

Request Parameters

Array of account creation objects.

Field Type Description
success boolean Indicates if the request was successful
error object Contains error details if request failed
oauth object Contains OAuth error details if authentication failed

Successful Response Example

1[
2  {
3    "success": true,
4    "error": null,
5    "email": "string",
6    "oauth": {
7      "token": "string",
8      "refreshToken": "string",
9      "expires": "date"
10    }
11  }
12]