Updates an existing carrier account object. The account_id and carrier can't be updated. This is because they form the unique identifier together.
Examples.
| account_id required | string Unique identifier of the account. Please check the carrier accounts tutorial
page for the |
| active | boolean Determines whether the account is active. When creating a shipment, if no |
| carrier required | string Carrier token, see Carriers |
Account parameters (any) or FedEx account parameters (object) or UPS account parameters (object) |
{- "account_id": 123356,
- "active": true,
- "carrier": "ups",
- "parameters": { }
}{- "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": [
- {
- "name": "Priority Mail Express",
- "token": "usps_priority_express",
- "supports_return_labels": true
}
], - "test": false
}