Create a new carrier account

Creates a new carrier account or connects an existing carrier account to the Shippo account.

SecurityAPIKeyHeader
Request
header Parameters
SHIPPO-API-VERSION
string

String used to pick a non-default API version to use

Example: 2018-02-08
Request Body schema: application/json

Examples.

account_id
required
string
active
boolean
carrier
required
string
metadata
string
required
Account parameters (any) or UPS account parameters (object) or FedEx account parameters (object)
test
boolean
Responses
201
400
post/carrier_accounts
Request samples
application/json
{
  • "account_id": 321123,
  • "carrier": "fedex",
  • "metadata": "FedEx Account",
  • "parameters": {
    },
  • "test": false
}
Response samples
application/json
{
  • "account_id": "****",
  • "active": true,
  • "carrier": "usps",
  • "parameters": { },
  • "carrier_name": "USPS",
  • "is_shippo_account": false,
  • "metadata": "string",
  • "object_id": "6aa34d5f6865448fbb1ee93636e98999",
  • "object_owner": "bob+22@gmail.com",
  • "service_levels": [
    ],
  • "test": false
}