List Service Levels
Beta/v1/operations/carriers/{carrier_id}/service-levelsThis endpoint is idempotent. Learn more
Returns a paginated list of service levels for a carrier.
carrier_idstringCarrier ID.
cursoroptional stringOpaque cursor token identifying where the page of results starts.
Use the cursor value embedded in a previous response's next_page_url or previous_page_url to fetch the adjacent page. Omit to start from the first page.
limitoptional integerMaximum number of results to return in a single page.
qoptional stringFree-text search term used to filter results.
Which fields are matched against the term varies by endpoint.
include[]optional arrayenumValues:ownerowner.accountSub-objects to expand in the response. When omitted, sub-objects are returned as null.
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 objectResources 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.
ownerobjectExpandablenullableProvenance 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.
objectstringenumValues:ownerResource type identifier.
typestringenumValues:systemaccountOwner type, identifying where the 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.
accountobjectExpandablenullableThe account that owns this resource.
Present only when type is account; system-owned resources have no owning account.
idstringAccount ID.
objectstringenumValues:accountResource type identifier.
namestringDisplay name.
default_billing_addressobjectnullableDefault billing address.
null in this endpoint.default_shipping_addressobjectnullableDefault shipping address.
null in this endpoint.brandingobjectnullableCustomer-facing branding for the account, such as the logo, support contacts, and social links.
null in this endpoint.portalobjectnullableThe 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.
created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
Responses
Successful response for List Service Levels