Create an Account
ShipStation's Partner API allows you to programmatically create ShipStation API accounts for your customers. You can then make ShipStation API calls on behalf of your customers.
When creating a ShipStation API account, you can optionally include a unique external_account_id
, which can be your own ID for that customer. This will allow you to retrieve the account using the external ID later.
ShipStation API Login
ShipStation API accounts that are created via the Partner API cannot log into the ShipStation API dashboard by default. Instead, everything that a user might normally do in the dashboard is instead done via the API. The most obvious example of this is connecting a carrier account.
Email and Password
You can specify an email and password that will allow direct login access to this account. The password must be at least 7 characters long. The email must be unique and not in use by any other accounts associated with ShipStation API - if the email is already in use by another account, you will receive an error.
Request Body Properties
The following table lists the properties required for this endpoint. To see a sample of a full request, see the Example Request section below.
Name | Type | Max Length | Description |
---|---|---|---|
first_name | string | 24 | First name of account owner. This will always be null in the response. (Optional) |
last_name | string | 24 | Last name of account owner. This will always be null in the response. (Optional) |
company_name | string | 50 | Company name of account owner. This will always be null in the response. (Optional) |
external_account_id | string | 128 | A unique ID that can be used to list the account. (Optional) |
origin_country_code | string | 2 | Must be capitalized. Valid values for this field can be found on our supported countries page. |
email | string | 50 | A unique email that can be used to log into the ShipStation API dashboard. This will always be null in the response. (Optional) |
password | string | 128 | Minimum 7 characters. A password that can be used to log into the ShipStation API dashboard. This is not in the response. (Optional) |
Example Request & Response
To create a ShipStation API account, you'll send a POST request to the /v1/partners/accounts
endpoint containing information about your customer's account.
Example response:
Each account is created with an API key you can begin using immediately. If this key is ever compromised you can always delete it and then create a new one.