Connect a freight provider account
Changed onConnect a freight account the seller already holds with the provider. Both connectable providers — speedship (WWEX) and unishippers — authenticate with an OAuth client ID / secret pair issued by the provider.
The credentials are verified against the provider before they are stored, so a 201 means the connection can be quoted against immediately.
A seller may hold one connection per provider. Connecting a provider that is already connected returns 409 with error code freight_provider_already_connected and the existing freight_provider_account_id. Use PUT /v2/freight/provider_accounts/{freight_provider_account_id}/credentials to rotate credentials on the existing connection. Use DELETE /v2/freight/provider_accounts/{freight_provider_account_id} to disconnect it.
Request
- Base URLhttps://api.shipstation.com
- AuthAPI key in header api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"freight_provider_code": "speedship",
"client_id": "my-client-id",
"client_secret": "my-client-secret",
"nickname": "My WWEX account"
}Response
The freight provider account was connected successfully.
Example response
{
"freight_provider_account_id": "se-28529731",
"freight_provider_code": "UNISHIPPERS",
"nickname": "Unishippers - Midwest"
}Changes
- warning
added the new
funding_source_missing_configurationenum value to the//response property for the response status - warning
added the new
funding_source_missing_configurationenum value to the//response property for the response status - warning
added the new
funding_sourcesenum value to the//response property for the response status - warning
added the new
funding_sourcesenum value to the//response property for the response status
- warning
- warning
added the new
bring_your_own_label_not_supportedenum value to the//response property for the response status - warning
added the new
bring_your_own_label_not_supportedenum value to the//response property for the response status - warning
added the new
multiple_sales_ordersenum value to the//response property for the response status - warning
added the new
multiple_sales_ordersenum value to the//response property for the response status - warning
added the new
sales_order_link_requiredenum value to the//response property for the response status - warning
added the new
sales_order_link_requiredenum value to the//response property for the response status
- warning