EasyPost
Get Current EasyPost Connection
Returns the account's EasyPost connection, or `data: null` when EasyPost is not connected. `error` holds the last authentication failure, if any.
Test EasyPost API Key
Checks an unsaved EasyPost API key live against EasyPost. Nothing is persisted. `mode` is derived from the key prefix.
Create EasyPost Connection
Connects EasyPost. The key is verified live first — an invalid key creates nothing. Returns 422 with `code: already_connected` when the account already has an EasyPost connection.
Get EasyPost Connection
Returns an EasyPost connection by integration instance id. Returns 404 when the instance is not an EasyPost connection.
Update EasyPost Connection
Renames the connection and/or replaces its API key. A new key is verified live before it is saved.
Delete EasyPost Connection
Disconnects EasyPost and deletes the stored API key.
Test EasyPost Connection
Checks the saved API key live against EasyPost. A successful check clears any stored authentication error; an authentication failure is recorded on the connection's `error`.
Get Shipping Estimate Status
Whether shipping cost estimates are available on this account. Shipping estimates on sales orders, quotes and the B2B portal are rated with the account's own EasyPost connection; Amazon FBA inbound transport estimates use it when present.
List EasyPost Carrier Accounts
Lists the carrier accounts on the connected EasyPost account — the carriers whose services can be offered as live-rate portal shipping methods.