Site Logo

🎉 ShipEngine is becoming ShipStation API 🎉

Over the next few months you'll notice the ShipEngine website, documentation portal, and dashboard being rebranded as ShipStation API. For our ShipEngine customers, you don't need to take any action or change any of your integrations in any way. All endpoints will remain the same and continue to function as they always have.

To learn more about what's coming, review our New ShipStation API page.

Get Account by ID

This endpoint allows you to retrieve a specific ShipStation API account using its ShipStation API account ID. Note that this is not the same as the external_account_id, which is your own unique ID for the account. There is a separate endpoint that allows you to get an account using its external ID.

Example Request & Response

GET /v1/partners/accounts/:account_id

1
2
3
GET /v1/partners/accounts/123456 HTTP/1.1
Host: api.shipengine.com
API-Key: __YOUR_API_KEY_HERE__

Example response:

1
2
3
4
5
6
7
8
9
10
11
12
{
"account_id": 123456,
"external_account_id": "819748723192",
"created_at": "2022-12-04T23:06:39.197Z",
"modified_at": "2022-12-04T23:06:39.197Z",
"active": true,
"email": "[email protected]",
"company_name": "Acme Corp.",
"first_name": "John",
"last_name": "Doe",
"origin_country_code": "US"
}