Update Carrier
Beta/v1/operations/carriers/{id}Idempotent with Idempotency-Key header. Learn more
Partially updates a carrier's name and portal visibility.
idstringCarrier ID.
include[]optional arrayenumValues:ownerowner.accountservice_levelsSub-objects to expand in the response. When omitted, sub-objects are returned as null.
nameoptional stringHuman-readable name for the carrier, unique among your account's carriers.
customer_portal_visibilityoptional stringenumValues:visiblehiddenCarrier visibility in the customer portal.
A visible carrier can be selected by your customers at checkout; a hidden carrier is not offered there.
idstringCarrier ID.
objectstringenumValues:carrierResource type identifier.
namestringHuman-readable name for the carrier, unique among your account's carriers.
codestringnullableenumValues:fedexupsuspsWell-known carrier identifier, set only for recognized carriers and absent for custom ones.
fedex,ups,usps: integrated carriers managed through Shippo (live rating and labels).will_call: customer picks the order up; no carrier shipment.delivery: delivered by your own vehicles/drivers.ltl,ltl1: less-than-truckload freight carriers.freight_collect: freight billed to and arranged by the receiver.
account_numberstringnullableYour account number with this carrier, used to connect UPS and USPS accounts.
customer_portal_visibilitystringenumValues:visiblehiddenWhether customers can see and select this carrier at checkout in the customer portal.
ownerownerExpandablenullableProvenance of this carrier.
System-owned carriers are platform-provided defaults shared across all accounts and cannot be deleted; account-owned carriers are custom to your account.
objectstringenumValues:ownerResource type identifier.
typestringenumValues:systemaccountWhere this resource came from.
system: a platform-provided default shared across all accounts; not editable.account: created and owned by a specific account; theaccountfield identifies which.
accountaccountExpandablenullableThe account that owns this resource.
Present only when type is account; system-owned resources have no owning account.
idstringAccount ID.
objectstringenumValues:accountResource type identifier.
namestringThe account's display name.
Default billing address.
null in this endpoint.Default shipping address.
null in this endpoint.brandingaccount_brandingnullableCustomer-facing branding for the account, such as the logo, support contacts, and social links.
null in this endpoint.portalaccount_portalnullableThe account's customer portal settings, including the portal URL slug.
null in this endpoint.created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
Shipping service levels offered by this carrier (e.g. ground, overnight).
objectstringenumValues:listResource type identifier.
page_infoobjectPagination metadata.
next_page_urlstringnullableRelative URL that fetches the next page of results.
null when the last page has been reached.
previous_page_urlstringnullableRelative URL that fetches the previous page of results.
null while on the first page.
has_next_pagebooleanWhether more results exist after this page.
has_prev_pagebooleanWhether results exist before this page.
dataarray of service_levelResources in this page.
idstringService level ID.
objectstringenumValues:service_levelResource type identifier.
namestringHuman-readable name for the service level, shown to customers at checkout when the service level is visible.
service_level_tokenstringCarrier-specific code identifying this service level (e.g. fedex_ground, ups_next_day_air).
Values are carrier-defined, so any non-empty string is accepted.
customer_portal_visibilitystringenumValues:visiblehiddenWhether customers can see and select this service level at checkout in the customer portal.
is_defaultbooleanWhether this is the carrier's default service level, pre-selected when the carrier is chosen.
Each carrier has at most one default; setting a new default clears the previous one.
ownerownernullableProvenance of this service level.
System-owned service levels are platform-provided defaults that cannot be updated or deleted; account-owned service levels are custom to your account.
null in this endpoint.created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
deleted_atstring (date-time)nullableSoft-delete timestamp.
created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
Responses
Successful response for Update Carrier