---
title: "Update Carrier"
method: PUT
path: "/api/v1/carrierAccounts/{carrierAccountID}"
tags: ["Carrier Accounts"]
---

# Update Carrier

`PUT /api/v1/carrierAccounts/{carrierAccountID}`

## Request

- Base URL: `https://api-sandbox.sendpro360.pitneybowes.com/carrieraccountmgmt`
- URL: `https://api-sandbox.sendpro360.pitneybowes.com/carrieraccountmgmt/api/v1/carrierAccounts/{carrierAccountID}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/pitneybowes/apis/carrier-onbording-apis/docs/api/v1/carrierAccounts/:carrierAccountID/put.ts> (a function with typed inputs; its response is checked against the schema)

The Update Carrier operation enables you to update a carrier account and specifies its usable capabilities. By default, all available services, parcel types, and special services provided by the carrier are accessible. With this API, you can specify only the capabilities (services, parcel types, special services) that should be available for Rate Shop and Create Shipment operations. If a shipment request attempts to use a capability not enabled through this API, an error will be returned.

## Path parameters

- `carrierAccountID` string, required

## Headers

- `X-PB-Developer-Partner-ID` string

## Request body

- UpdateCarrierAccountRequest
  - `accountNumber` string: Unique identifier of the account
  - `carrierID` 'FEDEX' | 'UPS' | 'DHLEXP' | 'SPEEDEE' | 'NORATE': It defines the carrier ID, can be get from `Get Carriers API`
  - `description` string: It defines the carrier account name
  - `parameters` object: It lists the additional details required adding carrier account
    - `username` string: Username for the account, required for DHL Express
    - `password` string: Password for the account, required for DHL Express
    - `accountAddress` object: It includes the account address details
      - `addressLine1` string: The addressLine1 can contain the Flat number, Building or Apartment Name/number (if any) or company name (if not residential).
      - `city` string: The name of the city or town to where the address belongs.
      - `state` string: The State or Province of the address. For a US or Canadian address, it is the 2-letter state or province code.
      - `postalCode` string: The postal code or ZIP code of the address. For US addresses, use either the 5-digit or 9-digit ZIP code in one of the following formats: '12345' or '12345-6789'. If you use a different format, such as 12345- or 123451234, will receive an error.
      - `countryCode` string: This indicates the two-character ISO code of the source country from the ISO country list.
      - `email` string: The email address of the sender. It can be person's email address or company email address (for non-residential).
      - `company` string: This indicates the name of the company, in case if address is not residential.
      - `name` string: Name of the sender to which this address points.
      - `phone` string: This is sender's phone number. Enter the digits with or without spaces or hyphens. The maximum characters for Phone number is 10 digits.
    - `contactAddress` object: It includes the contact address details
      - `addressLine1` string: The addressLine1 can contain the Flat number, Building or Apartment Name/number (if any) or company name (if not residential).
      - `city` string: The name of the city or town to where the address belongs.
      - `state` string: The State or Province of the address. For a US or Canadian address, it is the 2-letter state or province code.
      - `postalCode` string: The postal code or ZIP code of the address. For US addresses, use either the 5-digit or 9-digit ZIP code in one of the following formats: '12345' or '12345-6789'. If you use a different format, such as 12345- or 123451234, will receive an error.
      - `countryCode` string: This indicates the two-character ISO code of the source country from the ISO country list.
      - `email` string: The email address of the sender. It can be person's email address or company email address (for non-residential).
      - `company` string: This indicates the name of the company, in case if address is not residential.
      - `name` string: Name of the sender to which this address points.
      - `phone` string: This is sender's phone number. Enter the digits with or without spaces or hyphens. The maximum characters for Phone number is 10 digits.
    - `hubID` string: It defines FedEx Smartpost hub ID, required only for FedEx Smartpost account, it can be referred from response of `Get FedEx Smartpost hub details`
    - `invoiceAmount` string: It defines the invoice amount ,Only for UPS acccount
    - `invoiceControlID` string: It defines the invoice controlID ,Only for UPS acccount
    - `invoiceDate` string: It defines the date of the invoice in the format YYYYMMDD., Only for UPS account
    - `invoiceNumber` string: It defines the invoice number ,Only for UPS acccount
    - `hostName` string: It is required for SpeeDee. Manifest Details are provided by the carrier and these are required for end-of-day manifesting. Please contact your carrier relationship person for more details
    - `manifestUserId` string: It is required for SpeeDee. Manifest Details are provided by the carrier and these are required for end-of-day manifesting. Please contact your carrier relationship person for more details
    - `manifestPassword` string: It is required for SpeeDee. Manifest Details are provided by the carrier and these are required for end-of-day manifesting. Please contact your carrier relationship person for more details
    - `manifestPath` string: It is required for SpeeDee. Manifest Details are provided by the carrier and these are required for end-of-day manifesting. Please contact your carrier relationship person for more details
    - `capabilities` object: Defines the allowed capabilities for this carrier account. By default, all available services, parcel types, and special services of the carrier are accessible. If you specify capabilities here, only the selected ones can be used in Rate Shop and Create Shipment APIs. Any attempt to use capabilities not listed will result in an error. > Note: Support for this capability in the Create Shipment API is under active development. It is targeted for this release, but availability and behavior may change before general availability.
      - `services` string[]: List of enabled services for this carrier account.
      - `parcelTypes` string[]: List of enabled parcel types for this carrier account.
      - `specialServices` string[]: List of enabled special services for this carrier account.

## Response `200`

Carrier Added Successfully

- UpdateCarrierAccountResponse
  - `carrierAccountID` string: Unique identifier of carrier account created
  - `accountNumber` string: Unique identifier of the account
  - `carrierID` 'FEDEX' | 'UPS' | 'DHLEXP': It defines the carrier ID, can be get from `Get Carriers API`
  - `description` string: It defines the carrier account name
  - `carrierAccountType` string: This defines carrier account type
  - `provisioningType` string: It defines the provisioning method
  - `parameters` object: It lists the additional details required adding carrier account
    - `username` string: Username for the account, required for DHL Express
    - `accountAddress` object: It includes the account address details
      - `addressLine1` string: The addressLine1 can contain the Flat number, Building or Apartment Name/number (if any) or company name (if not residential).
      - `city` string: The name of the city or town to where the address belongs.
      - `state` string: The State or Province of the address. For a US or Canadian address, it is the 2-letter state or province code.
      - `postalCode` string: The postal code or ZIP code of the address. For US addresses, use either the 5-digit or 9-digit ZIP code in one of the following formats: '12345' or '12345-6789'. If you use a different format, such as 12345- or 123451234, will receive an error.
      - `countryCode` string: This indicates the two-character ISO code of the source country from the ISO country list.
      - `email` string: The email address of the sender. It can be person's email address or company email address (for non-residential).
      - `company` string: This indicates the name of the company, in case if address is not residential.
      - `name` string: Name of the sender to which this address points.
      - `phone` string: This is sender's phone number. Enter the digits with or without spaces or hyphens. The maximum characters for Phone number is 10 digits.
    - `contactAddress` object: It includes the contact address details
      - `addressLine1` string: The addressLine1 can contain the Flat number, Building or Apartment Name/number (if any) or company name (if not residential).
      - `city` string: The name of the city or town to where the address belongs.
      - `state` string: The State or Province of the address. For a US or Canadian address, it is the 2-letter state or province code.
      - `postalCode` string: The postal code or ZIP code of the address. For US addresses, use either the 5-digit or 9-digit ZIP code in one of the following formats: '12345' or '12345-6789'. If you use a different format, such as 12345- or 123451234, will receive an error.
      - `countryCode` string: This indicates the two-character ISO code of the source country from the ISO country list.
      - `email` string: The email address of the sender. It can be person's email address or company email address (for non-residential).
      - `company` string: This indicates the name of the company, in case if address is not residential.
      - `name` string: Name of the sender to which this address points.
      - `phone` string: This is sender's phone number. Enter the digits with or without spaces or hyphens. The maximum characters for Phone number is 10 digits.
    - `hubID` string: It defines FedEx Smartpost hub ID, required only for FedEx Smartpost account
    - `invoiceAmount` string: It defines the invoice amount ,Only for UPS acccount
    - `invoiceControlID` string: It defines the invoice controlID ,Only for UPS acccount
    - `invoiceDate` string: It defines the date of the invoice in the format YYYYMMDD., Only for UPS account
    - `invoiceNumber` string: It defines the invoice number ,Only for UPS acccount
    - `capabilities` object: The allowed capabilities added for this carrier account.
      - `services` string[]: List of enabled services added to this carrier account.
      - `parcelTypes` string[]: List of enabled parcel types added to this carrier account.
      - `specialServices` string[]: List of enabled special services added to this carrier account.
  - `permission` object: Permission details that define access control for this carrier account.
    - `permissionByEntity` string, nullable: Entity or scope for which the permission applies.
    - `permissionByValue` string, nullable: Specific value tied to the entity that determines permission. Can be null if not applicable.

## Other responses

- `400`: Invalid request.
- `401`: The request could not be authorized.

---

[API](https://skmtc.dev/pitneybowes/apis/carrier-onbording-apis.md) - [All operations](https://skmtc.dev/pitneybowes/apis/carrier-onbording-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/pitneybowes/apis/carrier-onbording-apis/revisions/7176b074cba2?raw)
