---
title: "Carriers and services"
description: "Read the service catalog and use exact codes when selecting a rate."
sidebar:
  badge: Beta
---

The catalog contains the services that SendIt can show in rate results. It is read-only: use it to populate selectors and validate a carrier and service combination.

:::note
**Beta.** Every carrier in the catalog is in beta. Coverage, codes, and transit times can change. Query the catalog instead of hard-coding its values.
:::

## Carriers Beta

| Carrier | `carrierCode` | Status |
| --- | --- | --- |
| DHL Express | `DHL` | Beta |
| FedEx | `FEDEX` | Beta |
| Estafeta | `ESTAFETA` | Beta |
| Sendex | `SENDEX` | Beta |
| AM PM | `AMPM` | Beta |
| Other | `OTHER` | Beta |

The effective list for a route is the `rates[]` array returned when you [rate a shipment](/en/shipping/rates).

## Endpoints

| Method | Path | Scope | Description |
| --- | --- | --- | --- |
| `GET` | `/v1/carrier-services` | `carrier_services:read` | List enabled services; accepts `carrierCode` |
| `GET` | `/v1/carrier-services/:carrierCode/:serviceCode` | `carrier_services:read` | Get one exact service |

## List services

```bash
curl "https://api.sendit.mx/v1/carrier-services?carrierCode=FEDEX" \
  -H "X-API-Key: sk_test_..."
```

```json
{
  "success": true,
  "data": [
    {
      "carrierCode": "FEDEX",
      "serviceCode": "PRIORITY_OVERNIGHT",
      "name": "FedEx Priority Overnight",
      "serviceLevel": "overnight",
      "isInternational": false,
      "constraints": {
        "maxWeightKg": "68.000",
        "maxDimensionCm": "274.00",
        "countries": ["MX"]
      },
      "transit": { "minDays": 1, "maxDays": 1 },
      "enabled": true
    }
  ]
}
```

`carrierCode` and `serviceCode` identify a service: it has no separate `id`. A limit that does not apply is `null`, and measures are decimal strings.

## Get one exact service

```bash
curl https://api.sendit.mx/v1/carrier-services/FEDEX/PRIORITY_OVERNIGHT \
  -H "X-API-Key: sk_test_..."
```

The response contains the same service object as the list response.

## Select by exact code

Each rate carries two different fields:

| Field | Use |
| --- | --- |
| `serviceCode` | The carrier-native exact product identifier. Use it to select the service for a one-call purchase. |
| `serviceLevel` | A broad normalized category for filtering or display. It does not identify one exact product. |

Send `carrierCode + serviceCode` to select an exact service when creating and purchasing a shipment. When buying an existing rate through the labels endpoint, send its `rateId`. Codes that are not yet in the catalog do not appear in customer rates.

## Handle errors

| Code | When it happens | How to resolve it |
| --- | --- | --- |
| `403 INSUFFICIENT_SCOPE` | The key lacks `carrier_services:read` | Issue a key with that [scope](/en/api-conventions/scopes) |
| `404 RESOURCE_NOT_FOUND` | The carrier and code combination does not exist | Query the list and use a current `serviceCode` |

